Wednesday 4 February 2009

Make Grub Bootloader Never Auto-Choose OS To Boot

One thing I've found annoying from time to time is restarting my computer for whatever reason, going away and the Grub Bootloader has already started running the wrong OS. I hate this!

So, to make the bootloader always wait for your choice, follow this. But do it carefully please!

1. Open up the /boot/grub/menu.lst file in your favorite text editor (in sudo mode)
sudo vi /boot/grub/menu.lst


( To do this open the Terminal and type:
sudo gedit vi /boot/grub/menu.lst

and gedit should run your Grub Menu. (This is assuming you want to run it in Gedit. If not type the name of the program you want to run it in.))

2. Find the section of the file that contains the timeout information.
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined)
# timeout 3


3. Put a # before the "timeout 3″ line in the file, then save and restart your computer.

Now the Grub Bootloader will wait forever until you make a choice. This is quite useful for me, and maybe it will be for you too.

No comments:

Post a Comment