Re: RE: Urgent Help Required: FC10 as DomU on FC8 as Dom0

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

 



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

--
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