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/
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100909 Lanikai/3.1.3
You have to distinguish virtual and real devices properly:
The devices you are seeing in you Domain-0 (the output of ls -l
/dev/disk/by-id/) are the real physical devices. The VM will have
its own *virtual* devices, which are either based on a physical
device (which changes its name then) or for example on a file in the
host's filesystem. The root option is passed to the *virtual* kernel
and needs to state the *virtual* name of the device (to begin with,
its easiest to call it xvda1, this will make it easier to
distinguish). In the disk = [ ... ] option, you map the virtual
device to a real one (or a file, ...). The line ist the following:
disk = [
"phy:/dev/sda2,xvda1,w" ]
If you like the *real* device sda2 to be the first and only virtual
device of the VM.
The root option must be /dev/xvda1 then, of course.
But still you'd need:
1. An operating system installed in /dev/sda2
2. If you need the initramdisk which you specified in your disk
option, you must pass it with ramdisk="path to ramdisk in Domain-0"
to the VM
Try reading some Howtos on setting up Xen VMs or buy a book about
Xen.
Regards,
Felix
Am 29.09.2010 22:44, schrieb Priya:
Hey guys!
So the
entire output of "xm create -c <domU.cfg> is in
attachment. The part that is showing the issue is towards
the end:
VFS: Cannot open root device "hda1" or
unknown-block(0,0)
Please append a correct "root=" boot option; here
are the available partitions:
Try "xm create -c
<domu.cfg>" and show us what occured.
Att,
Egberto Monteiro
Em 09/29/2010 05:08 PM, Priya escreveu:
Hello people!
This is a strange error and I am sure I am
missing something really basic. I installed
Xen 4.0.1 on Ubuntu 10.04, and only have
command line access to my domain-0.
Every thing seems to be working okay. My
"xm info" output is as follows:
The problem is that when I try to
create new PV domains, I get a message
saying that they have been created but
they don't show up when I do a
subsequent xm list:
root@XenOpen:/etc/xen# xm create
mylinux.cfg
Using config file "./mylinux.cfg".
Started domain MyLinux (id=11)
root@XenOpen:/etc/xen# xm list
Name
ID Mem VCPUs State
Time(s)
Domain-0
0 832 2 r-----
151.2
Could someone please throw some light on
what in the world is going on...please!
--
Priya Bhat
_______________________________________________
Xen-users mailing list