PDA

View Full Version : wiping a harddrive



dosed150
November 22nd, 2005, 11:18 PM
how would i completly wipe all data on a hard drive i need more hard drive space so im canibalising my old pc

Nu-Buntu
November 22nd, 2005, 11:20 PM
If you are adding it as a second drive to a current Ubuntu installation, just use gparted or qtparted. In Windows or DOS, try fdisk.

gord
November 22nd, 2005, 11:21 PM
you'll be looking for a command called 'format'.

dosed150
November 22nd, 2005, 11:21 PM
yeh ill be adding it to this ubuntu pc from my old windows me pc

jdong
November 23rd, 2005, 01:18 AM
Put it in, then go to System->Administration->Disks... Select the new disk drive, and partition it accordingly.

Note that to extend onto this new disk, you have to use LVM. Other, you'll need to mount it to a new folder, and start putting stuff in there.

Dragineez
November 23rd, 2005, 04:47 AM
OOO! OOO! Call on me! I know the answer! Three weeks into converting to Linux and someone finally asked a question I know the answer to! Actually, I've gained an uncomfortable level experience with this, having done numerous install, nuke, reinstall cycles (just for fun you know, not to correct my FUs). If you REALLY want to totally nuke the disc, try shred.

professor_chaos
November 23rd, 2005, 05:24 AM
Or a big magnet.... :) :) :) :) ;)

narcolept
November 23rd, 2005, 06:30 AM
sudo fdisk /dev/drivelabel(just hda,hdb,etc)

Then follow the directions. erase all partitions, create a new partition(s). Write to disk, then make a filesystem


sudo mkfs -t ext3 /dev/hdwhatever

blastus
November 23rd, 2005, 07:30 AM
DBAN (http://dban.sourceforge.net/). It's the best open source program out there.

migo
November 23rd, 2005, 12:06 PM
To wipe all data, you'll need to do a low level format, that's only an issue if you don't want it to be recoverable by any means.

narcolept
November 23rd, 2005, 02:21 PM
It sounds like the OP was just looking to clear out his disk in order to use it as a linux partition.

dosed150
November 23rd, 2005, 06:28 PM
yeh thats what i want to have it as a second harddrive on this ubuntu system

thanx everyone