Advertisement
zombah

zero mbr sgdisk 2

Mar 2nd, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. # dd if=/dev/urandom of=/dev/mmcblk1 bs=512 count=1 && echo -ne "\x55\xAA" | dd
  2. of=/dev/mmcblk1 bs=1 seek=510
  3. 1+0 records in
  4. 1+0 records out
  5. 2+0 records in
  6. 2+0 records out
  7. #
  8. # sgdisk -p /dev/mmcblk1
  9. Invalid partition data!
  10. # sgdisk -og /dev/mmcblk1
  11. Invalid partition data!
  12. Information: Creating fresh partition table; will override earlier problems!
  13.  
  14. Warning! Mismatched GPT and MBR partition! MBR partition 1, of type 0x0D,
  15. has no corresponding GPT partition! You may continue, but this condition
  16. might cause data loss in the future!
  17.  
  18. Warning! Mismatched GPT and MBR partition! MBR partition 2, of type 0xF6,
  19. has no corresponding GPT partition! You may continue, but this condition
  20. might cause data loss in the future!
  21.  
  22. Warning! Mismatched GPT and MBR partition! MBR partition 3, of type 0x59,
  23. has no corresponding GPT partition! You may continue, but this condition
  24. might cause data loss in the future!
  25.  
  26. Warning! Mismatched GPT and MBR partition! MBR partition 4, of type 0x1E,
  27. has no corresponding GPT partition! You may continue, but this condition
  28. might cause data loss in the future!
  29.  
  30. Problem: MBR partitions 1 and 3 overlap!
  31.  
  32. Problem: MBR partitions 1 and 4 overlap!
  33.  
  34. Problem: MBR partitions 2 and 3 overlap!
  35.  
  36. Problem: MBR partitions 2 and 4 overlap!
  37.  
  38. Problem: MBR partitions 3 and 4 overlap!
  39. [ 384.334216] mmcblk1: p1() p2(LNX) p3(MBR)
  40. Warning! An error was reported when writing the partition table! This error
  41. MIGHT be harmless, or the disk might be damaged! Checking it is advisable.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement