Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to wipe (securely erase) a specific part (the last third) of a partition, wiping the whole partition free space is not an option (as other regions contain deleted data that must stay recoverable).

The only idea I can see now is to truncate the partition, create a new partition on the place to wipe and wipe it.

Isn't there a better way? A wiping tool which can start wiping from a specific offset (given in gigagabytes)?

The file system is NTFS, the OS is Windows 7 but I wouldn't mind using a LiveCD of a sort.

share|improve this question
I don't think the FS would remain intact after you start shredding it. Why don't you save down the data you need and wipe the disc with nuke n boot for example? – Shiki Oct 30 '12 at 10:50
up vote 1 down vote accepted

You could use *nix dd (available on any Linux Live CD) with /dev/urandom as source. seek parameter will tell dd how many blocks to skip on destination device. You may also run it several times of course to make sure any residual is gone. This thread has lots and lots of examples on dd usage.

Warning: dd is very powerful and very indiscriminate. It will happily chew you hdd dead faster than you say 'Oh my..' if you did something wrong!

Make an image of your drive before you start (which dd can be used for as well)

Note: You could also test all your changes on an image which is generally safer, and said image can be also mounted similar to real hdd (so called loop device)

share|improve this answer
An elegant idea. I didn't knew of the seek parameter to skip blocks on destination device. I used to use dd for making images. But this way seems to be not fool-proof at all and I have actually no chance to backup the HDD. I think I am going just try this on a different drive first. – Ivan Oct 30 '12 at 12:55
@Ivan Certainly not foolprof :-) btw You may also want to use -count to limit number of blocks written; and make sure partitions you alter are not mounted. – wmz Oct 30 '12 at 13:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .