RE: Kernel Compiling Checklist, rev 4

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

 



Argh! I just noticed that the numbering on the second half (recompiles)
wasn't corrected before I posted! I knew I was forgetting something...

Should be...

With fresh install:
-2: This list (and addendums) for kernels 2.4.x only.
-1: Start with fresh install of FC1 (2.4.22-1.2115)
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:  Copy .config from old kernel to /usr/src/linux-x.x.x
    Since first compile since initial install, use config file found in
/boot.
5:  "make oldconfig" (Keep the stuff that works, and only answer new
questions)
6:  "make xconfig" or "make menuconfig" (as you like it)
7:  "make bzImage"
8:  "make modules"
9:  "make modules_install"
10: "make install"
11: Edit /etc/rc.sysinit and change '/proc/sys/kernel/modprobe' to
/sbin/modprobe'.
12: "shutdown -r now"
13: After rebooting, and selecting new kernel option, type "uname -r" to
verify the new kernel is running.



If recompiling:
-1: This list (and addendums) for kernels 2.4.x only.
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?

Okay, I'm done fiddling, time to get dirty.
--Etanisla




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

  Powered by Linux