HOWTO uninstall the kernel 2.6.0 (not rpm).
I using a rpm kernel packages from redhat. 2.4.X
And I compile and install the kernel 2.6.0, I wanna remove that kernel...
How to remove that kernel from the system?
When I install:
wget -c ftp.kernel.org.......
tar jxvf kern....
Now that make modules_install and make install, put various files in the system, /lib /boot etc... how to remove that?
Well you could just delete them but then you wouldn't have a kernel to run your computer the next time you boot, so it would make more sense to compile a new kernel and copy it over the one you don't like
Moved: Not a Success Story.
If you compile and install a kernel "manually" and you want to remove it, you have to do that manually, too. (Just make sure that you still have another kernel on your hd that you can use when you boot the next time).
Fortunately, it is quite simple to identify the files related to a specific kernel.
Files that belong to a kernel 2.X.X will have that number in their file name as well.
First there is the kernel itself: vmlinuz-2.X.X
Second, a symbol table named: System.map-2.X.X
Most of the time a copy of the config file that has being used for compiling the kernel is being copied to /boot, too: config-2.X:X
The modules produced during compilation are stored in /lib/modules/2.X.X
You can simply delete them all and the kernel is gone.
DON'T FORGET to reconfigure the the boot manager (lilo / grub) to use another kernel and test it before you remove anything.
I use a kernel 2.4.22 and I want to remove a 2.6.0..
I only to do:
del -r *2.6*
rm -r *2.6*
In the system do not have links ou files with references to that kernel?
|All times are GMT -5. The time now is 11:16 PM.|