Help installing Windows 7 SP1 on Hyper-V Generation 2 VM

Discussion in 'Virtualization' started by nilum, Aug 4, 2018.

  1. nilum

    nilum MDL Junior Member

    Jan 4, 2009
    82
    1
    0
    #1 nilum, Aug 4, 2018
    Last edited: Aug 4, 2018
    I've read theory that Windows 7 SP1 can be installed on a Hyper-V Gen 2 VM because SP1 brought UEFI support; however, I've yet to see a thread where someone has got this working.

    Here are the basic steps I have taken:

    Install Windows 7 SP1 on gen 2 VM with Secure Boot enabled.
    Hyper-V Error: "The image's hash and certificate are not allowed."

    Install Windows 7 SP1 on gen 2 VM with Secure Boot disabled.
    Freeze at Starting Windows screen.

    Install Windows 7 SP1 on gen 1 VM. Fully update Win 7. Install Hyper-V Integration Components.
    On Gen 1 VM, boot into WinPE. Run MBR2GPT to convert the .vhdx to GPT format.
    Create new gen 2 VM, select old gen 1 Win 7 .vhdx as gen 2 VM's disk.

    With Secure Boot enabled:
    Hyper-V Error: "The image's hash and certificate are not allowed."

    With Secure Boot disabled:
    Freeze at Starting Windows screen.

    I've read that the freeze is due to driver support for the SCSI device that gen 2 uses. Does anyone know what driver I would need?
     
  2. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    2,564
    2,230
    90
    If the HyperV Gen2 VM provides a pure UEFI with no CSM module/feature, then there is no way to run Windows 7 there.

    Windows 7 does not support GOP and still relies on legacy BIOS INT10 emulation provided by the CSM. Please note that Windows 7 does not support Secure Boot at all and never will.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...