[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] cannot boot from /dev/xvda1 on centos 5.2 PVM



Hi list,

I want to use the centos kernel-xen in a centos 5.2 environment but I cannot boot because the kernel shows:

VFS: Cannot open root device "xvda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

However, the initrd has definitely the drivers for xennet and xenblk (I unpacked ans looked inside) but while booting, there are no devices recognised.

my Corresponding files are attached.

Hope that somebody can help me...


Ralf

--------------------------------------------------------------------------
root@domU# cat /boot/grub/menu.lst
default         0
timeout         3

title           CENTOS 5.2 PVM CA-Off
root            (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.18.el5xen console=xvc0 root=/dev/xvda1 ro
module          /boot/initrd-2.6.18-92.1.18.el5xen.img
boot

---------------------------------------------------------------------------
root@domU # cat etc/fstab
/dev/xvda1                 /                       ext3    defaults        1 1
tmpfs           /dev/shm                tmpfs   defaults        0 0
devpts          /dev/pts                devpts  gid=5,mode=620  0 0
sysfs           /sys                    sysfs   defaults        0 0
proc            /proc                   proc    defaults        0 0
/dev/xvda2        swap                    swap    defaults        0 0

--------------------------------------------------------------------------
root@doU # cat /etc/modprobe.conf
alias eth0 xennet
alias scsi_hostadapter xenblk

--------------------------------------------------------------------------
root@dom0:/etc/xen# cat pvm

bootloader   = '/usr/bin/pygrub'
memory      = '256'
vcpus = 1
disk        = [
                  'phy:/dev/xen_vol/xen_ca-off-disk,xvda1,w',
                  'phy:/dev/xen_vol/xen_ca-off-swap,xvda2,w',
              ]
name        = 'ca-off'
vif         = [ 'ip=10.0.0.9,mac=00:16:3e:04:e4:6d' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.