RE: Kernel Compiling Checklist, rev 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 19, 2004 at 11:07, ne... in a soothing rage wrote:

Oops, bad form I know, sorry but I have to follow-up to myself...

>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
05.1: edit the Makefile and change 'gcc' to gcc32'
05.2: edit the Makefile and add a meaningful 'EXTRAVERSION = '
>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...
>

N.Emile...
-- 
Registered Linux User # 125653 (http://counter.li.org)
Switch to: http://www.speakeasy.net/refer/190653
Forced to support NT servers; sysadmins quit.
 11:29:18  up 30 days, 1 min,  3 users,  load average: 0.09, 0.05, 0.01



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux