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

Re: [Xen-users] creating xen guest with fedora



On Tue, 2014-01-28 at 16:02 +0530, Bhadresh Udani wrote:

> I have created multiple guest configuration files, but each time it
> fails with following error and goes to emergency mode.

How are you creating the guest (i.e. the filesystems)? Are you running
the Fedora installer or using some other tool?

How did you create the ramdisk you are using? Does it contain all of the
necessary drivers (specifically the blkfront driver)?

From the dracut console can you see any Xen block devices in /dev/ at
all?

> $ cat /etc/xen/linuxXen.cfg 
> name="Linux"
> builder="generic"
> vncviewer=0
> vcpus=1
> maxvcpus=2
> cpus="all"
> cpu_weight=256
> cap=0
> period=5
> slice=10
> latency=3
> extratime=1
> memory=1024
> maxmem=2048
> on_poweroff="destroy"
> kernel="/boot/vmlinuz-3.11.8-200.fc19.x86_64" 
> ramdisk="/boot/initramfs-3.11.8-200.fc19.x86_64.img"
> root="/dev/mapper/fedora_localhost-root"

> disk = ['/dev/sda,raw,hda']

This config file appears to be trying to create a PV guest but "hda" is
only available with HVM guests. Try xvda instead.

Ian.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.