Installing Windows 7 on the pure UEFI systems without CSM

Discussion in 'Windows 7' started by PrimeExpert Software, Jan 2, 2020.

  1. PrimeExpert Software

    Dec 3, 2019
    28
    56
    0
  2. morfi717

    morfi717 MDL Novice

    Sep 26, 2016
    13
    2
    0
    #62 morfi717, Aug 20, 2021
    Last edited: Aug 21, 2021
    Sorry for late answer. I managed to screw up my bootloader and whatnot while doing try and error plays with bootmfgw.efi.

    The HWID matches the ones defined in the INF file. I understand that it doesn't have to be 1:1 match including SUBSYS? In my case full HWID is
    Code:
    PCI\VEN_1002&DEV_73BF&SUBSYS_440E1DA2&REV_C0
    while the driver specifies, among others:
    Code:
    PCI\VEN_1002&DEV_73BF&REV_C0
    What I thought was odd were the Target OS versions. They were as follows:
    Code:
    [Manufacturer]
    %ATI% = ATI.Mfg, NTamd64.6.1.1, NTamd64.6.0.1, NTamd64.6.3.3
    I was worried that the ProductType (last digit) could pose a problem so I changed them to
    Code:
    [Manufacturer]
    %ATI% = ATI.Mfg, NTamd64.6.1,NTamd64.6.0,NTamd64.6.3
    of course I updated the respective sections below that as well.

    I then installed this driver again (using From disk...) option. It showed me that it's not signed (even though I only changed the .inf file), but I was able to install it. I then tried fresh install (with DDU) but same results.

    Unfortunately the problem persists. I also don't see anything relevant in the event viewer. What extra debug information may I provide you?

    edit:
    The drivers specified in the .INF file are only amdacpksd.sys and amdkmdag.sys. I can see both of them running in msinfo32.exe.
     
  3. morfi717

    morfi717 MDL Novice

    Sep 26, 2016
    13
    2
    0
  4. ibay770

    ibay770 MDL Member

    Oct 9, 2015
    169
    45
    10
    Sounds good. How do I enroll? I'd love to give this a shot with my Surface Pro 2/3
     
  5. PrimeExpert Software

    Dec 3, 2019
    28
    56
    0
    Yes, AMD GPU drivers are running and INF file indicates that drivers are compatible with your hardware. Driver version on the screenshot from Windows Device Manager you posted earlier also indicates that AMD driver is running (instead of system-default VGA.SYS).

    So, maybe you just need to recalculate Windows Experience Index (i.e. run WinSAT) to enable Aero?
     
  6. morfi717

    morfi717 MDL Novice

    Sep 26, 2016
    13
    2
    0
    I'll try that today and get back to you although it's weird that AMD software also wasn't able to recognize the device/driver although it's unclear how this detection looks like.
     
  7. morfi717

    morfi717 MDL Novice

    Sep 26, 2016
    13
    2
    0
    #68 morfi717, Aug 24, 2021
    Last edited: Aug 24, 2021
    So it seems I can't refresh WEI, I get "Windows Experience Index for your system could not be Computer" error.
    In the C:\Windows\Performance\WinSAT\DataStore I have lines such as
    Code:
        </SystemEnvironment>
        <WinSPR>
            <MemoryScore>7.9</MemoryScore>
            <CpuScore>7.9</CpuScore>
            <GamingScore>1</GamingScore>
            <LimitsApplied>
                <GamingScore>
                    <LimitApplied Friendly="No DX9 capability - limiting D3D Score to 1.0">NoDX9</LimitApplied>
                </GamingScore>
            </LimitsApplied>
        </WinSPR>
    and
    Code:
        <MediaEx>
            <OperationVersion Major="1" Minor="0" Build="0" Revision="0"/>
            <CmdLine/>
            <NoDx9Support>TRUE</NoDx9Support>
            <CompletionStatus description="Error: Could not assess media fidelity.">1</CompletionStatus>
            <AssessmentRunTime>
                <Seconds>0.00</Seconds>
                <Description>00:00:00.00</Description>
            </AssessmentRunTime>
        </MediaEx>
    edit:
    Code:
    <Monitors>
        <Count>1</Count>
        <TotalMonitorPixels>3686400</TotalMonitorPixels>
        <Monitor id="0" primary="1">
            <DeviceName>
                <![CDATA[\\.\DISPLAY1]]>
            </DeviceName>
            <Width>2560</Width>
            <Height>1440</Height>
            <TotalMonitorPixels>3686400</TotalMonitorPixels>
        </Monitor>
    </Monitors>
    <Graphics>
        <AdapterDescription></AdapterDescription>
        <AdapterManufacturer></AdapterManufacturer>
        <DriverVersion Friendly="">0</DriverVersion>
        <DriverDate Friendly="">0:0</DriverDate>
        <DedicatedVideoMemory>0</DedicatedVideoMemory>
        <DedicatedSystemMemory>0</DedicatedSystemMemory>
        <SharedSystemMemory>0</SharedSystemMemory>
        <Suports32BitsPerPixel>1</Suports32BitsPerPixel>
        <D3D9OrBetter>0</D3D9OrBetter>
        <VertexShaderProfile/>
        <PixelShaderProfile/>
        <PixelShader2OrBetter>0</PixelShader2OrBetter>
        <PixelShader3OrBetter>0</PixelShader3OrBetter>
        <LDDM>0</LDDM>
        <WHQL>0</WHQL>
        <PNPID/>
        <DWMRunningOnStart>0</DWMRunningOnStart>
        <DWMRunning>0</DWMRunning>
    </Graphics>
    
     
  8. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    95
    10
    #69 ruslanshchur, Aug 25, 2021
    Last edited: Aug 28, 2021
    Yes, I finally find FlashBoot Pro, Windows 7 Setup works fine, but, after 1st restart, and during setup, I always get BSOD 0x000000C2
    UPD: Even with CSM and without bootmgfw patch, I always get BSOD 0x000000C2
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. canonkong

    canonkong MDL Novice

    Jun 26, 2020
    49
    110
    0
    After few machines testing, if you want to avoid graphics card driver code 12 error,the graphics cards can not is GTX16XX,RTX20XX and AMD RX6000 series,because they have XHCI controller and Type-C policy controller in the GPU chips,which will cause the IRQ problem.
     
  10. morfi717

    morfi717 MDL Novice

    Sep 26, 2016
    13
    2
    0
    Would you have any other tips and/or things to check or is that this sad moment where I have to upgrade to w10?:(
     
  11. PrimeExpert Software

    Dec 3, 2019
    28
    56
    0
    #72 PrimeExpert Software, Aug 28, 2021
    Last edited: Aug 28, 2021
    (OP)
    Per canonkong recommendation (this may be an IRQ conflict with USB 3.x host controller), I recommend to try installing GPU card to the different PCI-E slot (if available), disabling unnecessary/unused hardware in BIOS/UEFI settings (to release IRQ lines for other hardware), tweaking interrupt controller settings (if any).

    Maybe disabling USB 3.x host controller (temporarily) will help. Then at least you will have a clue.

    canonkong is the guy who backported USB 3.x host controller driver from Windows 8 to Windows 7, he's definitely more knowledgeable than me in this matter.
     
  12. PrimeExpert Software

    Dec 3, 2019
    28
    56
    0
    0x000000C2 is a BAD_POOL_CALLER, i.e. a memory corrupion problem, presumably due to a software bug in some driver.

    I think there is some bad driver among prepackaged drivers in your version of Windows 7. I remember getting similar BSoD on some AMD USB 3.0 host controllers with old versions of their driver. Which driver name is displayed on the BSoD 0x000000C2? If you are using some unofficial distribution of Windows 7 with a lot of prepackaged third-party drivers, try original untouched Windows 7 SP1 ISO file as input for FlashBoot Pro (MD5 are SHA1 checksums of original Windows 7 SP1 ISO files are googleable and can be verified after download that ISO hasn't been tampered with).
     
  13. morfi717

    morfi717 MDL Novice

    Sep 26, 2016
    13
    2
    0
    The other PCI slot yield same resulsts. I tried to disable as much as I could in UEFI but there was no other USB disable than XHCI hand off, which I have. I've also disabled additional LAN card, which changed the memory address range claimed by PCI-E "hub", though it didn't make any difference.

    I don't know how to find out any IRQ conflicts because, from what I've googled, Windows should indicate that there's a conflict, but instead it shows that device is ready and that no conflicts were detected.

    I tried to upgrade some drivers from MS generic ones to vendor-specific (ie. Intel PCI Controller x16 1901), though still no budge.

    By disabling USB 3.x devices you mean disabling them in Windows or UEFI BIOS?
     
  14. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    95
    10
    None driver name is displayed

    The drivers is integrated by FlashBoot Pro
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. xAndrewh1993x

    xAndrewh1993x MDL Novice

    Dec 17, 2014
    14
    1
    0
    This thread is not dead and I need all the help that I can get. Lets avoid those who doesn't think it can work and stick to the plan!

    Now the issue after using FlashBoot Pro to make the Windows 7 UEFI ISO (No CSM Req) once installed it overwrites the Windows Boot Manager for 8, 8.1, 10, and 11. Even if you tried to install a newer OS after 7 the Windows 7 Windows Boot Manager made by FlashBoot will not allow Windows 8, 8.1, 10, and 11 to restore the Metro Bootloader. Even worst no matter what all the boot entries minus Windows 7 doesn't work. I've also tried to rEFInd and WinToHDD Pro to make a bootable full OS USB SSD and it fails to boot to avoid overwriting the 8, 8.1, 10, and 11 Windows Boot Manager. I've also tried to take the install.wim from FlashBoot Pro's Windows 7 UEFI ISO and use the Windows 8 Developer Preview Installer to install Windows 7 in hopes to getting the Metro Bootloader that will boot Windows 7, 8, 8.1, and 10. No luck.... Any experts out there brave enough to take a shot. My issue is that I can't even boot into 8, 8.1, 10, and 11 either by WinPE, Windows Boot Manager, and using Bootice. I've also tried renaming the Windows Boot Manager using DiskGenius and EasyBCD just breaks the Windows 7 Boot Manager. Any ideas???

    I've gotten FlashBoot Pro Windows 7 UEFI ISO to work on my MacBookPro8,1. I've tried installing Windows on a different SSDs and the same Windows Boot Manager by FlashBoot Pro will not allow any other Windows Boot Manager to work.

    I go by Howeitworks as of today.
     
  16. morfi717

    morfi717 MDL Novice

    Sep 26, 2016
    13
    2
    0
    I'm also using win7 (well, I don't because the GPU issue is still present :() and win10 on single disk. My bootloader is OpenCore and I just first installed Win7 with flashboot, followed by regular win10 installation on the same disk. It "just worked".

    PS: the win7 gpu issue was already happening before I installed win10.
     
  17. casio4ever

    casio4ever MDL Member

    Mar 27, 2015
    130
    21
    10
    @PrimeExpert Software
    Why flashboot doesn't work with updated Windows 7 image of simplix iso tools ?
    Does it require the original structure of Windows 7 image iso ?

    The checkbox of patching Windows 7 loader doesn't even exist. when I replaced install.wim & boot.wim from retail iso with ones from simplixed iso ( iso created by simplix iso tools ). Flashboot says "VGA I/O patching can't be done because boot loader doesn't belong to Windows 7"

    So what should I do to get working & updated Windows 7 installation media which is ready to be installed on pure UEFI (with no csm support) devices ??
     
  18. pacfcp

    pacfcp MDL Novice

    Nov 18, 2021
    1
    0
    0
    create a vm (use vhd) and install graphics driver
    now mount vhd and copy the files to other partition with unlocker