cleaning a vista drive

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

cleaning a vista drive

Post by s.dot »

Hey guys.

I've currently got a 149 GB hard drive that I've done many many things on. OS switches, dual boots, upgrades, and most recently windows vista. I ran a data recovery tool last night to recover a php script I deleted (and i got it back, which is amazing). Anyways, while running the tool, there's sooooooo much crap on the hard drive.. I just want to start over.

Partition magic would wipe the hard drive clean on XP, but I'm reading it's not compatible with vista.

I want to A) Wipe the disk clean. Nothing, nada, no OS even. B) Overwrite data with gibberish or whatever. C) Wipe that clean. D) Reinstall vista or XP :P Still undecided.

I've already got the good data backed up on an external hard drive, so I'm ready to go!

Are there any tools yet that can do this on vista?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: cleaning a vista drive

Post by Chris Corbyn »

A linux live CD? :P Seriously, you can wipe that drive really easily under linux with just a dd command.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: cleaning a vista drive

Post by s.dot »

I've got the Ubuntu installation CD. That'll work?

Do you have some documentation for the commands, or a command sample?

Also, it should be noted that I want to overwrite (secure erase) the existing data on the drive.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: cleaning a vista drive

Post by Benjamin »

You can still use fdisk on any drive. How you load it... that's up to you.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: cleaning a vista drive

Post by Chris Corbyn »

astions wrote:You can still use fdisk on any drive. How you load it... that's up to you.
fdisk doesn't touch the filesystem as far as I know, it only writes the partition table at the start of the disk.

This should flatten the disk with zero bits, but it'll take a long time on a 160GB drive and you won't see much happening unless you watch the LED on the drive :) You wouldn't do any damage if you stopped the command other than the fact you'd have to re-partition and reformat which you'll be doing anyway.

[text]dd if=/dev/zero of=/dev/<your disk here> bs=16K[/text]

Your disk name will vary depending on your drive type. More than like hd* or sd*. The command "df -h" should give you some info about what drives are mounted.

EDIT | An alternative to the above (if for example dd isn't installed) is this:

[text]cat /dev/zero > /dev/<disk name>[/text]
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Re: cleaning a vista drive

Post by vigge89 »

Just bump the XP install cd in, reboot into it and reformat the drive from the installation procedure, no need for Live CDs or anything else ;)
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Re: cleaning a vista drive

Post by nickvd »

scottayy wrote:Also, it should be noted that I want to overwrite (secure erase) the existing data on the drive.

One word... One tool... DBAN
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: cleaning a vista drive

Post by flying_circus »

I didnt know anything about this either until I built a hackintosh.

Using Disk Utility (Mac OS X thing as far as I know), you can choose from 4 options of how many times you want to completely write 0's over your drive. I believe it was 7 passes that complies with the DoD standard of cleaning a drive, but could do more passes if you wanted.

Though I'm sure Chris's solution is probably easier and faster, I'm barely dangerous enough with *nux to get a system running. I spent about a week getting my webserver installed and configured initially (it's a freebsd system) and you'd be impressed with the length of the notes I took ;)
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Re: cleaning a vista drive

Post by vigge89 »

scottayy wrote:Also, it should be noted that I want to overwrite (secure erase) the existing data on the drive.
Woops, missed that part :?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: cleaning a vista drive

Post by s.dot »

I decided to just reinstall vista. I don't like it that it renames your current files to windows.old/file. I don't want those things!

What's really weird is, my apache htdocs files STAYED. all of them. everything else was gone (after i deleted the windows.old folder).
That is extremely weird, right?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: cleaning a vista drive

Post by Chris Corbyn »

scottayy wrote:What's really weird is, my apache htdocs files STAYED. all of them. everything else was gone (after i deleted the windows.old folder).
That is extremely weird, right?
Don't question voodoo. Just accept that it happens :P
Post Reply