Cannot remove old kernel in ubuntu 10.10
help!!!!
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: sudo apt-get remove linux-headers-2.6.20-15 linux-headers-2.6.20-15-generic linux-image-2.6.20-15-generic --purge 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 |
Your message was very specific about versions, so I would have to question your command:
sudo apt-get remove linux-headers-2.6.20-15 linux-headers-2.6.20-15-generic linux-image-2.6.20-15-generic --purge There you are clearly removing versions 2.6.20-15, not 2.6.35-22 nor 2.6.35-23 --Chris |
@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): sudo apt-get remove linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic linux-image-2.6.35-22-generic --purge 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. |
Hi,
I still can't remove old kernels from my ubuntu 10.10. Quote:
Thanks. |
Problem solved!!!
After upgrading to kernel version 2.6.35-25 i can now remove old kernels from the synaptic manager. YEAH!!! Thanks y'all for your kind assistance! |
All times are GMT -5. The time now is 04:29 AM. |