LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-13-2019, 10:30 PM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,626

Rep: Reputation: 276Reputation: 276Reputation: 276
Lightbulb Securely Erase HDD


Hello guys, anyone use this: Darik's Boot and Nuke?
Is it friendly to the hard drive, i'm afraid after using the hard disk can't be reused anymore.

Or any suggestion to securely erase a HDD? (Using a Linux Live CD)

Thanks.

Last edited by JJJCR; 08-13-2019 at 10:31 PM. Reason: Edit
 
Old 08-14-2019, 04:05 AM   #2
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,076

Rep: Reputation: Disabled
A lot of people use a program called shred - https://www.howtoforge.com/how-to-se...ves-with-shred
 
1 members found this post helpful.
Old 08-14-2019, 04:38 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 2,912

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
As long as it's a spinning platter drive; I'd zero it out with dd, do at least a couple passes. Then make sure it's all just zero's.

Last edited by jsbjsb001; 08-14-2019 at 05:07 AM. Reason: forgot "with".
 
1 members found this post helpful.
Old 08-14-2019, 09:18 PM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,626

Original Poster
Rep: Reputation: 276Reputation: 276Reputation: 276
Question

Quote:
Originally Posted by jsbjsb001 View Post
As long as it's a spinning platter drive; I'd zero it out with dd, do at least a couple passes. Then make sure it's all just zero's.
Need to mount the platter in rw? Then do dd using a live CD?
 
Old 08-15-2019, 02:31 AM   #5
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 2,912

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
No, you don't need to mount the drive you want to wipe, and it wouldn't be a good idea to mount it. It depends on whether or not the drive has your system on it (that you want to keep) - obviously you wouldn't wipe a drive that you're currently running your system off of. That said, I guess the live system option is probably the "safest" way to do it. Just make sure you target the drive you want to wipe, and remember it will wipe the whole drive if you zero it out - I personally regardless of what I'm using dd for, triple check that I'm targeting the correct drive.

The following links have some examples of both wiping drives with dd by zeroing them out, and also to check that it's all just zeros after dd has finished (you'll have to scroll down the pages a bit to see the examples relevant to your case tho).

http://wiki.linuxquestions.org/wiki/Some_dd_examples
https://wiki.archlinux.org/index.php/Securely_wipe_disk
 
1 members found this post helpful.
Old 08-19-2019, 08:44 PM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,626

Original Poster
Rep: Reputation: 276Reputation: 276Reputation: 276
Thanks, I did dd if=/dev/urandom of=/dev/sda

It's a 1TB and 5 hours has passed still not finish, I just cancelled it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose sonia49 Linux - Newbie 1 09-28-2016 08:52 PM
How to securely erase the old hard disc before dumping? satimis Linux - General 17 07-31-2012 05:53 PM
Secure Erase causes HDD to stop being detected galapogos Linux - Hardware 4 07-16-2010 10:17 PM
Secure erase HDD from within itself paddyrooney Linux - Security 4 12-16-2009 04:20 PM
alter boot floppy to auto erase hdd then shutdown NewtonMan Linux - Software 3 11-14-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration