[Fedora-xen] Newby Help
Walter Coole
WCoole at aperiogroup.com
Wed Mar 26 20:13:28 UTC 2008
Agreed, it might be easier to use virt-manager, if Anaconda didn't
complain about not getting
http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os//ima
ges/stage2.img . Is
http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ the
best URL for a Fedora install tree?
I tried your xvda suggestion, but got an error:
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
I changed the root clause to:
root = "/dev/xvda1 ro"
, which changed the error to:
VFS: Cannot open root device "xvda1" or unknown-block(0,0)
Please append a correct "root=" boot option
I'm unclear whether the problem is in creating the virtual disk or in
being able to mount it after it's been created.
On the virt-manager front I tried copying the install disks I have onto
a local directory, but got the error:
Unable to complete install: 'Invalid install location: Mounting location
/install/fc6/ failed'. Apparently, the local path for Create Wizard
needs to be a device that it can mount, because it gets farther if I use
/dev/cdrom.
Pulling directly from the CD fails with the error:
Unable to complete install: 'virDomainCreateLinux() failed POST
operation failed: (xend.err "Error creating domain: (22, 'Invalid
argument')")'
, but I'm unclear on which argument is invalid.
Thanks for your help so far!
Walter
-----Original Message-----
From: Chris Lalancette [mailto:clalance at redhat.com]
Sent: Wednesday, March 26, 2008 5:29 AM
To: Walter Coole
Cc: mnielsen at redhat.com; fedora-xen at redhat.com
Subject: Re: [Fedora-xen] Newby Help
Walter Coole wrote:
> cat football.cfg
> kernel = "/boot/vmlinuz-2.6.20-1.3002.fc6xen"
> memory = 256
> name = "football"
> vif = [ '' ]
> dhcp = "dhcp"
> disk = ['file://xen/fedora/football.img,sda1,w',
> 'file://xen/fedora/football.swap,sda2,w']
This is wrong. For paravirtualized guests, you want to use xvda1 and
xvda2. Also, you want to use tap:aio, otherwise you will corrupt your
guest disks if the dom0 crashes. So your disk line really wants to look
like:
disk =
['tap:aio:/xen/fedora/football.img,xvda1,w','tap:aio:/xen/fedora/footbal
l.swap,xvda2,w']
It might be easier, though, just to use virt-install and/or virt-manager
to install your guests; they take care of these details for you.
Chris Lalancette
More information about the Fedora-xen
mailing list