MBR

来自Shiyin's note
跳到导航 跳到搜索

linux下去除MBR

dd if=/dev/zero of=/dev/sda bs=466 count=1

只去除MBR的引导信息

dd if=/dev/zero of=/dev/sda bs=512 count=1

去除分区表信息

win7恢复MBR

光盘启动后,运行 Command Prompt,然后输入

bootrec.exe /fixmbr

bootrec.exe的其它选项

  • /FixBoot. Writes a boot sector onto the system partition to start Windows
  • /ScanOs. Scans all disks for Windows installations and displays them to you.
  • /RebuildBcd. Scans all disks for Windows installations and prompts you to pick the ones you want to add to the BCD.