[Fedora-xen] RE: Urgent Help Required: FC10 as DomU on FC8 as Dom0
Pasi Kärkkäinen
pasik at iki.fi
Fri Dec 19 12:13:44 UTC 2008
On Thu, Dec 18, 2008 at 11:47:01PM +0200, Pasi Kärkkäinen wrote:
> On Thu, Dec 18, 2008 at 07:14:50PM +0000, MOHAMMAD MATEEN ASLAM wrote:
> >
> > # cat vm.cfg
> >
> > kernel = "/boot/vmlinuz-PAE"
> > ramdisk = "/boot/initrd-PAE.img"
> >
> > memory = 128
> > name = "xxxxx"
> > vif = [ 'ip=xx.xx.xx.xx' ]
> > disk = ['tap:aio:/var/xen/vm13/root,sda1,w', 'tap:aio:/var/xen/vm13/var,sda2,w', 'tap:aio:/var/xen/vm13/swap,sda3,w']
> > root = "/dev/sda1 ro"
> > on_reboot = 'restart'
> > on_crash = 'restart'
> >
> > # xm create -c vm.cfg -> for booting vm
> >
>
> Your disk configuration is wrong.
>
> You need to have xvda disk for domU.
>
> Something like this:
>
> disk = ['tap:aio:/var/xen/vm13/xvda,xvda,w']
>
> if 'tap:aio' doesn't work, then try just 'file'.
>
Have you tried installing with virt-install? or virt-manager?
Example how I installed rawhide on CentOS 5.2 dom0:
(NOTE: This was earlier, before Fedora 9 was released. I haven't tried it now for F10 or F11 rawhide)
$ virt-install -n test -r 512 --vcpus=1 -f /dev/vg0/test_disk1 --vnc -p -l "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/development/i386/os"
Replace the FTP mirror with your local mirror.
Does that work?
-- Pasi
More information about the Fedora-xen
mailing list