Recently, due to some relationships, you need to replace the Linux kernel and write down the operation process. I hope you can make a picture of it: the original system: FedoraCore9Linuxlocalhost. localdomain2.6.25-14. fc9.i686 #1SMPThuMay106: 28: 41edt2008i686i686i0000gnu/Linux needs to be downgraded to: Linux-2.6.24.6 specific operation: [ro
Recently, due to some relationships, you need to replace the Linux kernel and write down the operation process. I hope you can take a look at it:
Original System: Fedora Core 9
Linux localhost. localdomain 2.6.25-14. fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux
Downgrade:
Linux-2.6.24.6
Specific operations:
[Root @ localhost ~] # Cd/usr/local/sbin
[Root @ localhost sbin] # wget http://www.de.kernel.org/pub/lin... nux-2.6.24.6.tar.gz
[Root @ localhost sbin] # tar-zxvf Linux-2.6.24.6.tar.gz
[Root @ localhost sbin] # Music Linux-2.6.24.6 Linux
[Root @ localhost sbin] # ln-s/usr/local/sbin/Linux/usr/src/Linux
[Root @ localhost sbin] # cd/usr/src/Linux
[Root @ localhost Linux] # make mrproper <-- delete the previous. o file. This step can be omitted during the first running.
[Root @ localhost Linux] # make menuconfig
[Root @ localhost Linux] # make dep <-- establish dependency. This step can be omitted during the first run.
* ** Warning: make dep is unnecessary now.
[Root @ localhost Linux] # make clean <-- delete useless files
[Root @ localhost Linux] # make bzImage <-- compile the kernel
[Root @ localhost Linux] # make modules <-- Compilation Module
[Root @ localhost Linux] # make modules_install <-- installation Module
[Root @ localhost Linux] # make install <-- this step is to create initrd (to load LKM programs)
[Root @ localhost Linux] # new-kernel-pkg -- install -- mkinitrd -- depmod 2.6.24.6 <-- write to grub. conf
[Root @ localhost Linux] # shutdown-r now
After the restart, the upgrade result is:
Linux localhost. localdomain 2.6.24.6 #1 SMP Tue Aug 26 23:15:14 CST 2008 i686 i686 i386 GNU/Linux