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

[Xen-users] Failure of create a new xen vitual machine



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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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