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

Re: Proper way to install new kernel into Fedora Core 3

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.

	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.


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