Saturday, April 20, 2024
42
rated 0 times [  42] [ 0]  / answers: 1 / hits: 41793  / 2 Years ago, thu, november 18, 2021, 1:48:08

How can I do a disk low level formatting in Ubuntu on an external hard disk so that any data recovery tools like test-disk or photorec cannot retrieve any data once formatted to ext4 or any file-system? As I was playing around with Test disk, I found that it can recover almost all old files even after formatting it many times and I want to use my external hard disk as new because it is only one year old and in warranty but without any old data.


More From » partitioning

 Answers
5

I use shred when selling old hard drives, use man shred for more information:



shred -vzn 0 /dev/xxx


You can specify n number of times to overwrite and z to overwrite it all with zeros at the end.


[#19249] Thursday, November 18, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
biryanrownies

Total Points: 396
Total Questions: 90
Total Answers: 106

Location: Saint Lucia
Member since Sun, Sep 5, 2021
3 Years ago
biryanrownies questions
Wed, Sep 7, 22, 18:13, 2 Years ago
Fri, Dec 3, 21, 02:50, 2 Years ago
Sat, Feb 12, 22, 16:02, 2 Years ago
Sat, Apr 15, 23, 09:22, 1 Year ago
;