Jump to content

How to securely format a hard drive?

ice856

How to format a hard drive so that all the trace of the file disappear completely, without any chance to be recovered?

PC Spec :

Processor : AMD Ryzen 5 3400G  ; Motherboard : MSI B450 A-Pro MAX ; RAM : Corsair Vengeance LPX White 2 x 8Gb

GPU : Sapphire RX 5500 XT 8GB Pulse ; PSU : Cooler Master MWE Gold 750W, 80+Gold ; SSD : Samsung 860 EVO 250GB ; HDD 2 x WD Blue 1TB 3.5" ; Toshiba 1TB 2.5"

 

Link to comment
Share on other sites

Link to post
Share on other sites

DBAN - Dariks Boot and Nuke

It will wipe the entire contents of a drive, so if there's anything at all on the drive you don't want erased, make sure you copy it off to a different drive.
Unplug any storage drives you don't want erased.

CPU: Intel i7 6700k  | Motherboard: Gigabyte Z170x Gaming 5 | RAM: 2x16GB 3000MHz Corsair Vengeance LPX | GPU: Gigabyte Aorus GTX 1080ti | PSU: Corsair RM750x (2018) | Case: BeQuiet SilentBase 800 | Cooler: Arctic Freezer 34 eSports | SSD: Samsung 970 Evo 500GB + Samsung 840 500GB + Crucial MX500 2TB | Monitor: Acer Predator XB271HU + Samsung BX2450

Link to comment
Share on other sites

Link to post
Share on other sites

As @Spotty said, DBAN is excellent for that kind of stuff.

 

CCleaner also has a good drive wiper that lets you overwrite the entire drive 1, 3, 7 or 35 times with random 1s and 0s. 

1 or 3 times will be enough for any undelete program, 7 times would be enough to make recovery impossible even for 3-letter agencies.

Link to comment
Share on other sites

Link to post
Share on other sites

48 minutes ago, ice856 said:

How to format a hard drive so that all the trace of the file disappear completely, without any chance to be recovered?

You can't.  You can format all you want, but Data Recovery software can still find your files.  Bottom line do not sell your hard drive.

Asus Sabertooth x79 / 4930k @ 4500 @ 1.408v / Gigabyte WF 2080 RTX / Corsair VG 64GB @ 1866 & AX1600i & H115i Pro @ 2x Noctua NF-A14 / Carbide 330r Blackout

Scarlett 2i2 Audio Interface / KRK Rokits 10" / Sennheiser HD 650 / Logitech G Pro Wireless Mouse & G915 Linear & G935 & C920 / SL 88 Grand / Cakewalk / NF-A14 Int P12 Ex
AOC 40" 4k Curved / LG 55" OLED C9 120hz / LaCie Porsche Design 2TB & 500GB / Samsung 950 Pro 500GB / 850 Pro 500GB / Crucial m4 500GB / Asus M.2 Card

Link to comment
Share on other sites

Link to post
Share on other sites

You could encrypt the whole drive with bitlocker, and then delete the partition and overwrite it with 1's or 0's a couple of times.

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/24/2019 at 6:50 AM, Turtle Rig said:

You can't.  You can format all you want, but Data Recovery software can still find your files.  Bottom line do not sell your hard drive.

so explain how can data recovery software recover my files..there are even

zipbombs designed specifically to owerwrite files with random small files..size depends how large ssd u have..

 

Link to comment
Share on other sites

Link to post
Share on other sites

9 hours ago, aqarwaen29 said:

so explain how can data recovery software recover my files..there are even

zipbombs designed specifically to owerwrite files with random small files..size depends how large ssd u have..

 

I believe @Turtle Rig was specifically referring to reformatting a drive.

Performing a quick format on a drive doesn't erase the data on the drive, you just lose the file table which points the drive to where the files are located. The 0s and 1s are still physically located on the disc.  It's still possible to go through and scan the drive finding all the data stored on it. Under normal use the pre-existing data will be overwritten by new data being written to the drive.

 

However, like you mentioned there are tools that will go over a drive and rewrite the entire drive, sometimes multiple times. This physically changes the 0s and 1s stored on the disc so the old data can't be read. Depending on the size of the drive, and the number of times to rewrite over the files, this can take several hours (or even days) to perform.

 

If you're keeping the drive and you just want to reuse it in a different system - format

If you're selling the drive to someone else - data destruction by rewriting over the drive (DBAN, et all)

If you're disposing of an old or broken HDD - physical destruction of the platters.

CPU: Intel i7 6700k  | Motherboard: Gigabyte Z170x Gaming 5 | RAM: 2x16GB 3000MHz Corsair Vengeance LPX | GPU: Gigabyte Aorus GTX 1080ti | PSU: Corsair RM750x (2018) | Case: BeQuiet SilentBase 800 | Cooler: Arctic Freezer 34 eSports | SSD: Samsung 970 Evo 500GB + Samsung 840 500GB + Crucial MX500 2TB | Monitor: Acer Predator XB271HU + Samsung BX2450

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, peacefulpolarbear said:

CCleaner 35 pass erase. That shit is supposed to be good enough for the DoD.

On today's drives, that's way overkill, like using a cannon to take out a fly at five paces. One pass is sufficient for probably even three letter agencies but, if you're really paranoid (I confess to that ? ), three passes will definitely be more than adequate, even for three letter agencies. Keep in mind the Government standards for number of passes were created when HDDs were much smaller capacity and the cylinders (tracks) were much wider than they are now, meaning some residual magnetism could linger on the edges of the cylinders which could be detected with the right equipment and software. Today's much narrower cylinders are far less likely to have any remnants lurking on the edges after a single pass. 

Jeannie

 

As long as anyone is oppressed, no one will be safe and free.

One has to be proactive, not reactive, to ensure the safety of one's data so backup your data! And RAID is NOT a backup!

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×