Thread: gives me two OS options, only 1 installed

  1. #1

    Join Date
    May 2005
    Posts
    1,042

    gives me two OS options, only 1 installed

    I just re-installed windows and formatted, that wonderful ballet. Everything works fine and peachy, except when the computer is booting up it makes me choose which operating system to boot...and both options are windows XP home, and only the first one actually works.

    I just downloaded partition magic to see if perhaps I could glean anything from it...there's my primary partition and a 7.8MB unallocated partition, but that's supposed to be there isn't it? Regardless, partition magic won't let me do anything with the 7.8MB partition, so I need some help getting rid of the second OS option at boot up.
    I'm not immature, I'm refined in the opposite direction.

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    You might check in boot.ini. On my computer there's these two lines:
    Code:
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
    Maybe there's two OSes listed there and you can just delete one?
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3

    Join Date
    May 2005
    Posts
    1,042
    Hmm, I cannot find that file (I did a windows search for it, including hidden files and such), where is it located?

    Thanks.
    I'm not immature, I'm refined in the opposite direction.

  4. #4
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    on your primary hard drive (where windows is installed). It's a hidden file called boot.ini. Open that and I guarantee you it's got both of those listings in there. Remove the one that seems wrong and save the file. (It's read-only by default by the way so you have to change that in the properties dialog by right-clicking the file).

  5. #5

    Join Date
    May 2005
    Posts
    1,042
    Hmm, oddly enough it's just under C:\ but you were both correct, here is what it says:

    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Home Edition" /fastdetect /NoExecute=OptIn
    multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Micro soft Windows XP Home Edition" /fastdetect

    and deleting the second one accomplished what I wanted. Thanks.
    Last edited by BobMcGee123; 01-16-2006 at 11:32 AM.
    I'm not immature, I'm refined in the opposite direction.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's the best way to handle many program options?
    By stickmangumby in forum C Programming
    Replies: 19
    Last Post: 06-06-2007, 04:06 PM
  2. Detecting if OS is Windows???
    By Ktulu in forum Windows Programming
    Replies: 2
    Last Post: 11-19-2006, 02:49 AM
  3. a simple OS
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 06-06-2004, 10:47 PM
  4. Is Linux Really A Programmers OS?
    By SourceCode in forum A Brief History of Cprogramming.com
    Replies: 43
    Last Post: 04-07-2003, 09:24 PM
  5. Replies: 2
    Last Post: 03-08-2003, 04:54 PM