Quote:
Originally Posted by smallpond
Try:
Code:
blockdev --getro /dev/disk2
If it prints "1" then the device has been set read-only.
|
It is set to "0" and I can also write data with dd but simply cannot bring the HDD back to live because of the deep formatting. It seems that I would need to rewrite the GPT somehow manually. One thing is that this is a 512B/4096 drive but most of the newer drives are 4k drives.
sudo gpt -vv show /dev/disk2
gpt show: /dev/disk2: mediasize=3000592982016; sectorsize=512; blocks=5860533168
5860533168 = 732566646 (4k)
sudo dd if=/dev/zero of=/dev/disk2 bs=4k seek=732566500 --> writes properly 46 blocks
Any idea? I really tried anything I can find. But I somehow need to recover the GPT.