Trouble reinstalling Windows after "corrupt registry" error

Hi, a few days ago windows vista 64bit crashed on my desktop and gave me the dreaded "corrupt registry" error. I've had a lot of problems with the drive since then.

I reformatted my drive but I cannot seem to install a new OS. Windows vista/7 both freeze during the installation and ubuntu 9.04 gives me

 'Input/output error during write on /dev/sda during install"  

after partitioning the drive and beginning the installation. I do not have a windows xp disk so I can't try that.

I'm thinking my hard drive might just be bad, but I'm not sure how to check. If it came with installation disks, I do not have them anymore.

I have a Gigabyte P35 chipset and WD 320gb velociraptor HD. Thanks

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

That sounds like a hard drive problem.  Download FreeDos ( and try to partition / format the hard drive to see what happens there.  I suspect you will have problems.
Your hard disk may be on the verge of failing. I would suggest running a disk diagnostic utility. Most disk vendors have these for free. 

For example:


Western Digital

The diagnostic tools are usually going to have to be written to a floppy disk.  If you don't have a floppy drive available (even a cheap USB one) or cannot boot to one, then you could try the diagnostic tools on The Ultimate Boot CD:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jmbryan10Author Commented:
Thank you, I'm running the diagnostic right now
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Save yourself a lot of time and purchase another drive...hard drives/memory are cheap these days!
Jmbryan10Author Commented:
True, but its a $200 drive, its less than a year old, and I'm a broke college student =(
Jmbryan10Author Commented:
Diagnostic finished.

"Too many errors found - please contact technical support. Error/Status Code: 0225"

I'm taking that to be a yes, my drive is screwed. Fortunately WD has a decent RMA process. Thank you all for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.