sabato 31 maggio 2008

Ubuntu - Configure Boot Menu

Dualboot - Configure Boot Menu

sudo gedit /boot/grub/menu.lst


Dualboot - Boot Options

There are loads of options you can change, but only a couple that you're likely to be interested in. The default boot entry is defined by the "default" value.

The default value is 0, which means that the first entry in the list (which is Ubuntu) always gets loaded.

If you want to make it so that Windows XP loads by default, change the value to 4, as XP is the fifth item in the list (the numbering system starts at 0).

The other way to load Windows XP by default is to change the value for "default" from a numerical value to "saved". Then, GRUB will load whichever boot entry has been marked with "savedefault".

If you scroll down the list and have a look at the entries, you'll notice that both the main Ubuntu entry and Windows XP have been marked with "savedefault". Remove the value for Ubuntu and Windows XP will launch by default.

You can also increase the boot menu timeout – just change the value for "timeout". You can also hide the GRUB boot menu by removing the hash in front of "hiddenmenu". Save and exit gedit to keep any changes.

And that's about it. Dualbooting Windows XP and Linux when Windows is installed first is by far the easiest method of dualbooting, because most up-to-date Linux distros are very aware and accommodating of other operating systems, and GRUB is an excellent and highly flexible bootloader.

http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm


Nessun commento: