Overtime with Ubuntu updates the GRUB menu lists a lot of previous Linux kernels and eats a lot of hard-disk space. How can the unused kernels be removed easily?
feedback
|
migrated from stackoverflow.com Jul 30 '11 at 7:40
This question came from our site for professional and enthusiast programmers.
|
Open the Synaptic package manager from the System->Administration menu. Click the “Search” button on the tool bar and search for The results should show every available and installed kernel. A green box on the left indicates that the package is installed. The only linux-image you want installed is the latest one. Find the package corresponding to the kernel to you running currently (this is the kernel you found in the terminal window). Make sure you keep that one. Now you can uninstall the old kernels from the list by clicking their boxes and selecting "Mark for Removal". Got this from here | |||
|
feedback
|
|
You can use Ubuntu Tweak for that or remove entries in | |||
|
feedback
|
|
Open a terminal and run the below command. On reboot, only the latest kernel will be shown in the GRUB menu.
Root password is required to run the above command. Thanks to ubuntugenius. | ||||
|
feedback
|