Hi all, I am using the FC7 with kernel 2.6.20-2936.fc7xen, I make my disk img using dd if=/dev/zero of=xen.img bs=1k count=10000000 and then I do nothing with the file xen.img, is there any operations I should do to the xen.img? here is my configure file ''xencfg'' kernel = "/root/xen/vmlinuz" # copied from CentOS5/image/xen memory = 256 name = "xen" vif = [ '''' ] disk = [ ''file:/root/xen.img,sda1,w'' ] # Set root device. root = "/dev/sda1 ro" extra = "4" And then I try to create the xen virtual machine /usr/sbin/xm create xencfg -c vmid=1 But get the following error prompt: ... Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/2049 XENBUS: Device with no driver: device/vif/0 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. VFS: Cannot open root device "sda1" 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) Any one know what''s the matter of my issue, Many thanks Best Regards, -- View this message in context: http://www.nabble.com/Failure-of-create-a-new-xen-vitual-machine-tf4716294.html#a13482164 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Oct-30 17:17 UTC
Re: [Xen-users] Failure of create a new xen vitual machine
ideallorn wrote:> Hi all, > > I am using the FC7 with kernel 2.6.20-2936.fc7xen, > > I make my disk img using > dd if=/dev/zero of=xen.img bs=1k count=10000000 > and then I do nothing with the file xen.img, is there any operations I > should do with the xen.img? >Nope. Next time, though, consider leaving space in your LVM volume groups to create LVM volumes instead, because the use of LVM partitions instead of file images allows LVM "snapshots" to be used for backup operations or poking around safely inside the Dom0, by looking at the snapshot instead of the active filesystem. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users