Click to See Complete Forum and Search --> : Yet more 2.4.2 problems


Unruly
03-25-2001, 12:33 PM
Ok, upon help, I mannaged to download, and compile the 2.4.2 kernel with no errors, as reported by other debianites.

Unfortunatly, my problem is different, the program I use to automate the compliation of the kernel (libranet's adminmenu) doesn't seem to want to make the kernel image bootable.... in otherwords, after a seemingly succsessful compile, I reboot to the same old 2.2.17 kernel.

I've removed the 2.2.17 source, and have tried a recompile, to no avail. What the hell am I missing?

sfam
03-25-2001, 01:04 PM
You said "after a successful compile..." Well, you do realize there are three steps required after the compile right?

You have to compile the kernel (you also have to compile and install the modules if you configured any) then you have to copy the kernel image from the source tree to wherever you keep your kernel image (usually in /boot), then update /etc/lilo.conf to point to the new kernel image, then run /sbin/lilo, then reboot.

Unruly
03-25-2001, 04:40 PM
I know, but this program, adminmenu, that comes with Libranet, is supposed to automate the entire function. I think I have some ideas... thanks anyway.

Gaccm
03-25-2001, 07:54 PM
you use a program? http://www.linuxnewbie.org/nhf/intel/compiling/kernelcomp.html
this NHF shows all the needed steps. but, in your case i bet you forgot to edit /etc/lilo.conf?
and if you did edit it, did you run lilo afterwards (lilo must always be run after lilo.conf was changed).

rod
03-25-2001, 08:31 PM
You might want to try Debian's kernel-package, works well for me. Make sure you have the following packages installed:

kernel-package
bin86

After you have compiled the kernel run:

make-kpkg kernel_image.

That will make you a shiny new .deb. Install the new.deb:

dpkg --install /usr/src/<yournewkernel.deb>

It will prompt you to make a boot disk, run lilo and set up the appropiate symbolic links.

Regards,
Rod