On 4/6/07, trilok nuwal <[EMAIL PROTECTED]> wrote:


Thanks Akio,

I am able to start this successfully without any problem.

I was trying this one from alot of days. I was trying the almost same way
but
1) i was not using xvda. But i have a question to u.
 Why we cant use name like hda,hdb ?


Actually this is working with  hda also.


2) second thing i am not using the fstab option for creating the initrd
image.

Thanks a lot for help,

Trilok



On 4/6/07, Akio Takebe <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Sorry, it is typo. (also I)
>
> xdav is wrong, xvda is true.
> And you need to rewrite /etc/fstab on guest image,
> then remake initrd of guest with the /etc/fstab of guest.
>
> mkinitrd has --fstab option, you can use it.
> e.g.
> # mount /home/disk /mnt
> # mkinirtd /boot//boot/initrd-2.6.18-8.el5xenU.img 2.6.18-8.el5xen--fstab 
/mnt/
> etc/fstab --with xenblk --with xennet --preload xenblk --preload xennet
>
> Best Regards,
>
> Akio Takebe
>
> >When i use xdav1 then it is giving the errors below.
> >
> >-------
> >kernel="/boot/vmlinuz-2.6.18-8.el5xen"
> >ramdisk="/boot/initrd-2.6.18-8.el5xen.img"
> >memory=300
> >vcpus=2
> >name="dom-123"
> >disk = [ 'file:/home/disk,xdav1,w' ]
> >root="/dev/xdav1 selinux=0"
> >vif = [ ' ' ]
> >extra=""
> >
> >[EMAIL PROTECTED] /]# xm create -c /etc/xen/dom-1
> >Using config file "/etc/xen/dom-1".
> >Error: Unable to find number for device (xdav)
> >
> >What could be wrong.
> >Thanks
> >Trilok
> >On 4/6/07, Akio Takebe < [EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>
> >> You should use not hdb, xdva.
> >>
> >> Best Regards,
> >>
> >> Akio Takebe
> >>
> >> >>
> >> >> Hi All,
> >> >>
> >> >> Did anybody try to run RHEL5 PVM guest on RHEL 5 xen host,
> >> >>
> >> >> I am getting these errors.
> >> >>
> >> >> Waiting for driver initialization.
> >> >> Creating root device.
> >> >> Mounting root filesystem.
> >> >> mount: could not find filesystem '/dev/root'
> >> >> Setting up other filesystems.
> >> >> Setting up new root fs
> >> >> setuproot: moving /dev failed: No such file or directory
> >> >> no fstab.sys, mounting internal defaults
> >> >> setuproot: error mounting /proc: No such file or directory
> >> >> setuproot: error mounting /sys: No such file or directory
> >> >> Switching to new root and running init.
> >> >> unmounting old /dev
> >> >> unmounting old /proc
> >> >> unmounting old /sys
> >> >> switchroot: mount failed: No such file or directory
> >> >> Kernel panic - not syncing: Attempted to kill init!
> >> >>
> >> >>
> >> >> My config file is :
> >> >>
> >> >> kernel="/boot/vmlinuz-2.6.18-8.el5xen"
> >> >> ramdisk="/boot/initrd- 2.6.18-8.el5xen.img"
> >> >> memory=300
> >> >> vcpus=2
> >> >> name="dom-123"
> >> >> disk = [ 'file:/home/xen-disk,hdb1,w' ]
> >> >> root="/dev/hdb1"
> >> >> vif = [ ' bridge=xenbr2 ' ]
> >> >> extra=""
> >> >>
> >> >> Kernel is same as in dom0.
> >> >> kernel="/boot/vmlinuz-2.6.18-8.el5xen "
> >> >>
> >> >> In guest root a modify the /etc/fstab
> >> >>
> >> >> /dev/hdb1    /                     ext3    defaults        1 1
> >> >> none            /dev/pts         devpts  gid=5,mode=620  0 0
> >> >> none            /dev/shm       tmpfs   defaults        0 0
> >> >> none            /proc              proc    defaults        0 0
> >> >> none            /sys                sysfs   defaults        0 0
> >> >> --
> >> >> I made the guest root fs from the Host root itself.
> >> >> mount /home/xen-disk  /dir-123 -o loop
> >> >> cp -ax /root /dev /var /etc /usr /bin /sbin /lib /lib64 /selinux
> >> >> /dir-123
> >> >> cp: cannot create directory `/dir-01-05-25/selinux': Permission
> denied
> >> (
> >> >> Only selinux could not able to copy)
> >> >> --
> >> >> Could anybody tell me what could be wrong here.
> >> >>
> >> >> Thanks,
> >> >>  --Trilok
> >> >
> >>
> >-------------------------------text/plain-------------------------------
> >> >_______________________________________________
> >> >rhelv5-list mailing list
> >> >[email protected]
> >> > https://www.redhat.com/mailman/listinfo/rhelv5-list
> >>
> >> _______________________________________________
> >> rhelv5-list mailing list
> >> [email protected]
> >> https://www.redhat.com/mailman/listinfo/rhelv5-list
> >>
> >
> >-------------------------------text/plain-------------------------------
>
> >_______________________________________________
> >rhelv5-list mailing list
> >[email protected]
> > https://www.redhat.com/mailman/listinfo/rhelv5-list
> >
> >
> >---html-part included links-------
> >mailto:[EMAIL PROTECTED]
> >mailto: [email protected]
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to