[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Custom kernel
Jon,You only have one kernel because in the Makefile of your Xen source directory, you probably have a line that reads: KERNELS ? = linux-2.6-xen If you change that to: KERNELS ? = linux-2.6-xen0 linux-2.6-xenUYou'll have two kernels for a separate dom0 kernel and a domU kernel. Then simply type: # make worldYou'll get two kernel source directories, one for 2.6.x-xen0 and 2.6.x-xenU (for me x=16) At this point, you can type the following to create a dom0 kernel: # make linux-2.6-xen0-config CONFIGMODE=menuconfig # make linux-2.6-xen0-build # make linux-2.6-xen0-installIf you need a ramdisk to load special modules (such as SCSI drivers), create an initrd file by typing: # mkinitrd /boot/initrd-2.6.16-xen0.img 2.6.16-xen0 To make the domU kernel: # make linux-2.6-xenU-config CONFIGMODE=menuconfig # make linux-2.6-xenU-build # make linux-2.6-xenU-installIt seems the updated instructions on the Xensource site encourages people to create just one kernel, rather than two kernels, privileged and unprivileged, for dom0 and domU respectively. Me, I don't want to use a privileged kernel for my guests. That's ludicrous. The potential security problems far outweighs the convenience that method may provide. Hope this helps. S On Aug 31, 2006, at 10:21 AM, jonr@xxxxxxxxxx wrote: The first time I installed xen there were two kernels, this time with 3.0.2, there is only one kernel, everything works. I can boot my dom0 and my domU's using this one kernel but if I want to build a custom kernel for my domU's butI am not sure from what I read on how to go about it.Will I end up with a new kernel other than my single kernel? Should I do thekernel config in the directory that I used to install xen? Any help is appreciated, Jon _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |