Fixboot Command Availability

This command is only available from within the Recovery Console in Windows 2000 and Windows XP.

Fixboot Command Syntax

fixboot (drive) drive = This is the drive that a boot sector will be written to and will replace the system partition that you’re currently logged on to. If no drive is specified, the boot sector will be written to the system partition that you’re currently logged on to.

Fixboot Command Examples

Below is an example showing how to use the fixboot command.

Write the Boot Sector to C:

In this example, the boot sector is written to the partition that’s currently labeled as the C: drive—most likely the partition you’re currently logged on to. If that is the case, this command could be run without the c: option, as simply fixboot.

The bootcfg, fixmbr, and diskpart commands are often used with the fixboot command.