Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Laptop (http://www.linux-archive.org/debian-laptop/)
-   -   Fwd: Boot Order (http://www.linux-archive.org/debian-laptop/83952-fwd-boot-order.html)

"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)
makeactive
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)

makeactive

chainloader +1
savedefault

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

Embrace!

VinÝcius V. Marques




Rond˘nia - Brazil

2008/5/7 Iyer, Vish <viyer@bioimaging.com>:





















A
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
order.



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.



*



Thanks!


*


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.