On Apr 15, 2004 at 20:05, Etanisla Lopez-Ortiz in a soothing rage wrote: [...] >0: Insert desired version number where x.x.x is present. >1: Get desired kernel and extract it. >2: "mv /scratch/directory/linux-x.x.x /usr/src" >3: "cd /usr/src/linux-x.x.x" >4: "cp .config config.bak" >6: "make mrproper" >7: "make oldconfig" >8: "make dep" >9: "make bzImage" >10: "make modules" >11: "make modules_install" >12: "make install" >13: Edit /etc/rc.sysinit and change '/proc/sys/kernel/modprobe' to >/sbin/modprobe'. >14: "shutdown -r now" >15: After rebooting, and selecting new kernel option, type "uname -r" to >verify the new kernel is running. > > >Afterthought question: Why the need to edit /etc/rc.sysinit? Seems you need to point to the direct location of modprobe. >Okay, I'm done fiddling, time to get dirty. In the thread 'Is this correct: Kernel Compiling Checklist' I have commented on what I believe to be the correct procedure for compiling or recompiling a kernel. This is for the 2.4.xx kernels. A complete list of steps would be: 01: Create an area other than /usr/src for kernels. I use /opt. 02: Download the kernel source tarbol from a suitable mirror. 03: cd /opt 04: tar xjf /path/to/kernel-2.4.xx.tar.bz2 05: cd linux-2.4.xx 06: make mrproper 07: cp /boot/config-xxx .config 08: make oldconfig 09: make menuconfig 10: make dep clean bzImage modules 11: su -c "make modules_install" 12: su -c "make install" 13: reboot Note that only steps 11-13 require root access. All the other steps are performed as a normal user. N.Emile... -- Registered Linux User # 125653 (http://counter.li.org) Switch to: http://www.speakeasy.net/refer/190653 Post proelium, praemium. [After the battle, the reward.] 10:56:34 up 29 days, 23:28, 3 users, load average: 0.00, 0.00, 0.00