-
Senior Member
registered user
ok, here goes, if you type wrong drive number you will wipe wrong drive beyond easy repair, so take care.
first you become "superuser" or more correctly root.
everything you do from now is dangerous.
first you find name of drive by typing on a commandline.
the outout wil be something like
Disk /dev/sdb: 7948 MB, 7948206080 byte
Enhet start end Block Id System
/dev/sda1 * 11 19166 7757824 83 Linux
(yeah I am using a pen-drive just now)
this tell me that I have only one drive called sda and only one partition called 1
a ATA drive would show up as hda for first drive, hdb for second, hdc for third...
a SCSI or SATA drive would show up as sda for first drive, sdb for second, sdc for third...
partitions are merely numbers 1, 2, 3...
wiping the disk I write
Code:
dd if=/dev/urandom of=/dev/sda&&dd if=/dev/zero of=/dev/sda
this wil first write "random" data to the entire drive bit by bit, in the process wrecking any partitiontable, filesystem... then it will write zero's to entire drive bit by bit (yeah, will take a while).
if you just wanted data to be fairly well destroyed so you could start anew, here you go.
if not enough, now for second step.
make disk one large partition and encrypt entire drive, that is a bit more than I can write here, but here you have one link (search web for more, there is a lot out there).
http://www.tldp.org/HOWTO/html_singl...ryption-HOWTO/
Actually you could likely do it using RSA/SHA like if it was a textfile or E-mail.
use sha or rsa on /dev/XYZ as if it was a file
if you want a "deeper wipe" repeat ALL steps above 25 times/disk
if you want data 100% gone you are out of luck as to simpel computer code, according to authorities only way to be 100% certain is if you melt them down and almost have to stir the thing according to some (not likely needed imho as the magnetic properties will be gone past curie point)
Last edited by OErjan; 03-12-2011 at 07:58 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W
$254.97