Can't get Win7 to boot, drive letters changed after recovery

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
mailalan
Posts: 2
Joined: 28 Jan 2018, 17:57

Can't get Win7 to boot, drive letters changed after recovery

#1 Post by mailalan »

I can't get Windows 7 to boot up and I believe it's because my drive letters have changed. My operating system which was on drive C: is now drive E:. And what was drive F: is now drive D:. My DVD drive is now labeled F:. I believe that whats now the D: drive needs to be relabeled F: because that's where my Win7 user profile is stored.

Image

Image

Here is what happened: The battery on my motherboard died causing my BIOS settings to be lost. This caused caused Intel Rapid Storage to drop two drives out of one of my RAID arrays.

In my setup I have two SSD drives in a RAID 1 array. This was my C: drive with the Windows 7 operating system.

I also had 4 spinning SATA drives in a RAID 10 array. This was my F: drive where I had placed my Win7 user profile.

Image

When my BIOS settings were lost, Windows could not find the F: drive and would not boot up. Using TestDisk I recovered the lost RAID array that used to be my F: drive.

Before I realized what happened though, I had used Bootrec.exe in the Windows 7 Recovery Environment to run the FixMbr, /FixBoot, and /RebuildBcd commands. The first two said they worked but /RebuildBcd did not. I think doing that made things worse. So now I can't boot up.

So my old C: drive is now labeled as the E: drive.
And my old F: drive is now labeled as the D: drive.

I think I need to restore the correct drive letters as C: and F: before Windows will boot. Is that correct? Can anyone tell me how to fix this? Any help would be GREATLY appreciated!

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Can't get Win7 to boot, drive letters changed after recovery

#2 Post by cgrenier »

You can assign a drive letter with diskpart, try something like

Code: Select all

diskpart
list volume
select volume 2
assign letter=C

mailalan
Posts: 2
Joined: 28 Jan 2018, 17:57

Re: Can't get Win7 to boot, drive letters changed after recovery

#3 Post by mailalan »

I tried that but since I can't boot up I can only open the command prompt window in the Win7 Recovery Environment. It will change the drive letters in that environment, but when I reboot the computer they go right back to the incorrect drive letters as before.

Locked