Sunday, July 16, 2006

Procedure to restore the boot loader in Windows XP

Procedure to restore the boot loader

When Windows 98 is installed in a computer when Windows XP is already installed, boot loader will be overwritten, and not appended. That is, there will not an option to choose between operating systems at boot time, instead Windows 98 is automatically started at each boot time.

In order to restore the boot loader to show the choice of booting between both Windows 98 and Windows XP, here is the procedure:

Step 1: Create a Windows 98 bootable floppy disk.

Step 2: Create a text file with the following entries, exactly as shown below:

L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q

Now save this text file in the Windows 98 bootable floppy disk as READ.SCR

Step 3: Reboot the computer with the floppy disk and type the following at the A: prompt DEBUG READ.SCR

IMPORTANT: Insert the symbol "<" between the two words DEBUG and READ.SCR, and type it as a single string. Blogger is showing HTML errors when the whole string is typed.

Step 4: Now configure the BIOS to boot from the CD/DVD ROM drive. Insert Windows XP CD and let the computer boot from the CD.

Step 5: At the XP installation, there will be an option to install Windows XP or repair the existing installation, chose repair.

Step 6: Choose the XP installation that has to be repaired. Considering that there is only one XP installed on the computer, press 1.

Step 7: At the console, the password has to be entered. For Windows XP Home users, just press enter. For Windows XP Professional users, enter the password that has been entered for the administrator account at the time of installation. If there is no password entered, just press enter.

Step 8: At C:\Windows prompt type FIXBOOT. There is a confirmation prompt, accept it.

Step 9: Once the boot loader is fixed, remove the XP CD from the drive, and reboot the computer by pressing Ctrl+Alt+Del.

Now you should find that there is an option between Windows 98 and Windows XP at startup.

No comments: