LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Remove old kernel w/o re-install? (https://www.linuxquestions.org/questions/linux-kernel-70/remove-old-kernel-w-o-re-install-866092/)

davedotwojo 03-02-2011 06:55 PM

Remove old kernel w/o re-install?
 
I'd just like to know if this is possible and how to pull it off.

I'm running Ubuntu 10.04 LTS dual booting w/ XP

The reason is the list for OS's to boot into has grown too long since there are 2 options for each kernel that has been installed via updates, 2 memory test options, and an option for XP for a grand total of 13 boot options.

Any help would be greatly appreciated.

thanks

pljvaldez 03-02-2011 07:00 PM

You can remove old kernels by uninstalling them and then updating grub (for example, on Debian I ran sudo apt-get purge linux-image-2.6-26-5-686 to remove the 2.6.26 kernel that was installed). Just be sure you don't uninstall all the kernels. I typically keep two working kernels and delete all the rest. You should also be able to edit grub's config files to not boot the memory test or safe modes if you don't want them.


All times are GMT -5. The time now is 09:27 PM.