Linux Step By Steps
KERNEL 2.4.3 Preliminary

 

SIBIL -> 2.4.3 upgrade

From: Collins Richey <erichey2@home.com>

Subject: More about kernel 2.4.3
 

Fortunately I read all the posts on this list before trying to compile the kernel. Here's my relatively foolproof procedure (thanks to the experts).  Per Linus' suggestions, I kept the source in my home directory.

1) edit /etc/modules.conf per David Bandel's instructions, ie first few lines are
#keep
#path[usb]=/lib/modules/`uname -r`/`uname -v`
path[usb]=/lib/modules/`uname -r`
#path[usb]=/lib/modules/
#path[usb]=/lib/modules/default

2) add the following sym link (Some kernel modules require lex)

ln -s /usr/bin/flex /usr/bin/lex

3) download kernel sources to /home/collins

4) su

5) mv /lib/modules/2.4.2 /lib/modules/old-2.4.2

6) cd /home/collins

7) bzcat kernelwsource | tar xv

8) mv linux linux-2.4.3

9) cd linux-2.4.3

10) make mrproper

11) make menuconfig (or whatever)

12) make dep && make clean && make bzImage && make modules && make modules_install

13) cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.3 (or whatever)

14) Do this even if your kernel build failed

mv /lib/modules/old-2.4.2 /lib/modules/2.4.2 (in case you need to boot old)

15) update your grub menu.lst for new kernel (mine is on floppy)

16) shutdown and reboot

--
Collins Richey
Denver Area
Sybil test system