24
Apr
09

Changing Grub boot sequence on dual boot (Win+Linux)

change-sequence-on-grub1Linux has been improved significantly that the users don’t have to give up Win platform while installing Linux on its hdd, since Linux distro now a day usually comes with boot loader which enable dual boot easily (Linux installation sometimes could be less “clicks” than Windows platform).

Ubuntu and Fedora use Grub boot loader, sometimes we might accidentally set Linux to default boot, where unattended machine will boot into Linux automatically, then the user has to reboot again and manually set it boot to Windows platform.

To change boot sequence, just edit the configuration at /etc/grub.conf
(“root” privilege is required)

Hereby I use vi as the text editor

vi /etc/grub.conf

On the parameters of default, change to the number of its partition on the hdd, like 0 in the example shown above. (hdd 0,0: Windows;    hdd 0,1:swap;    hdd 0,2:Fedora )

timeout is for the pending time for selection before it auto-boot the default choice, which is set to 5second on example above.

After changing to 0 (previously 2 for Fedora partition), pls kindly restart and it shall works!

reboot


1 Response to “Changing Grub boot sequence on dual boot (Win+Linux)”


  1. June 14, 2009 at 3:04 pm

    YAA Adding this to my bookmarks. Thank You


Leave a Reply