PDA

View Full Version : [SOLVED] Clean up boot options



Polyjuice
October 17th, 2009, 10:21 PM
Ubuntu newbie here...


I have created a situation that is a concern, which perhaps I should ignore – I just like things tidy. Here's how I got where I'm at:




Took a XP, Pentium 4, 2gb memory and installed a secondary HD
Installed Ubuntu 9.04 and duel booted - Worked great



Ubuntu was everything I thought it would be so I decided to make this my dedicated Ubuntu machine. So I removed the secondary HD and installed Ubuntu on the primary drive. Everything still works great, expect;


I don't need all the options offered at start-up (boot) time - it still shows the other operating system on /dev/sdb1 which no longer exists.


How do I clean up the boot procedure?

mikewhatever
October 17th, 2009, 11:28 PM
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst-backup && sudo update-grub

The above command should backup the current boot menu and then regenerate it according to the currently available boot options. If it doesn't solve the problem, you could edit it manually. If in doubt, please post the content of the menu.lst here.

mac9416
October 17th, 2009, 11:41 PM
A jolly good howto: http://www.howtogeek.com/howto/ubuntu/clean-up-ubuntu-grub-boot-menu-after-upgrades/

oldfred
October 18th, 2009, 01:40 AM
From synaptic you can download startup manager.

Under advanced you can set the number of kernels to show to 2. You want two just in case a new download does not work.

You can also set all that in menu.lst but simple changes are easier in startup manager.