Proper way to install new kernel 2.6.11.7 into Fedora Core 3

Paul Howarth paul at city-fan.org
Wed Apr 27 15:06:52 UTC 2005


Kanwar Ranbir Sandhu wrote:
> On Wed, 2005-20-04 at 16:55 -0700, Rick Stevens wrote:
> 
>>You don't need the "make dep" or "make clean" steps with 2.6 kernels.
>>Simply:
>>
>>	make mproper
>>	make xconfig
>>	make bzImage
>>	make modules
>>	make modules_install
>>	make install
>>
>>That should do it all for you.  Double check your /boot/grub/grub.conf
>>file to verify that the new kernel got installed.
> 
> 
> How are customer kernels supposed to be uninstalled?  Is it as simple as
> removing the kernel source and modules in /lib/modules/[custom kernel],
> editing grub.conf to remove the config for the custom kernel, deleting
> related files in /boot, and changing the initrd and vmlinuz symlinks to
> point to the "old" FC kernel?

If you build your own custom kernel RPM as described at:
http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/

then you can remove the kernel using "rpm -e" just like you would with 
an "official" kernel, which would correctly handle the kernel, its 
initrd, grub/lilo, modules etc.

Paul.




More information about the fedora-list mailing list