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] CentOS 5.1 and Xen - mount: could not find filesystem '/dev/

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] CentOS 5.1 and Xen - mount: could not find filesystem '/dev/root'
From: Erich Weiler <weiler@xxxxxxxxxxxx>
Date: Fri, 14 Dec 2007 06:28:36 -0800
Delivery-date: Fri, 14 Dec 2007 06:29:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
Hi all-

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 file info:

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!

-some_guy

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