Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old September 9th, 2006   #1
ramjet_1953
May the Ubuntu Be With You!
 
ramjet_1953's Avatar
 
Join Date: Aug 2006
Location: Thailand
Beans: 1,588
Ubuntu 9.10 Karmic Koala
Send a message via Skype™ to ramjet_1953
Talking Old Kernel Removal

I have two old kernals on my PC that I want to get rid of, to free up some HDD space.

One is the i386 Kernal, that was loaded from the Live CD.

Another is the i386 updated Kernal, that was automatically downloded when the new system rang home.

I have since dowloaded the i686 Kernal, which has been operating without flaw for a week now.

How do I remove these Kernels and remove the entries in the Grub loader?

Regards,
Roger
ramjet_1953 is offline   Reply With Quote
Old September 9th, 2006   #2
bulldog
Ubuntu addict and loving it
 
bulldog's Avatar
 
Join Date: Jun 2006
Location: The Netherlands
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: Old Kernel Removal

Synaptic can do this for you.
Look for the kernels you want to delete and do so [uninstall]

Then open your menu.lst with gedit with root permisssions [gksudo] and delete the entry's you don't want anymore.

Watch carefully what you are going to uninstall and every thing must be fine.

Simple as that.
__________________
Resistance is futile.....you will be assimilated!

Registered Linux User 418427.
#Ubuntu User 3226#

Last edited by bulldog; September 9th, 2006 at 04:43 AM..
bulldog is offline   Reply With Quote
Old September 9th, 2006   #3
mgor
A Carafe of Ubuntu
 
mgor's Avatar
 
Join Date: Apr 2005
Location: Sundsvall, Sweden
Beans: 143
Ubuntu 7.10 Gutsy Gibbon
Re: Old Kernel Removal

Code:
sudo dpkg --list | grep linux-image-2.6
to list the installed kernels and you can go and do a,
Code:
sudo apt-get remove linux-image-<version>
for those who DON'T match the output of,
Code:
uname -r
apt-get should update grub, but to be sure you can run,
Code:
sudo update-grub
__________________
Quote:
Originally Posted by Benjamin Franklin
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
mgor is offline   Reply With Quote
Old September 9th, 2006   #4
mgor
A Carafe of Ubuntu
 
mgor's Avatar
 
Join Date: Apr 2005
Location: Sundsvall, Sweden
Beans: 143
Ubuntu 7.10 Gutsy Gibbon
Re: Old Kernel Removal

Quote:
Originally Posted by bulldog View Post
...
Then open gedit with root permisssions [gksudo] and delete the entry's you don't want anymore.
...
You don't want to remove kernel entries in /boot/grub/menu.lst manually, update-grub will take care of this for you.
__________________
Quote:
Originally Posted by Benjamin Franklin
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
mgor is offline   Reply With Quote
Old September 9th, 2006   #5
ramjet_1953
May the Ubuntu Be With You!
 
ramjet_1953's Avatar
 
Join Date: Aug 2006
Location: Thailand
Beans: 1,588
Ubuntu 9.10 Karmic Koala
Send a message via Skype™ to ramjet_1953
Re: Old Kernel Removal

Thanks, Guys!
Piece of cake!
My grub loader looks much cleaner now, too.

Regards,
Roger
ramjet_1953 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:45 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry