The hard drive is the primary storage area of data divided into multiple partitions. Each partition contains its own boot sector volume. The volume boot sector is different from the master boot sector, which controls the entire hard drive, but is similar in function. This concept is also known as a volume boot record or partition boot sector.
How to write a new boot sector partition for Windows XP
When the boot sector partition is badly damaged or unreadable, use the command fixboot to write a new boot sector partition to a Windows XP system. Fixboot is available in Recovery Console.
This is necessary when the boot sector partition has been corrupted by a virus or is unstable due to a configuration problem. Writing a new boot sector partition to the Windows XP system partition takes less than 15 minutes.
How to use Fixboot
You need to enter the Windows XP Recovery Console. Recovery Console is Windows XP's advanced diagnostic mode with special tools that allow you to write a new boot sector partition to the Windows XP system partition.
Here's how to enter Recovery Console and write a new boot sector partition to repair a damaged or unstable boot sector partition in Windows XP.
1. Boot your computer from the Windows XP CD by inserting the CD and pressing any key when you see the message Press any key to boot from CD.
2. Wait while Windows XP starts the setup process. Do not press the function key (Fn) even if you are prompted to do so.
3. Press R when you see the screen Windows XP Professional Setup to enter Recovery Console.
4. Select Install Windows. There is probably only one option.
5. Enter the admin password.
6. When you reach the command line, type the following, and then press Enter.
7. Utilities fixboot writes a new boot sector partition to the current system partition. This command fixes any problems where the partition boot sector is present and undo any partition boot sector configuration that might be the cause of the problem.
8. Remove the Windows XP CD, type exitand then press Enter to restart your PC.
Assuming that a damaged or unstable boot sector partition is the only problem, Windows XP will boot normally.
How to write a new boot sector partition in Windows Vista / 7/8 / 10
If the boot sector partition is damaged or incorrectly configured in some way, Windows will not be able to boot properly, causing an error like "BOOTMGR is Missing" to appear during the boot process.
The solution for the corrupted boot sector partition is to overwrite it with a new, properly configured, through the use of a command. bootrec, a relatively easy process anyone can do.
The following instructions apply to Windows 10, Windows 8, Windows 7, and Windows Vista.
1. Start with Advanced Startup Options (Windows 10 & 8) or System Recovery Options (Windows 7 & Vista).
2. Open Command Prompt.
Note: Command Prompt is available from the menus Advanced Startup Options andSystem Recovery Options is similar to the one available in Windows and works very similarly between operating systems.
3. At the prompt, enter the command bootrec as shown below and then press Enter:
Comeinand bootrec will write a new boot sector partition to the current system partition. Any configuration problems or damage to the existing boot sector partition is corrected.
4. You will see the following message at the command line:
The operation completed successfully.
And then a cursor flashes at the prompt.
5. Restart the computer by pressing Ctrl + Alt + Del or manually via reset button or power button.
Assuming that the problem with the partition boot sector was the only problem, Windows should boot normally immediately. If not, continue to fix any specific issues that prevent Windows from starting normally.
Important Note: Depends on how you get started Advanced Startup Options orSystem Recovery OptionsYou may need to remove the disc or flash drive before rebooting.
Hope you are succesful!