pv -tpreb /dev/zero | sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1 .

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
cladion
Posts: 2
Joined: 22 Sep 2017, 21:33

pv -tpreb /dev/zero | sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1 .

#1 Post by cladion »

Hi,

I executed

pv -tpreb /dev/zero | sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1

to render an unit unusable.

Can Testdisk help to undo this?

Locked