RE: Newby Help

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

 



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@xxxxxxxxxx] 
Sent: Wednesday, March 26, 2008 5:29 AM
To: Walter Coole
Cc: mnielsen@xxxxxxxxxx; fedora-xen@xxxxxxxxxx
Subject: Re:  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

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux