Matthias Meyer
2007-Apr-22 11:29 UTC
[Xen-users] XenExpress - howto use own build kernel in DomU
Hello, I want to build and use an own kernel in DomU. I get the kernel-xs-xen/kernel-2.6.16.38-xs3.2.0.531.3960.src.rpm from the source1 iso and compile it. Because of (unsolved) troubles with mkinitrd I try a build without mkinitrd. I configure /boot/grub/menu.lst within my DomU and restart it. But the old, original, kernel will be started. How to configure the Dom0 and/or DomU that DomU will start with my customized kernel? Thanks in advance Matthias -- Don''t Panic _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Apr-22 12:19 UTC
Re: [Xen-users] XenExpress - howto use own build kernel in DomU
Matthias Meyer wrote:> Hello, > > I want to build and use an own kernel in DomU. > I get the kernel-xs-xen/kernel-2.6.16.38-xs3.2.0.531.3960.src.rpm from the > source1 iso and compile it. Because of (unsolved) troubles with mkinitrd I > try a build without mkinitrd. > I configure /boot/grub/menu.lst within my DomU and restart it. But the old, > original, kernel will be started. > > How to configure the Dom0 and/or DomU that DomU will start with my > customized kernel? > > Thanks in advance > Matthias >Are you using full virtualization, or para-virtualization? If you''re using para-virtualization, the DomU kernel must be in place on the *Dom0*, along with its mkinitrd compiled from the /etc/modprobe.conf contents. The DomU need only have the contents of the /lib/modules/[kernel-name], although the full kernel is useful for reference purposes. If you''re using para-virtualization, you''re not using grub at all on the DomU and may as well "rpm -e grub" on it to avoid confusion. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users