So I messed up big time and ran:

sudo dd if=~/Downloads/linuxmint-19-cinnamon-64bit-beta.iso of=/dev/sdb bs=1M

while having my HDD still in and it made the HDD the bootable device instead of another USB I had plugged in.

Any simple tricks to reverse this or fix it? It isn't appearing as a HDD anymore.

  • when you way " It isn't appearing as a HDD anymore." how does an HDD appear in that context?
    – Jasen
    Dec 15, 2018 at 10:52

1 Answer 1


well you've hosed the start of that disk.

repair could be tricky

if you want to recover files "photorec" will get some of your data back.

if you want to reverse that you'll probably have to start by redoing the partiton table, and you'll end up with an empty disk.

  • there were two questions, I missed one of them.
    – Jasen
    Dec 15, 2018 at 10:53

Not the answer you're looking for? Browse other questions tagged .