If we have rearranged partitions since the Windows 2000 or XP image was made, we need to correct a variable in boot.ini that tells which partition it's supposed to boot up. I've waded through numerous suggestions elsewhere that recommend reinstalling boot files or installing some surrogate boot record or using the XP/2000 installation CD to "repair" the boot files, but it turns out boot.ini is the only file that needs fixing.
The boot.ini file is used in the Microsoft boot process to specify the operating systems the Microsoft boot loader, ntldr, should show in its boot menu. The boot.ini file contains lines similar to these:
[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 2000 Professional" /fastdetectIf we were using a Microsoft-style multiboot setup we would find more operating systems defined here, but we're going to use another boot manager so this boot.ini file only needs to define and boot a single operating system. That funny-looking definition is a Microsoft invention known as an ARCpath. In this example, "multi(0)disk(0)" refers to the computer's IDE controller, "rdisk(0)" means the master hard disk on the primary IDE channel, and "partition(1)" refers to the first partition on that hard disk. You can read more about ARCpaths at Microsoft's page on "Understanding the Boot.ini Naming Convention".
Partitions are numbered starting at (1), first all primary partitions, then all logical volumes in the extended primary partition. Important note: the numbering order follows the order of the entries in the partition table, which may or may not correspond with the physical order of the actual partitions on the disk. Blank entries in the partition table are skipped and the extended partition itself is also not numbered.
![]() |
EditBINI is a cinch to use, but doesn't work on FAT32 partitions, so editing is a little more complicated if 2000/XP is in a FAT32 partition. To edit boot.ini in a FAT32 partition, first temporarily unhide the partition so it is accessible when you boot to DOS or Win9x. Carefully determine which drive letter the 2000/XP partition will be assigned by DOS/Win9x when rebooted--remember, drive letters may change depending on what partitions are visible. Reboot. Change the hidden and system file attributes of the boot.ini file so you can edit it. Make the edit, as per above, using any ordinary text editor like edit.com (DOS) or notepad.exe (Win9x).
Note: recent versions of DriveImage and Ghost may be sophisticated enough to alter the boot.ini value automatically when the image is restored. Always check the boot.ini values, but you may or may not have to manually change them.
Back