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

[Xen-users] Unable to boot Guest Domain


I have searched for a solution to this problem extensively online and could not find a correct solution.

I'm trying to boot a Ubuntu natty guest domain on Xen-4.3-unstable and it drops into initramfs shell
saying it cannot find the root device.

Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda1 does not exist.  Dropping to a shell!

I tried to use "modprobe xen-blkfront" but that did not help. I also looked under /dev but did not find the
corresponding xvda1. I don't see a xen-blkfront module loaded below which is also suspicious.

> cat /proc/modules | grep xen_
xen_pciback 43562 0 - Live 0x0000000000000000
xen_netback 27364 0 [permanent], Live 0x0000000000000000
xen_blkback 23075 0 [permanent], Live 0x0000000000000000
xen_gntalloc 13143 0 - Live 0x0000000000000000
xen_gntdev 17350 1 - Live 0x0000000000000000
xen_evtchn 13172 1 - Live 0x0000000000000000

My configuration looks like this -

kernel = "/boot/vmlinuz"
ramdisk = "/boot/initrd.img"
memory = 192
name = "guest3"
vif = [ ' ' ]
disk = ['tap:aio:/local/sda4/guest-space/UbuntuXen.img,xvda1,w', 'tap:aio:/local/sda4/guest-space/UbuntuXen.swap,xvda2,w']
root = "/dev/xvda1 ro"
#disk = ['phy:/local/sda4/guest-space/UbuntuXen.img,sda1,w', 'phy:/local/sda4/guest-space/UbuntuXen.swap,sda2,w']
#root = "/dev/sda1 ro"
#disk = ['phy:/local/sda4/guest-space/UbuntuXen.img,xvda1,w', 'phy:/local/sda4/guest-space/UbuntuXen.swap,xvda2,w']
#root = "/dev/xvda1 ro"
extra = 'xencons=tty'

As you can see, I have tried both /dev/sda and /dev/xvda but none of them helped.

Please help me debug this issue.

Xen-users mailing list



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