Windows – the safest way to create a boot sector on an existing system drive

bootwindows

I have 2 drives in my PC one is primary master and used to be the system drive with windows XP installed. The second one is secondary and has Windows 7 installed that I'm using as the operating system. I want to decommission the old hard drive with XP and re-plug the Windows 7 one as the primary master so I could boot from it.

What is the safest way for me to write the correct boot sector on the Windows 7 hard drive so I don't ruin my Windows 7 installation?

Best Answer

  • The utility to write Windows 7 boot sectors - bootsect.exe - part of Windows 7 Recovery.

    bootsect /nt60 c: /mbr

    writes bootsector in Win 7 format to c: and Windows MBR to disk where DOS_drive (partition) "c:" is placed.

    Windows 7 install (also StartUp Repair) usually writes PBR to active partition and to partition where Win 7 system is installed. (active and installation partition can be different partitions !)

    bootsect /nt60 ALL /mbr

    writes Win 7 boot sectors to all Windows partitions (NTFS, FAT32) excluding "foreign" Linux partitions. MBR is written to first disk.

  • Related Question