Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

Linux 讀取 MBR 引導區資訊:dd 備份與 hexdump 解析分區表

編輯:關於 Linux

備份 MBR

dd if=/dev/sda of=mbr.hex bs=512 count=1

解析內容

hexdump -C mbr.hex

  • 位移 0x1BE 起始為四筆分區記錄(各 16 位元組)。
  • 最後兩位元組 55 AA 為有效磁碟標誌。
  • 分區類型碼(如 83=Linux、8e=LVM)位於各記錄第 5 位元組。

結語

dd + hexdump 即可完整備份並解讀 MBR,掌握分區佈局與開機標誌,為磁碟救援奠基。

Copyright © Windows教程網 All Rights Reserved