WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] cannot boot from /dev/xvda1 on centos 5.2 PVM
From: "Ralf Hornik Mailings" <ralf@xxxxxxxxxxxxxxxxx>
Date: Thu, 27 Nov 2008 15:37:52 +0100
Delivery-date: Thu, 27 Nov 2008 06:38:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.2)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] cannot boot from /dev/xvda1 on centos 5.2 PVM, Ralf Hornik Mailings <=