This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 24193

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!