Author: trialex
Subject: WIN2K8 R2 P2V failure to boot VM
Posted: 25 August 2014 at 5:36pm
Subject: WIN2K8 R2 P2V failure to boot VM
Posted: 25 August 2014 at 5:36pm
Solution
This would not work by default. You will need to execute the following sequence of tasks.
Note: the following sample commands assume that you mount your VHD as disk F:
- Turn off the VM (if was running) and mount VHD to some working OS (e.g. your host OS).
- Run: bcdboot c:\windows /s f:
- Run: bcdedit /store f:\Boot\bcd /set {bootmgr} device hd_partition=F:
- Run: bcdedit /store f:\Boot\bcd /set {default} device hd_partition=F:
- Run: bcdedit /store f:\Boot\bcd /set {default} osdevice hd_partition=F:
- Load “System” registry hive from OS located in VHD (i.e. Regedit -> Load Hive -> select “F:\Windows\System32\Config\System”)
Change startup mode for “IntelIDE” driver from “3” to “0”. (That may be already the case depending on how you OS boots in Boot from VHD scenario).