Using a custom kernel
I have just compiled a custom kernel for my personal use and so far I have it running from the /boot directory in my Xubuntu root partition.
I have partitioned my system as so: /dev/hda1 swap 1Gb /dev/hda2 ext2 30Gb (Xubuntu) /dev/hda3 ext2 15Gb (Debian) /dev/hda4 ext2 15Gb (Slackware) The problem is they all run off of a different kernel. What I would like is to have each distro run off the kernel I compiled. I just have no idea on how to accomplish this. I'm using the grub boot loader. If that makes a difference. Thanks in advance. |
IIRC a kernel knows what the root filesystem is from the environment that it was compiled in so you probably can't use the same kernel file to boot each distro. You should be able to take the .config file and use it to build a kernel in each of the distros that you have installed. Then you just need to add the entries to grub so they can be booted.
|
It would be easier to do that if you had a common /boot partition. However, you could alter your menu.lst file for the other distro's so that they use the same kernel and initrd file.
Change the entries from something like this: Code:
title openSUSE 10.2 - 2.6.18.8-0.5 Code:
title openSUSE 10.2 - 2.6.18.8-0.5 Code:
title openSUSE 10.2 - 2.6.18.8-0.5 |
All times are GMT -5. The time now is 04:27 AM. |