File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Make Windows my Default OS

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 751
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
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

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:
subject: Make Windows my Default OS
It's not a secret anymore!