UbuntuThis forum is for the discussion of Ubuntu Linux.
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 have 3 kernels on my ubuntu 10.10 (2.6.35-22; 2.6.35-23; 2.6.35-24). i tried to remove the oldest kernel 2.6.35-22 through synaptic manager, but it says that the kernel is not installed on the system. in fact, all the kernels i have on my system were shown as not installed. when i right-click it highlights only 'mark for installation'. so i tried to remove it from the terminal using the command:
it processes and show that it has been deleted. then i typed:
sudo update-grub2
it showed the grub2 without the deleted kernel. then i restarted, but it was still there. then i logged into the latest kernel (2.6.35-24) and typed:
sudo update-grub
it showed everything including the deleted kernel. then i typed:
sudo update-grub2
and it now showed everything, including the deleted kernel. i thought it was a problem with grub showing deleted entries, so i tried to boot the deleted kernel (2.6.35-22) and surprisingly it booted very well, no hicks or slows. i rebooted into the latest kernel and then tried to re-run the kernel delete command via the terminal, but it said that the old kernel (2.6.35-22) is not installed.
i don't know what's wrong. how do i delete the 2.6.35-22 kernel and update my grub/grub 2?
pls help me!!!
thanks.
***besides, my grub is stil GRUB 1.xx version. but pls how come i still have / can run grub and grub2 on my system? and is also can update both grubs? thanks
Did you update from a previous Ubuntu or did you do a clean install of 10.10? If you upgraded from a previous Ubuntu you would be updated to the new grub. Here is some info on the grub vs grub2 in Ubuntu systems. "https://help.ubuntu.com/community/Grub2" Also if its working why break it? I really don't see what you are trying to do.
-Quincy
Last edited by thelastquincy; 01-04-2011 at 05:03 PM.
Reason: add link
@thelastquincy: no i did a clean install of ubuntu 10.10. i'm only trying to clean up/remove the oldest kernel and clean up grub as well i have a dual install of windows and linux, so the kernels are beginning to clog the grub screen.
@critta: Ooops! sorry it was a typo. i used the command (with the correct kernel version):
but still did not work, same problem as in my first post. but what's wrong with my synaptic manager? it displays all the 3 installed kernels as 'not installed'. that's why i can't even try and remove the kernel 2.6.35-22 from there.
thanks for your replies.
Last edited by jay_pablo_69; 01-05-2011 at 11:31 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.