LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-09-2006, 10:24 PM   #1
stormyk88
Member
 
Registered: Apr 2005
Location: Reno, NV
Distribution: Ubuntu 12.04
Posts: 53

Rep: Reputation: 15
How to wipe HD clean to reinstall Winblows


So, I hope I don't offend anyone as you all have been a great help over the last year that I've been playing with Linux. But my degree is less than a year away, and I need a working Win32 box. I am speaking via a Sony Vaio that is running FC4 just fine. I need to know how to wipe my HD. The comp I'm working on is a Compaq Presario SR1010NX. Suse 10.0 is installed now and works fine. The recof (missing a v key at the moment) ery cds I got at the moment are playing games with me. HP says that since I changed the mobo, I need to flash it before I recofer my factory install. Howefer, the recofery app wants to know what mobo I hafe. It doesn't list my model. It is an MSI PM8M-V, and apparently it is a model 7104. Anyone flashed something similar? I only need one Win computer working to continue in school. I'fe used Crossover, but it's not perfect. I need to find the Linux version of format c:/no_questions_asked/wipe.it.all


Thanks in advance.
-Jason

Last edited by stormyk88; 12-09-2006 at 10:27 PM.
 
Old 12-09-2006, 10:37 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
You actually need more than a "format c:" equivalent - you need to zap the loader code in the MBR as well in all likelihood.
I do these sort of things from a (Linux) liveCD. Just delete the partitions and try this from a console/terminal
Code:
dd if=/dev/zero of=/dev/hda count=200
Adjust the target as necessary. 446 bytes are reserved for the loader code, but it has some flags as well - 200 should be sufficient.
Be warned
*ALL* your data will be gone - the disk will only be useful for a completely fresh install.
 
Old 12-09-2006, 11:20 PM   #3
stormyk88
Member
 
Registered: Apr 2005
Location: Reno, NV
Distribution: Ubuntu 12.04
Posts: 53

Original Poster
Rep: Reputation: 15
Any recommended live CD? Knoppix got me addicted, and that's the only live cd I've ever used. I know there are others.

Last edited by stormyk88; 12-09-2006 at 11:23 PM.
 
Old 12-09-2006, 11:44 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Knoppix is good - I always keep one handy. You may need to "su" - no password needed on knoppix.
 
Old 12-10-2006, 02:05 PM   #5
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 30
Knoppix is the only Live distro I've used, but any should do the job.

Just to add that you will need a lot of patience for thisjob. When I last wiped a 40GB hard drive using this command under Knoppix it took about eight hours, and during this time I couldn't see anything happening.

It also seemed to go quicker if I loaded Knopix with a minimalist window manager (I used TWM) rather than KDE. I don't know if it really does make any difference, but it seemed to. You're hardly going to need any of the advanced KDE features for this (all you need it a single terminal window!), so using TWM certainly won't do any harm.
 
Old 12-12-2006, 06:16 AM   #6
rutabega man
LQ Newbie
 
Registered: Aug 2005
Location: Raleigh NC
Distribution: Ubuntu 6.10 and FC-5
Posts: 11

Rep: Reputation: 0
I have had similar problems with reloading windows after using linux.

What I did was grab a mandriva installer disc (mandriva's installer cd was the best for doing this that I had found), boot into the installer and go through the steps until I got to the partitioning.

I then setup a fat32 partition and some ext3 partitions and hit next, the installer formatted the partitions. I then quit the installer and put in the WinXP CD and restarted.

The Windows installer came up and was able to load the necessary files, I was able to recreate the partitions the way I wanted and install the virus... Uh software.
 
Old 12-12-2006, 12:18 PM   #7
IndyTim
LQ Newbie
 
Registered: Nov 2006
Location: Carmel, IN. U.S.A.
Posts: 3

Rep: Reputation: 0
If you want to wipe the hd and start completely over, why not just do a low-level reformat and reload windows from scratch? Another approach would be to use GParted Live and wipe your partitons from there.

IndyTim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How best to format/wipe hard drive clean? blnkgcrsr001 Linux - Newbie 19 08-31-2010 08:56 AM
All i want to do is wipe my hard drive clean and install pclos Justin2021 Linux - Newbie 1 04-16-2006 01:53 AM
How can I wipe the MBR clean and remove GRUB stevod333 Linux - General 7 04-03-2006 10:51 AM
SuSE reinstall (clean install) foxy123 Suse/Novell 4 03-10-2005 08:48 AM
how to wipe disk in best way to reinstall WinXP and Mandrake as dual boot jukebox4joe Linux - Software 3 01-23-2004 05:57 PM


All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration