Link to home
Start Free TrialLog in
Avatar of Rooster Will
Rooster Will

asked on

Drive letters changed after restore

I had a SBS2011 Server die, I am trying to do a bare metal restore to a hyper-v virtual.
Virtual is built; however, it will not boot.
Using installation media I go to command prompt and diskpart shows me that Vol 1 C: is now recovery and Vol 2 D: is now OS.

I have tried:

The automated StartRep.exe at least 4 times, no help.
Reassigning the drive letters via diskpart, then reboot. On reboot letters are back to c: recovery d: os
Reassigning drive letters via regedit mounteddevices, on reboot letters are back to c: recovery d: os
bootrec /fixboot
bootrec /fixmbr
bootrec /rebuildbcd It says there is no os so I did bootrec /scanos still said there is no os

How can I get the d: volume renamed back to c: so I can boot?
drives.jpg
bcdedit.jpg
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Use DiskPart to change the drive letters.
Select Volume 2
Assign Letter=E
Select Volume 1
Assign Letter =D
Select Volume 2 
Assign Letter =C

Open in new window

I suspect that if the SBS came from a physical server then there was a RAID setup in place. That will be the problem.

Is the OS BSOD'ing?
Avatar of Rooster Will
Rooster Will

ASKER

I was able to get the drives sorted out, by making volume 2 active and relettering it to c:; however it was just blue screening. I then ran through the steps of bcdedit again as and now it just says no bootmgr.

Running the automated tool does nothing and on another thread it said to try a win7 disk, that comes back after trying to fix the issues and says this tool could not fix this.

I have done a P2V using disk2vhd and that virtual will not boot.

I have done a bare metal restore to vhd using Windows server backup and that one just instantly blue screens, when trying to boot.
I think your diagnosis of the problem is wrong. The deive letters order you see is a temporary drive letter assignment hecause you are working with system drives out of installed Windows.
In WinPE mode (which is where you are) the drive letters are use to make it easy working with drives.
Can you see what is on Recovery partition and What is on OS partition?
If recovery parittion contains boot files (such as bootmgr) then this partition must be active before you do any other repair step.
Is the BSOD 07b?

Boot to Repair Mode --> Command Prompt:

Run Regedit.
Load the system hive from the VM's disk:

    Highlight HKEY_LOCAL_MACHINE
    File > Load Hive
    Select OS_C:\Windows\System32\config\system (name it something like "asdf")

Expand HKEY_LOCAL_MACHINE\asdf\ControlSet1\Services\intelide
Change the data for value "Start" from "3" to "0".
File > Unload Hive.
Exit regedit.
Reboot the VM.

There are a couple more that I can't seem to find at the moment that need to be flipped to tell the OS to go direct to disk instead of via RAID.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.