Stop 0x7B Inaccessible Boot Device message after P2V

Overview

After virtualizing a machine or restoring its disk to different hardware you may see a similar blue screen as below:












This can happen as a result of existing Intel IDE drivers starting before the OS is booted.

Solution

To prevent them from starting, several services need to be disabled. To do this you will have to mount the disk as a secondary drive on another machine or VM and load the SYSTEM registry hive from it to make the changes.

To do this:
  1. Open regedit on the other machine. We can assume the drive will come up as D: on the other machine
  2. Open the SYSTEM registry hive from the mounted D: drive under Windows\system32\config\SYSTEM by clicking Local Machine then Load Hive. Give this another name e.g P2VSYSTEM
  3. Edit the following keys:
    HKEY_LOCAL_MACHINE\P2VSYSTEM\CurrentControlSet001\Services\Msahci
    HKEY_LOCAL_MACHINE\ P2VSYSTEM \CurrentControlSet001\Services\IastorV
    HKEY_LOCAL_MACHINE\ P2VSYSTEM \CurrentControlSet001\Services\intelide
                    Set the Start Value for all of the above keys to “0”
  4. Unmount the registry hive by going to File -> Unload Hive. Attach the drive back to the original machine and you will now see that it will successfully boot.



Comments