Harry Putnam wrote:
[...]
I then tried copying as best I can from the working kernel config of
2.6.24-r8 by running menuconfig in that directory and genkernel --menuconfig all in the new kernel directory.

I'd already tried the same thing but without genkernel... just calling
make after getting the config as close as seems possible to the
working config.  ... That failed

So now employing genkernel on the same closely copied .config hoping
at least the new kernel will boot with the initrd genkernel creates.

Again,,, failed miserably at boot time.

Just to make sure you're doing it right...

emerge sys-apps/debianutils is you haven't done so already.

Make sure the right kernel is selected:

  eselect kernel list
  eselect kernel set <number>

cd /usr/src/linux

Copy the working .config to the current directory:

  cp /boot/config-the-working-one ./.config

Clone that config:

  make cloneconfig

Configure it and remove the unneeded stuff and make the needed drivers (SCSI disk support, LSI driver, filesystem) built-in:

  make menuconfig

Compile it:

  make -j<number of CPU cores + 1>

Install the modules (if any):

  make modules_install

Install the kernel:

  make install

This will install everything needed to /boot. Old files with the same name will be renamed to *.old.

Edit /boot/grub/grub.conf and make sure the just installed kernel is selected.


Reply via email to