PDA

View Full Version : [ubuntu] How to change boot order on Ubuntu bootloader?



Metuas
September 23rd, 2008, 03:57 AM
I saved my father's PC by installing Ubuntu as a recovery partition, but now when it starts the bootloader, instead of defaulting to Windows XP, it defaults to Ubuntu. I can still pick XP, but if it isn't chosen quickly enough, it will automatically choose. Is there a simple way to change this?

TriSwords
September 23rd, 2008, 04:07 AM
Go into the terminal and type in sudo vi /boot/grub/menu.lst

Find the line that reads "default 0". Change the 0 to whatever option you want. The first option on the boot menu is 0, second is 1 and so on.

If your options are

Ubuntu
XP
Vista

on GRUB, then Ubuntu would be default 0, XP 1 and Vista 2.

Save it and when you restart it should change the default OS it picks.

kansasnoob
September 23rd, 2008, 04:08 AM
In Ubuntu just go to terminal and install startupmanager:


sudo apt-get install startupmanager

It'll then show up in System > Administration > Startup Manager:

86140

See where it says, "Default Operating System"? You can click on the toggle and change it!