aspose file tools*
The moose likes Linux / UNIX and the fly likes Make Windows my Default OS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Make Windows my Default OS" Watch "Make Windows my Default OS" New topic
Author

Make Windows my Default OS

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi, I'm using Ubuntu with Windows XP. At startup GRUB is loaded and Ubuntu is my default OS to boot from. How do I make Windows my default OS? Thanks!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

You should be able to just edit /etc/grub.conf . The first non-comment line will be something like

default = 0

meaning the default boot image is the first one listed. Change that number to the zero-based index of the entry for Windows XP in the file, then save the file and reboot.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Make Windows my Default OS