xen guest system cannot detect root filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-3.2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm running Hardy, I've installed ubuntu-xen-server, and I've installed the last xen-tools from source (with the xen-tools from the repository nothing changes).
xen-tools runs fine with these options in xen-tools.conf:
lvm = vg00
install-method = debootstrap
size = 20Gb # Disk image size.
memory = 500Mb # Memory size
swap = 500Mb # Swap size
# noswap = 1 # Don't use swap at all for the new system.
fs = ext3 # use the EXT3 filesystem for the disk image.
dist = etch # Default distribution to install.
image = sparse # Specify sparse vs. full disk images.
gateway = 192.168.1.1
netmask = 255.255.255.0
broadcast = 192.168.1.255
passwd = 1
kernel = /boot/vmlinuz-
initrd = /boot/initrd.
arch=amd64
mirror = http://
ext3_options = noatime,
boot = 1
disk_device = sda
by running the command:
xen-create-image --hostname=test --ip=192.168.1.8
unfortunately the guest system cannot find the root filesystem, showing this error at boot:
Begin: Running /scripts/
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
Done.
Check root= bootarg cat /proc/cmdline
or missing modules, devices: cat /proc/modules ls /dev
Reading all physical volumes. This may take a while...
ALERT! /dev/sda2 does not exist. Dropping to a shell!
BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
I've tried with no success to change the disk_device option to hda and also tried with the --ide option.
I attach the xen a.cfg file.
I have the same problem here, but my setup have one little difference: in my domU cfg file, I have changed "file:" to "tap:aio:" because of bug https:/ /bugs.launchpad .net/ubuntu/ +source/ xen-3.2/ +bug/205450, I think...
And yes, I have the latest Hardy and ubuntu-xen-server in a fresh install.
I my running Debian Etch kernel 2.6.18.8-xen with xen-3.2, I can see this lines on domU boot messages:
...
xen-vbd: registered block device major 8
blkfront: sda: barriers enabled
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 >
...
But on Hardy I can't see this corresponding lines, see dmesg on attachment!
There is nothing about VBD, this is right anyway?!
PS.: In Debian I don't have loopback files, is LVM.
Command used to create domU (debo01):
xen-create-image --hostname=debo01 --ip=10.1.10.216 --dir=/home/xen --dist=etch