PDA

View Full Version : boot-up menu



camelot8
August 15th, 2011, 05:28 PM
ubuntu 10.04
sudo gedit /boot/grub/menu.lst is giving me an empty file.
How to erase old ubuntu boot-up option?

coffeecat
August 15th, 2011, 06:05 PM
Welcome to the forum!


ubuntu 10.04
sudo gedit /boot/grub/menu.lst is giving me an empty file.

That's because 10.04 doesn't have a menu.lst. Since 9.10/Karmic, Ubuntu has used grub2 which uses different configuration files.


How to erase old ubuntu boot-up option?

I'm guessing you mean that you want to remove old, unused kernel entries. If you simply edit the grub menu, you still have all the old kernel files taking up quite a bit of hard drive space. It is better to uninstall the old kernel packages, and then the grub menu will be updated for you automatically. Open Synaptic and search for '2.6.32-XX' where XX is the number of the kernel version you want to remove. There will be 3 or 4 packages. Mark them for complete removal. Repeat for any other kernels you want to remove, and then click on "Apply". Obviously, don't remove your latest running kernel!

Daveth
August 15th, 2011, 09:36 PM
it now lives in /etc/default/grub, by the way:D

slotto
November 12th, 2011, 06:00 PM
Thanks for this!
slotto