I currently bought a new harddrive. This one was put in as Primary/slave. After having tried to install Linux, I ended up screwing up the MBR on the second disk. My question is how I can reset the MBR on the second physical disk drive. I have tried the "fdisk /mbr" command, and it successfully (and unfortunately...) wipes the mbr of the first disk. Will I have to disconnect the first drive, and then put my new one up as the first hard-drive to be able to reset the MBR?
Do you have additional information on FDISK /MBR?
FDISK /MBR is an undocumented Microsoft DOS command available in MS-DOS 5.0 and above. MBR is short for Master Boot Record. When doing FDISK /MBR it will reinstall the first 446 of 512 bytes of information with zeroes effectively rewriting the executable code and data strings that may currently be residing there. The remainder of the 512 bytes is the boot settings which tells the computer how to boot. These settings are left alone.
Q.) Does doing FDISK /MBR more then one time have any effect on the computer?
A.) As you can see in the above explanation on FDISK /MBR this command will only rewrite the executable information with zeroes. Therefore if this command is done more then once it will only be rewriting the zeroes with additional zeroes and have no additional affect.
Q.) How can I recreate the Master Boot Record on a different hard disk drive other then my primary hard disk drive?
A.) Use FDISK /CMBR <drive number> where 'drive number' represents the drive you wish to recreate the master boot record. To determine this number run fdisk and display the partition information.