"Ji-Haw, Foo" wrote:
> non-RPM .11 kernel. I have done the make dep; make clean; make bzImage. But
> whenever I boot up Mandrake, it always says that it is using 2.2.9. How can
> I make sure? Is there something missing in my compilation (perhaps something
> I should do with lilo?)?
        
        Yes you have to do something with lilo.

        If you want to compile a kernel by yourself, you have to read the
Kernel HOWTO.

        Anyway, here is what you have to do now:

        I assume that the kernel 2.2.11 is in /usr/src/linux (the directory in
which you typed make dep ; make clean ; make bzImage).

        By the way, didn't you forgot to compile the modules ?
        => do a 
        cd /usr/src/linux
        make modules
        make modules_install

        First, 
        cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz.2.2.11
        cp /usr/src/linux/System.map /boot/System.map.2.2.11
        rm /boot/System.map (check that it is a symbolic link before [file
/boot/System.map] : if not, then do not remove it : rename it like mv
/boot/System.map /boot/System.map.2.2.9)
        ln -s /boot/System.map.2.2.11 /boot/System.map
        
        Then,
        edit /etc/lilo.conf, copy an entry that exist for the current kernel
image and paste it above it. Modify its name (ie what you will have to
type under LILO), replace the kernel path by /boot/vmlinuz.2.2.11
        save and exit from your editor
        just type lilo
        if there is no error, then you're ready ! 
        Just reboot.

        If the new kernel fails, you will be able to boot the old kernel, by
telling lilo the name that is in /etc/lilo.conf. It will then complain
about the System.map file : just put the old one back.

        The default login screen gives the kernel version and the date at which
it was compiled.
        You get the same with the command 
        uname -a

        Regards

        Mathieu

Reply via email to