Re: removing old Kernels

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

 



Greeting Jose,

Pichin wrote:
Can someone tell me how to remove old kernels, I have about 5 old kernels and only use one (the most recent one)..

There are two places that you have to visit .

1. the /boot directory

In here you will find a set of three files for each kernel version that you have installed for example

initrd-2.6.17.8.img
System.map-2.6.17.8
vmlinuz-2.6.17.8

If you wish to remove the 2.6.17.8 kernel then you will have to remove the above three files .

Beware of one thing here

There is a symbolic link for System.map
You will have to make sure that it doesn't point in our
example to System.map-2.6.17.8
Also there is a symbolic link for vmlinuz , so again you will have to pay attention that it doesn't point to the file you want to delete .

After you clean the above set of 3 files from the boot directory ( initrd,System.map,vmlinuz) you have to go to the /lib/modules/ directory
There is the location that the kernel modules are stored .
Delete all the directories that corespond to the kernels that you don't want to keep .

HTH,

Kostas



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux