Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2384  / 1 Year ago, sun, december 25, 2022, 6:29:34

I did the command



sudo wipe /dev/sdb


where /dev/sdb is my 1TB HDD and I got a "command not found" message. How would I be able to prepare the drive for new OS? Wipe it, I mean.



Thanks


More From » fdisk

 Answers
7

This will wipe all partitions, MBR, and data. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



dd if=/dev/zero of=/dev/sdx bs=1M


Note: You need to replace x with the device name you want to overwrite. Also make sure that you really want to do this, because it might not be reversible. So make sure that you have a backup of anything that you want off the drive before attempting this.


[#28483] Tuesday, December 27, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ickump

Total Points: 234
Total Questions: 124
Total Answers: 111

Location: Jordan
Member since Fri, Apr 8, 2022
2 Years ago
;