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 installed Windows 7 on a new partition then tried to wipe out my old Vista partition. After I finally was able to resize my new partition to the whole disk using Gparted, Windows won't boot up anymore. The Windows recovery won't recognize my installation, and neither will bootrec. When I try to boot up, I get an error that \Boot\BCD is corrupt and that I should run chkdsk. But, when I run that, I get an error that the disk is locked.

Am I up the creek without a paddle? If necessary, I can throw my HDD into a case, get my data off then reinstall Windows, but I'd like to try a recovery if possible.

share|improve this question
ouch........... – Nate Koppenhaver Apr 20 '11 at 3:49
up vote 2 down vote accepted

Try this (at your own risk):

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

share|improve this answer
Thank you! TestDisk restored the partition but I still got a startup error. Fortunately, TestDisk made it so that I could throw my HDD into an enclosure and get my data off. I guess I'll have to reinstall Windows (again), but at least my data is safe! – Brian515 Apr 20 '11 at 22:38

Boot from the W7 dvd, and do a startup repair, it may take up to 3 repairs in a row to get it booting again.

Another Method

share|improve this answer

You must log in to answer this question.

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