Solved Boot.ini not working

October 24, 2011 at 06:32:53
Specs: Windows XP
I had a duel boot of win xp and win 7 on a single hard drive with 2 partitions, I have now removed windows 7 by formating that partition and was told I then have to edit boot.ini to allow it to boot from win xp and stop displaying windows 7 as an option I thought I had done this however now whenever I boot the pc it asks me if I wand windows 7 or earlier version automatically selecting win 7 after 30 seconds how can I fix this?

See More: Boot.ini not working

Report •

✔ Best Answer
October 24, 2011 at 07:57:48
I've italicized a couple of bits from the article. The first shows that you can do the process from either Windows installation. You may be worried by the second phrase italicized. As your XP is installed on partition 1, I assume that this was installed before Windows 7 and is the active partition. I'm pretty sure that if the Windows 7 partition was the active one you would have big troubles now that you have formatted it.

If all else fails a Repair Install of XP should put matters right.

"If you want to remove Windows Vista from a dual-boot environment that includes an earlier version of Windows, follow these steps.

Note You can follow these steps in the earlier version of Windows or in Windows Vista. If you follow these steps in Windows Vista, run the commands from a command-prompt that has elevated user rights. To do this, click Start, click Accessories, right-click the command-prompt shortcut, and then click Run as Administrator. 1.Use Bootsect.exe to restore the Ntldr program. To do this, type the following command: Drive:\Boot\Bootsect.exe /NT52 All

Note In this command, Drive is the drive where the Windows Vista media is located.

After the computer restarts, it does not load the Windows Boot Manager program. Instead, Netldr.exe loads and Boot.ini loads.
2.Delete or remove the partition where Windows Vista is installed.

Important You can only delete the partition where Windows Vista is installed if that partition is the non-active partition on the system. For example, consider the following scenario: ◦Windows Vista is installed on drive C. Drive C is partition 1 and is the active partition.
◦Windows XP is installed on the drive D. Drive D is partition 2 and is the non-active partition.
In this scenario, you can run the bootsect command, but you cannot delete the partition where Windows Vista is installed. If you delete this partition, the computer is put into a non-bootable state because Windows XP boot files are deleted."



#1
October 24, 2011 at 06:58:25
Re-check your edits of the BOOT.INI file and make sure you save the changes to it.

As a last resort, delete all existing partitions on that drive, then re-install XP.


Report •

#2
October 24, 2011 at 07:37:49
what do you mean check edits, I have now deleted the 2nd partition so its just one big one and this did nothing

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /NOEXECUTE=OPTIN /FASTDETECT

this is my boot.ini file when i go into msconfig, if this is as it should be then what should I do as I cant reinstall xp and every time I boot it tries to load a non existent windows 7 unless i tell it to load older version of windows. Also from the root of C:\ i cant actually see a boot.ini file only a boot.bak is this a problem as boot.ini is availible in msconfig


Report •

#3
October 24, 2011 at 07:38:11
Have a look at the section "Removing Windows Vista from a dual-boot configuration" (the procedure is the same for 7) in this link: http://support.microsoft.com/kb/919529

Report •

Related Solutions

#4
October 24, 2011 at 07:44:14
I looked at the link and it suggests you still need 2nd windows os installed should I reinstall 7 and start over or will this cause more issues

Report •

#5
October 24, 2011 at 07:57:48
✔ Best Answer
I've italicized a couple of bits from the article. The first shows that you can do the process from either Windows installation. You may be worried by the second phrase italicized. As your XP is installed on partition 1, I assume that this was installed before Windows 7 and is the active partition. I'm pretty sure that if the Windows 7 partition was the active one you would have big troubles now that you have formatted it.

If all else fails a Repair Install of XP should put matters right.

"If you want to remove Windows Vista from a dual-boot environment that includes an earlier version of Windows, follow these steps.

Note You can follow these steps in the earlier version of Windows or in Windows Vista. If you follow these steps in Windows Vista, run the commands from a command-prompt that has elevated user rights. To do this, click Start, click Accessories, right-click the command-prompt shortcut, and then click Run as Administrator. 1.Use Bootsect.exe to restore the Ntldr program. To do this, type the following command: Drive:\Boot\Bootsect.exe /NT52 All

Note In this command, Drive is the drive where the Windows Vista media is located.

After the computer restarts, it does not load the Windows Boot Manager program. Instead, Netldr.exe loads and Boot.ini loads.
2.Delete or remove the partition where Windows Vista is installed.

Important You can only delete the partition where Windows Vista is installed if that partition is the non-active partition on the system. For example, consider the following scenario: ◦Windows Vista is installed on drive C. Drive C is partition 1 and is the active partition.
◦Windows XP is installed on the drive D. Drive D is partition 2 and is the non-active partition.
In this scenario, you can run the bootsect command, but you cannot delete the partition where Windows Vista is installed. If you delete this partition, the computer is put into a non-bootable state because Windows XP boot files are deleted."


Report •

#6
October 24, 2011 at 08:38:56
"Note In this command, Drive is the drive where the Windows Vista media is located."

sorry but could you explain as I no longer have windows 7 installed which drive I would use C or the formated D

"2.Delete or remove the partition where Windows Vista is installed."

I have already removed windows 7


Report •

#7
October 24, 2011 at 08:43:02
just realised bootsect.exe doesn't exist on xp but I can see it on the win 7 setup disk should I reinstall windows 7 and follow your steps

Report •

#8
October 24, 2011 at 09:29:18
If you can see the command on the Windows 7 DVD you should be able to run it from there. No need to reinstall Windows 7 just for one command.

Report •

#9
October 24, 2011 at 10:27:10
ok thanks ijack

Report •

Ask Question