Inject Missing VirtIO Drivers into Windows (INACCESSIBLE_BOOT_DEVICE)

1. You need to attach the "virtio-win.iso" Virtual CD-ROM to your server.
2. Boot into Windows Recovery. Usually this can be done by pressing ESC at the failed boot message.
   If this doesn't work you will need to mount the Windows installation cd-rom and start the recovery through that.
3. Inside the Windows Recovery, click on "Troubleshoot".
4. Click on "Command Prompt".
5. Enter the following commands.


drvload D:\viostor\2k16\amd64\viostor.inf
drvload D:\vioscsi\2k16\amd64\vioscsi.inf

C:
dir
# make sure this is your windows
# ifnot, use diskpart commands..
D:
diskpart
 > select disk 0
 > select part 1
 > remove
 > select part 2
 > remove
 > assign letter=c
 > exit






dism /image:c: /add-driver /driver:d:\viostor\2k16\amd64\viostor.inf
dism /image:c: /add-driver /driver:d:\vioscsi\2k16\amd64\vioscsi.inf
dism /image:c: /add-driver /driver:d:\netkvm\2k16\amd64\netkvm.inf

bcdboot C:\Windows
bcdedit /ems {default} on
bcdedit /bootems {default} on
bcdedit /emssettings EMSPORT:1 EMSBAUDRATE:115200
exit

[ Press Continue to boot normally ]
 


Next: VPS » Configuring manual networking in CentOS
Previous: VPS » Change CentOS 7 from Automatic Networking to Manual Networking