Files
linux-wiki/content/deepin折腾笔记/第四章/4.8.md
2021-10-21 14:57:58 +08:00

6 lines
341 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 4.8 备份还原硬盘 MBR
备份MBRsudo dd if=/dev/sdX of=/path/to/mbr bs=512 count=1
还原MBRsudo dd if=/path/to/mbr of=/dev/sdX bs=512 count=1
MBR只还原分区表sudo dd if=/path/to/mbr of=/dev/sdX bs=66 skip=446 count=1
MBR清空引导记录sudo dd if=/dev/zero of=/dev/sdX bs=446 count=1