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

Re: [Xen-users] Ubuntu guest domain on Fedora host (dom0) domain



Thank you for the reply.



I'm trying to install Ubuntu server as a guest on a Fedora host domain
(dom0).

I don't understand the functions of the guest's initrd and the guest's
kernel well enough to know which kernel I should be using. Should I use
the Fedora based domU kernel (which matches the dom0 one) or Ubuntu's
kernel?

If I install using debootstrap would I need to swap out the kernel
provided with an Ubuntu one which has been xenified?

Not neccessarily, if your fine with the fedora kernel, just copy
dom0's /lib/modules/`uname -r` into the domU image.

I tried this first (using the fedora kernels and got this:

...
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
md: md1 stopped.
Kernel panic - not syncing: Attempted to kill init!

Does this mean it is trying to find the disk but can't find it?



I assume Ubuntu would run on fedora kernel. If you want to keep your domU
distro "clean", then I would suggest to
- copy domU's kernel and initrd at some place in dom0

then I tried using an ubuntu xen kernel (putting it in the /boot dir of
the dom0 and chaging my config file) and got this:

...
[45911.512633] blkfront: sda1: barriers enabled
[45911.518792] netfront: device eth0 has copying receive path.
[45911.608257] Freeing unused kernel memory: 200k freed
[45911.810711] AppArmor: AppArmor initialized<5>audit(1197876779.830:2): 
type=1505 info="AppArmor initialized" pid=990
[45911.818980] fuse init (API version 7.8)
[45911.825888] Failure registering capabilities with primary security module.
[45911.860654] thermal: Unknown symbol acpi_processor_set_thermal_limit
[45911.876324] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12)
initialised: dm-devel@xxxxxxxxxx

At this stage it just stops. I have to use Ctrl ] to get out of the
console. I'm not sure what would come next, but nothing happens.


or
- keep it in domU and use pygrub

I'm not sure how to do this yet so I haven't atempted it.


If you decide to use the recent ubuntu -xen kernel, disable the hwclock*
init scripts in domU and add

extra = 'xencons=tty'

to your domU cfg file, as the ubuntu kernel defaults to xvc0.



Regards,
Julius.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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