Find the answer to your Linux question:
Results 1 to 3 of 3
I have WindowsXP and CentOS5 installed in a PC,the default OS is CentOS. I want to make WIndowsXP as a default OS.What should i do?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    70

    Change Startup OS


    I have WindowsXP and CentOS5 installed in a PC,the default OS is CentOS. I want to make WIndowsXP as a default OS.What should i do?

  2. #2
    Just Joined! ls354's Avatar
    Join Date
    May 2006
    Location
    Cloud 9
    Posts
    97

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Log in as root and open /boot/grub/grub.conf file.
    Count title lines and set default value to title Windows XP line no. Start counting from zero.
    Let say, title Windows XP is fourth title line in grub.conf file. Set default value to 3.
    Code:
    default=3
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •