Remove Ubuntu Kernels you dont need any more

| 1 Comment | No TrackBacks

Every time I upgrade my Ubuntu desktop, a new kernels comes in. Then I have a new kernel and old one will never be used.

Time by time. I have 6 or more kernels in the booting list and I don't want to see. How can I remove them.

I got the way to do this cleaning job.
1) Check my current kernel I use by command as below:

uname -r

The response tells the current version number

2.6.24-19-generic

2) Open the Synaptic package manager from the System->Administration menu.

Click the "Search" button on the tool bar and search for linux-image-2.
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 I want to keep is the latest one. Find the package corresponding to the kernel to my running currently (this is the kernel I found in the step 1). Now I click their boxes and select "Mark for Removal" to uninstall the old kernels from the list.

Looks easy?
Don't remove the current kernel you use.


Related Articles

No TrackBacks

TrackBack URL: http://www.yinfor.com/mtcgi/mt-t-1102.cgi/2193

1 Comment

Thank you very much, I have booted my box in accidental install of server instead of generic for the last time!!!

Leave a comment

About this Entry

This page contains a single entry by David Yin published on July 17, 2008 4:20 PM.

One Match Stem Cell and Marrow Network was the previous entry in this blog.

Fido site goes down is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en

Online Tools