Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 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 -
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

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