[SATLUG] Hard drive partitioning
R P Herrold
herrold at owlriver.com
Tue Nov 20 20:55:23 CST 2007
On Tue, 20 Nov 2007, Justin Burdette wrote:
> Is there a way to just remove all of the partitions and start over?
*warning* -- all partition table, and thus all content will be
lost.
As root, do this:
dd if=/dev/zero of=/dev/hda count=1 bs=512
And the drive is 'like new' as it no longer has any partition
information, nor the 'magic numbers' which indicate a
partition table exists at the locations a BIOS, and fdisk or
parted look. Sadly no such command exists to roll back the
_hours_ on a drive.
-- Russ Herrold
More information about the SATLUG
mailing list