Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×
User Journal

Journal: Erase disk / partition table

In linux just use dd to write 512 zeros to /dev/hda (or /dev/sda or whatever the base drive is) for example

dd bs=1 count=512 if=/dev/zero of=/dev/hda

That will wipe the boot block clean, then you can use it like a brand new drive.

Or if you want, just zero out the partition table using a seek=446 and a count=64 instead of the count=512

Thanks PalmKiller

"Just think, with VLSI we can have 100 ENIACS on a chip!" -- Alan Perlis

Working...