Here is the "Write MBR code on First Sector""
Also, the "Advanced File System Utilities (with a create image option):
And lastly (for now), my Protective MBR:
Code:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|1+0 records in 1+0 records out * 512 bytes (512 B) copied000001b0 00 00 00 00 00 00 00 00 f3 b6 56 39 00 00 00 00 |..........V9....| 000001c0 01 00 ee fe ff ff 01 00 00 00 2f 60 38 3a 00 00 |........../`8:..| 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| , 0.0243357 s, 21.0 kB/s * 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200
Thank you! I'm off to my reading list.
TM
, but except for that cryptic message from TestDisk re a damaged sector (relative, I believe), I'm not sure what you have to fix here. Maybe that sector IS damaged! Would that cause all this? Starman tells you what that relative sector is, if you read carefully. Starman does neat work, I learned a lot from him doing GRUB Legacy with MBR, I hope he finishes that page I linked to above.
I had concluded that the bad HDD was using a MBR, not a GPT -- gdisk says there is no GPT. But then this EFI-GPT stuff pops up again. Btw, in a GPT, ALL partitions are primary. None are bootable. BUT, in EFI booting, one GPT partition is special, the EFI System Partition -- the ESP. It is small, 100-500 MB, FAT32, and may have a "boot" flag on it or type EF00 (a "boot" flag does not mean the same thing as"bootable" as we are used to with MBR; it is only a flag to indicate type EF00 or ESP). I was hoping to see all this when you ran sudo gdisk -l /de/sdx, where sdx = the bad HDD. You may have some sort of hybrid MBR-GPT, I'm not sure.
Leave a comment: