Julius Spencer
2007-Dec-16 21:37 UTC
[Xen-users] Ubuntu guest domain on Fedora host (dom0) domain
Hi, 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? Thanks for any help. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Julius Spencer
2007-Dec-17 01:04 UTC
[Xen-users] Ubuntu guest domain on Fedora host (dom0) domain
Hi, 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? Thanks for any help. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephan Seitz
2007-Dec-17 02:33 UTC
Re: [Xen-users] Ubuntu guest domain on Fedora host (dom0) domain
Julius Spencer schrieb:> Hi, > > 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 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 or - keep it in domU and use pygrub 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, Stephan> > Thanks for any help. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Julius Spencer
2007-Dec-17 18:46 UTC
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: dm-devel@redhat.com 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@redhat.com 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@lists.xensource.com http://lists.xensource.com/xen-users