[Xen-users] CentOS 5.1 and Xen - mount: could not find filesystem '/dev/
I'm hoping someone can help me with this problem with Xen under CentOS
5.1 (RHEL 5.1) I'm having... This is the Xen package that comes stock
with the distribution, I didn't compile it from source. I can boot
Domain0 and the hypervisor just fine. I'm trying to bring up a Xen
guest VM and it crashes on boot, with this error:
# xm create -c tcga1 vmid=1
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!
I can't for the life of me figure this out... Here is my domain config
kernel = "/boot/vmlinuz-2.6.18-53.1.4.el5xen"
ramdisk = "/boot/initrd-2.6.18-53.1.4.el5xen.img"
memory = 4096
name = "tcga1"
cpus = "" # leave to Xen to pick
vcpus = 2
vif = [ '' ]
disk = [ 'phy:tcga1vg/tcga1root,sda1,w' ]
disk = [ 'phy:tcga1vg/tcga1data,sda2,w' ]
disk = [ 'phy:tcga1vg/tcga1swap,sda3,w' ]
root = "/dev/sda1 ro"
extra = "selinux=0 3"
I tried making a custom initrd file with --preload=xennet
--preload=xenblk and that didn't seem to help... Also I'm using LVM for
my disk devices but I don't think that should make a difference?
I have the guest domain VM configured in fstab to reference sda1, sda2
and sda3 as noted in the above config... Does anyone have guidance for me?
Also, one other question... Given my above config, is this VM running in
para-virtualized mode or full-virtualized mode? I think it's para but
hard to know for sure...
Thanks much in advance!
Xen-users mailing list