FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

LinkBack Thread Tools
Old 05-07-2008, 07:51 PM
"Vinícius Vieira Marques"
Default 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 <viyer@bioimaging.com>:

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.




Thread Tools

All times are GMT. The time now is 12:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org