Using Win 7 bootsect tool

1

With bootsect.exe /nt** e: I assume, despite bootsect.exe help speaks of "master boot code", it is intended to apply the partition boostrap code to the partition identified by letter E:.

Given this, when the /mbr switch is used, are both the master boot code and the partition boot code updated or only the former?

antonio

Posted 2013-06-30T17:45:47.527

Reputation: 647

Answers

0

bootsec help says:

Bootsect.exe updates the master boot code for hard disk partitions in order to switch between BOOTMGR and NTLDR.

(Just in case) Microsoft "master boot code" definition is the standard one related to MBR:

The MBR contains a small amount of executable code called the master boot code, the disk signature, and the partition table for the disk.

Based on lifewire.com how-to:

Sometimes the volume boot code, part of the volume boot record that resides on the drive that Windows is installed on, can become corrupt or accidentally reprogrammed to use the wrong boot manager. [...]
Luckily, correcting volume boot code errors is easy with the bootsect command, a boot sector restore tool only available from the Command Prompt.
[...] At the prompt, type the bootsect command as shown below and then press Enter:

bootsect /nt60 sys

See also terabyteunlimited.com:

When the Windows system (booting) partition's boot sector is corrupted or otherwise contains invalid code for the version of Windows on the partition, it must be repaired before the partition will boot properly. [...] the boot sector can be updated manually by using the bootsect.exe program.

The master boot sector is never mentioned, because by default the command fixes the partition boot sector, otherwise told volume boot sector, so the VBR and not the MBR. Therefore Microsoft documentation should be fixed too, removing the word 'master': "Bootsect.exe updates the boot code for hard disk partitions".

Of course, the default behaviour can be changed and have the tool acting on the MBR too, and this is the reason why the /mbr switch exists.

antonio

Posted 2013-06-30T17:45:47.527

Reputation: 647