UefiSeven: Easily boot Windows 7 on UEFI class 3 devices

Discussion in 'Windows 7' started by manatails, Aug 3, 2020.

  1. Radu669

    Radu669 MDL Novice

    Mar 18, 2014
    3
    0
    0
    #441 Radu669, Jun 8, 2023
    Last edited: Jun 8, 2023
    I don't think its that, this is what I used personally on h87 performance and it worked and it did not work on z690 UD DDR4:
    With DEVICE=HIMEMX.EXE /MAX=64M,

    [386Enh]
    SysVMEMSLimit=2048
    MaxPhysPage=40000

    [vcache]
    MaxFileCache=344064

    that person that has win98 working on bios 2020 and the only thing changed was to bios 2021 and he got vcache error, he said he tried different system.ini settings and it was the same error.He rolled back to the old bios and win98 booted successfully again. msfn.org/board/topic/183543-win-9598me-vcache-error-after-updating-bios-on-a-new-motherboard/#comment-1218683
    msfn.org/board/topic/184539-windows-98se-running-on-intel-9th-gen-platform-feat-ati-x700-pci-e-and-aureal-8810/#comment-1241763

    I thought to try uefi with csm in QEMU, and then to try to change modules, from bios 2020 with issues to > QEMU uefi to see what happens. It happened I got the same error without modifing the QEMU uefi bios.
    qemu(-m 256) using OVMF with csm (uefi bios) edk2.git-ovmf-x64-0-20200422.1378.ge54310451f.noarch.rpm

    QEMU = msfn.org/board/uploads/monthly_2023_06/vcache_error_qemu.png.88b7598bb97a15fb28160cf3c53fdb5d.png
    Real hardware: msfn.org/board/uploads/monthly_2022_01/IMG_0888_.jpg.0a01710ae210bc7c8d7d4e430e8eb624.jpg
    Both stop at : 0028:C03819A6 MOV [EDX+00000100],EAX

    And without using OVMF with csm (uefi bios), the same c.img boots win98
     
  2. casio4ever

    casio4ever MDL Member

    Mar 27, 2015
    104
    13
    10
  3. dfasdasfsfd12

    dfasdasfsfd12 MDL Novice

    Jul 11, 2023
    1
    0
    0
    I tried to install with uefiseven, I passed the installation with usb, then I did not understand what to do, it freezes on starting windows
     
  4. casio4ever

    casio4ever MDL Member

    Mar 27, 2015
    104
    13
    10
    Cpu : Intel or Amd ? Gpu : Built in Or Discrete ?
     
  5. TesterMachineOS

    TesterMachineOS MDL Senior Member

    Apr 20, 2021
    251
    54
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Alexandros C. Couloumbis

    Alexandros C. Couloumbis MDL Junior Member

    May 19, 2018
    83
    16
    0
    Have you first tested that your GPU is supported ? Even if your GPU IS supported, UefiSeven offers limited 1024x768 non-accelerated resolution as drivers for >2017 GPUs are literally non-existent while impossible to port new >=win10 drivers

    best bet for extending the Win7 life is the Backporting the Microsoft Basic Display Adapter driver from Windows 8 Build 7963 to Windows 7 a Work in Progress concept rather than an actual project at this time
     
  7. TesterMachineOS

    TesterMachineOS MDL Senior Member

    Apr 20, 2021
    251
    54
    10
    I understand what was said, but I still want to see how to integrate it into an ISO to test
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. D2Joy

    D2Joy MDL Novice

    Oct 3, 2023
    2
    5
    0
    #449 D2Joy, Oct 8, 2023
    Last edited: Oct 8, 2023
    Successfully installed and boot win7 on intel 10th Lenovo laptop (without CSM)!

    Inject nvme and usb driver in the image before install. Steps for modifying EFI partition are as simple as below:
    1. use uefiseven latest for sure, but only for the efi\microsoft\boot directory.
    2. in efi\boot\, use this bootx64.efi drive.google.com/file/d/1DFuobt-jx2hs0JH7Gj-UE0ral8wUMlNx/view?usp=drive_link
    3. in efi\microsoft\boot, include this bootmgfw.original.efi (seem to be a win8 version) drive.google.com/file/d/1HREiLIRqKHEJShxlVdARhzEq9W8RLngw/view?usp=drive_link

    That's all. No need to mess with other files.

    Note, this EFI only boots win7 maybe win 8 as well, but cannot boot win10. Interestingly, it seems that the first-time installation of win7 and booting in an already installed win7 have different requirement of bootmgfw.original.efi. As I listed above, you must use the win8 bootmgfw.original.efi to install win7. However, once win7 is already installed, you can use a win10 bootmgfw.efi as bootmgfw.original.efi, and then you can boot into both win10 and an installed win7...
     
  9. alzcoew397

    alzcoew397 MDL Senior Member

    Oct 6, 2018
    380
    174
    10
    thanks.what about the intel graphocs drivers for intel 10gen? how did you install them.
     
  10. Seven4ever

    Seven4ever MDL Junior Member

    May 16, 2023
    75
    29
    0
    I've use it to boot all windows under UEFI on real H310 machine, from Xp 64 to W11.
    I've done a patch to it, to have full resolution under Xp 64, because I don't have a real GPU driver for it, I use Vbemp wich acts as a Gop wrapper.
     
  11. vincom

    vincom MDL Novice

    Apr 9, 2015
    1
    0
    0
    #452 vincom, Nov 4, 2023
    Last edited: Nov 4, 2023
    questions:
    in step 2- do you mean copy the bootx64.efi to the efi partition efi\boot
    in step 3- copying bootmgfw.original.efi to efi\microsoft\boot , does windows use that file "as is" or do we rename it to bootmgfw.efi

    my setup dell 7040 mini, i5 6th gen, in win10 eufi mode /no csm/ no secure, ssd /no nvme. injected usb3.0 drivers but didnt work.
    installed win7 in eufi w/csm, installed and booted and updated all drivers, i5 6th gen, all is good.
    turn off csm, rebooted win7 and freezes hard at logo, but my laptop has no option for csm.
    i have an acer laptop w/8th gen intel and bios has no legacy support, no csm option, only eufi with secure option to be on or off.
    goal is to install win7x64 on laptop
    if you ask how i got to this point, its been a couple of days trying a dozen things and lots of reading, i cant remember which iso i used, what parameters i set, but installing win10 first was my first step, then installing windows so i could copy drivers to the win7 partition, i know there are other ways but i already had a ssd w/win10 on it that i wasnt using or cared if it got messed up.
     
  12. casio4ever

    casio4ever MDL Member

    Mar 27, 2015
    104
    13
    10
    Please Explain More, I Can't Get Into The Installation Process.
    The First Step Is Confusing Me. Which Media Did You Choose ?
    Which Tool Did You Practiced For Iso Driver Injection Step ?
    Can You Create A Video To Show Us What Have You Done ?
     
  13. SkullKid2000

    SkullKid2000 MDL Member

    Jul 17, 2012
    128
    10
    10
    #455 SkullKid2000, Nov 29, 2023
    Last edited: Nov 29, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. CheeseWithTheSheesh

    CheeseWithTheSheesh MDL Novice

    Apr 10, 2023
    3
    0
    0
    #457 CheeseWithTheSheesh, Dec 10, 2023
    Last edited: Dec 10, 2023
    Hi @Seven4ever ! How did you patch UefiSeven to get full resolution? I'm always stuck with 1024x768 resolution. Can you show me how to patch the resolution?
     
  15. Seven4ever

    Seven4ever MDL Junior Member

    May 16, 2023
    75
    29
    0
    #458 Seven4ever, Dec 10, 2023
    Last edited: Dec 10, 2023
    Two methods:
    First: take source code from Github, replace all instances of 1024*768 by your max Gop resolution, them recompile it.
    Second: take the compiled binary, unassemble it and patch it via an hex editor.
    For Xp, you must patch corresponding Winload.efi for the same resolution.
     
  16. CheeseWithTheSheesh

    CheeseWithTheSheesh MDL Novice

    Apr 10, 2023
    3
    0
    0
    #459 CheeseWithTheSheesh, Dec 10, 2023
    Last edited: Dec 10, 2023
    @Seven4ever I tried the first method by compiling it, but instead it spit out a bunch of error that has something to do with GenFw. The second method i haven't tried, because i don't know how to disassemble things. I can use hex editor, but i don't know the places that i need to edit. Can you give me the offset that i need to edit?

    Info: - Screen res: 1366x768
    - UefiSeven ver: 1.30
     
  17. Seven4ever

    Seven4ever MDL Junior Member

    May 16, 2023
    75
    29
    0
    Use IDA to unassemble, you will get offsets.