2007年5月19日星期六

Howto Set Windows as Default OS when Dual Booting Ubuntu

When you install Windows and ubuntu as dual boot you’ll notice that Ubuntu is set as the default operating system in the Grub loader if you want to change your default booting OS to windows you need to follow this procedure

You need to edit /boot/grub/menu.lst file

sudo vi /boot/grub/menu.lst

Look for the following option

default 0

to

default 4

Save and exit the file and reboot your system.

You will need to change that number 0 to match the Windows boot section.In most cases 4 is a default dual-boot configuration and in one my friend’s laptop this value is 5 so you need to check this and enter the value.The blocks at the bottom of the file match the items in the menu and the numbering starts at 0.

If you want a graphical operating, well, maybe there is another easier way. Use startup-manager,after install it(sudo apt-get install startupmanager) and run it, below the “Boot options”,you can make a choice with “Default operating system”,choose "windows xp", and all done!!

1 评论:

Unknown 说...

I believe you can also try the sql repair database program