At 12:12 19/08/99 +0200, you wrote:
>I have installed Mandrake with kernel 2.2.9. 9 is good, but the app. I want
>to use asks for 10, so I am trying to install 2.2.11 (which is the latest).
>However the download Mandrake sites do not come with 9 or 10. I have the
>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?)?

After the kernel is built, it is placed in /usr/src/linux/arch/i386/boot.
You need to copy (or move) it to /boot and modify lilo.conf to inform lilo.

"cp /usr/src/linux/arch/i386/boot/bzImage  /boot/bzImage-2.2.11"
(use some sort of versioning system will allow you to boot off different
kernels)
"cp /usr/src/linux/System.map /boot/System.map-2.2.11"
"ln -s /boot/System-2.2.11 /boot/System.map"
modify /etc/lilo.conf to include:-

image=/boot/bzImage-2.2.11
        label=linux-2.2.11
        root=/dev/(whatever_the_boot_drive_is)
        initrd=/boot/initrd(whatever_your_current_init_ram_disk_is)
        read-only

If you make this the first of the image entries it will
be the default kernel - hit <tab> at boot to see the others.

Once this is all done type (as root):
"/sbin/lilo"
You should see:
"Added linux-2.2.11 *"
and references to any other bootable kernels you
specified in lilo.conf.

reboot.


hih
nick@nexnix

Reply via email to