Deleting partitons on a hard disk - all at once

Jonathan Rawle jr36 at leicester.ac.uk
Thu Jun 16 11:37:16 UTC 2005


Neil Marjoram wrote:

> Quick question,
> 
> Can anyone tell me if there is a quick way to delete all partitions on a
> hard disk? I know it's dangerous, but I would like to use a CD based
> distribution, open up a terminal and type in a simple command to delete
> all the partitions on a hard disk, or script the boot script to delete
> them for me.
> 
> This has come about due to troubles with FC4 and RHEL4 whilst doing
> reinstallation using kickstart, it seems that if partitions exist on the
> disk the kickstart will fail.
> 
> Many thanks,
> 
> Neil.
> 

You could try Darik's Boot and Nuke. This will wipe and disks in your system
automatically, and it particularly useful for wiping disks clean if you
want to sell them on etc.

http://dban.sourceforge.net/





More information about the users mailing list