Notifications
Clear all

Wipe Drive

6 Posts
4 Users
0 Reactions
510 Views
(@bluedragon)
Trusted Member
Joined: 18 years ago
Posts: 60
Topic starter  

Hi,

I have a Computer that is spoil and I could not boot up the OS.

As such I will like to take out the hard disk and wipe it.

I have tried but the PC I attached the disk to cannot detect it. What approach can I use to wipe the hard disk since I can't detect it?

Thanks!


   
Quote
(@itagent2000)
Eminent Member
Joined: 17 years ago
Posts: 31
 

connect the drive to wipe via usb to another computer,
start this computer with a Knoppix_CD (Download www.knopper.net)
open a console
su (become root)
fdisk - lu (shows the connected devices)
if your disk to wipe is e. g. sda1 then
dd if=/dev/zero of=/dev/sda1 (=wipe command)
that"s it
be sure to wipe the right disk! Good luck
Chris


   
ReplyQuote
(@bluedragon)
Trusted Member
Joined: 18 years ago
Posts: 60
Topic starter  

Chris,

Thanks for your reply.

I have a computer with dual boot with Ubuntu on it, can I use your method?

I'm not familiar with Linux, can you guide me along?


   
ReplyQuote
(@itagent2000)
Eminent Member
Joined: 17 years ago
Posts: 31
 

yes, you can do the same with Ubuntu, same commands
regards Chris


   
ReplyQuote
(@bgrundy)
Trusted Member
Joined: 19 years ago
Posts: 70
 

dd if=/dev/zero of=/dev/sda1 (=wipe command)

Note that that will only wipe a single partition. Use /dev/sda to get the whole disk (/dev/sda, not /dev/sda1). And for the love of everything holy, make sure /dev/sda is the correct disk from you fdisk -l output…

be sure to wipe the right disk! Good luck
Chris

Yeah…what he said.

the /dev/xxx designation is completely dependent on your system configuration. If your primary internal boot drive is serial ATA, then sda is likely to by your OS disk and you DO NOT want to run the dd command on that. Look at the fdisk -l output carefully…


   
ReplyQuote
(@markunread)
Active Member
Joined: 20 years ago
Posts: 10
 

You could also use Darvik's Boot and Nuke, this works well if you can boot the machine from a CD or you could connect it to another computer if that is not working. Just make sure you wipe the correct disk! As has been mentioned several times already, but I've wiped the wrong disk and it wasn't fun!

Link Here
http//dban.sourceforge.net/

HTH


   
ReplyQuote
Share: