How to remove Ubuntu 7.10 kernel after upgrade to 8/04
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just had this with an upgrade from the CD. The grub menu gives me a choise of 7.10 or 8.04 - the reason for this was that I had inadvertently configured a dual-boot (the default) and I needed to reinstall using the "guided: using whole disk" option.
So - make sure you do not have dual-boot (fdisk -l ... how many partitions?)
If you are single-booting, then there will be only one root partition. You can remove the errant kernel with synaptic.
Do you have an entry in /boot/grub/menu.lst for Ubuntu 8.04 and is it the kernel you are running (uname -a)? If so, you can run Synaptic (or the Add/Remove software app), search for kernel and choose the old kernel for deinstallation.
If you upgraded only recently, I would recommend holding off on ridding yourself of the 2.6.22 kernel. The new kernel is still undergoing some bug-fixes in Ubuntu.
That said, the package is called linux-image-2.6.22-14-generic. The last word will be different if you installed Ubuntu with an architecture other than i386. The
Code:
uname -a
command mentioned earlier will tell you if this is the case.
Thanks Simon Bridge. I have dual-boot, and replaced the Ubuntu 7.10 2.6.22-14 boot item in /boot/grub/menu.lst with Ubuntu 8.04 Linux kernel 2.6.24-16, then I can run into Ubuntu 8.04.
Follow p_quarles's advice, I make a full-backup for current installed Ubuntu that includes 7.10 and 8.04 both. Then, I delete the 2.6.22-14 kernel follow reddazz's instructions.
Um ... if you dual-booted, then you still have the old root partition taking up space. If you just want the 8.04 to be the default boot option, you can set it in menu.lst without removing the 7.10 entry.
Um ... if you dual-booted, then you still have the old root partition taking up space. If you just want the 8.04 to be the default boot option, you can set it in menu.lst without removing the 7.10 entry.
Thank for your help.
Now, I modified the menu.lst for 8.04 kernel entry and remains the old 7.10 kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.