My Notes

Linux: Erase/clean MBR(partition table included) of a (pen)drive/block device using dd command

MBR size is (in bytes): 446 + 64 + 2 = 512

446 bytes - Bootstrap code.
64 bytes - Partition table.
2 bytes - Signature.

So
# dd if=/dev/zero of=/dev/sdb bs=512 count=1
cleans everything in the MBR.
No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Links...

  • My Home
  • My Github
  • My Research
  • My Notes
  • My Poems
  • My Bookshelf
  • Disclaimer

Blog Archive

  • ►  2018 (4)
    • ►  November (1)
    • ►  October (1)
    • ►  February (1)
    • ►  January (1)
  • ▼  2017 (13)
    • ▼  November (1)
      • Linux: Erase/clean MBR(partition table included) o...
    • ►  October (1)
    • ►  September (1)
    • ►  June (4)
    • ►  May (3)
    • ►  March (3)
  • ►  2015 (3)
    • ►  April (2)
    • ►  February (1)
  • ►  2014 (53)
    • ►  November (2)
    • ►  October (4)
    • ►  September (6)
    • ►  August (41)
Simple theme. Powered by Blogger.