xf.is Blog   Archives  About

Attempting to install Hyper-V Server on Udoo x86

2018-07-28

I wanted to test the free Hyper-V Server 2016 so I decided to install it on my UDOO x86 Advanced with 32 GB eMMC and 120GB M.2 SSD.

Installation was quick but on initial boot it crashed with INACCESSIBLE_BOOT_DEVICE and would not boot.

Tried changing the boot to UEFI mode (instead of “auto” (UEFI + legacy)) but no changes.

Next I tried to adding the Intel chipset drivers into the install.wim file with

# Extract the inf files
SetupChipset.exe -extract c:\Temp\driver\

# Mount the wim file and add the drivers
dism /Get-ImageInfo /ImageFile:install.wim
dism /Mount-Image /ImageFile:c:\Temp\install.wim /MountDir:c:\temp\install\ /Name:"Hyper-V Server 2016"
dism /Image:c:\temp\install /Add-Driver /Driver:c:\temp\driver /Recurse
dism /Unmount-image /MountDir:c:\temp\install /Commit

and tried reinstalling but no success.

After some thought I tried installing it on the M.2 SSD (initially I was trying to install it on the eMMC) and lo and behold it worked.

After booting I checked if the eMMC was visible but it was not:

PS> Get-PSDrive -PSProvider 'FileSystem'

Name           Used (GB)     Free (GB) Provider      Root                                               CurrentLocation
----           ---------     --------- --------      ----                                               ---------------
C                   9,64        109,04 FileSystem    C:\                                  Users\Administrator\Documents

which is strange since the windows installer saw the device.

Turns out the installer (boot.wim) had the SD Storage Port driver incuded but not the Hyper-V install image.

After some searching I found steps to install SD Storage Port Driver to the install.wim:

dism /Mount-Image /ImageFile:c:\Temp\install.wim /MountDir:c:\temp\install\ /Name:"Hyper-V Server 2016"
dism /Mount-Image /ImageFile:c:\Temp\boot.wim /index:2 /readonly /MountDir:c:\temp\boot\

cd c:\temp\
mkdir sd_drivers
copy .\boot\windows\INF\sd* C:\Temp\sd_drivers\
copy .\boot\windows\system32\drivers\sd* C:\Temp\sd_drivers\
copy .\boot\windows\system32\drivers\dumpsd.sys C:\Temp\sd_drivers

dism /Image:c:\temp\install /Add-Driver /Driver:c:\temp\sd_drivers\ /Recurse /forceunsigned
dism /unmount-wim /mountdir:c:\Temp\boot /discard
dism /unmount-wim /mountdir:c:\Temp\install /commit

Another reinstall on the eMMC drive and it didnt work.

At this point I attempted doing the same with a fresh Server 2016 Core install (with the SD Storage Port drivers) and successfully booted from the eMMC drive.

Obviously Microsoft wants to sell more Server licenses so it kinda makes sens that the The Hyper-V Server installation media is intentionally missing some drivers.

So this experiment is a failure.