Linux Archive

Linux Archive (
-   Debian Laptop (
-   -   Fwd: Boot Order (

"VinÝcius Vieira Marques" 05-07-2008 07:51 PM

Fwd: Boot Order
Hi Iyer!

To change the default OS to boot in the GRUB bootloader, you have only to edit the /boot/grub/menu.lst. In the end of the file, search for a set of 3-4 lines/commands that invokes windows, something like:

title************ Windows XP Professional
root************ (hd0,0)
chainloader +1

And put the command savedefault at the end of this code block. This command will say to GRUB to boot this OS as default. Note that you have to delete the savedefault command that already have in the Debian block code in the menu.lst file.

So, repeating: edit the /boot/grub/menu.lst file, retire the savedefault option which is already in the debian boot section (a few lines over the Windows block section) and write the savedefault option in the windows code block. The result will be something like this:

title************ Windows XP Professional

root************ (hd0,0)


chainloader +1

Finally, the root option considers your Windows is installed in the first partition of the primary hard disk, adjust if your installation is different


VinÝcius V. Marques

Rond˘nia - Brazil

2008/5/7 Iyer, Vish <>:

recent installation of Debian 4.0 release 3 and Windows XP-64 bit on a dual
boot DELL precision M6300 has resulted in Debian taking precedence in the boot

Is there a way we can change the sequence
to boot with Windows XP as a default OS? Would it be further possible to halt
the system from booting until an order is manually opted? Any suggestion is
greatly appreciated.




All times are GMT. The time now is 09:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.