UefiSeven: Easily boot Windows 7 on UEFI class 3 devices

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

  1. CheeseWithTheSheesh

    CheeseWithTheSheesh MDL Novice

    Apr 10, 2023
    10
    8
    0
    I managed to disassemble the EFI file. When i use my patched version the first time it seems normal, but when the starting windows is done the display just displayed a bunch of diagonal line of what seems like to be the login screen.

    Just to make sure: the thing that i need to replace is 400h to 556h right?
    Edit: the pixels per scanline is 1376, is that normal? because the normal is 1024 pixels per scanline.
     
  2. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    The patch is only need for XP Efi boot when you have no real graphic drivers like vbemp (it acts as a gop wrapper). In this condition Winload must be patch accordly with same resolution at end of all routines.
    For Seven you need a graphic driver (that I have on my machine). The driver set its own graphic resolution. What have you as graphic driver under Seven ?
    For Uefiseven, there are more than 1 occurence to patch, and horizontal * vertical pixels..
     
  3. dikon005

    dikon005 MDL Novice

    Oct 17, 2021
    1
    0
    0
    how to fix the error: unable to unlock vga rom memory on c0000? my laptop is asus vivobook pro 15 m6500qc-hn089 with AMD Ryzen 7 5800H, I tried all the methods, still the same error
     
  4. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    Try to upgrade the Bios, but some machines are not compatible with Uefiseven
     
  5. Lywzc

    Lywzc MDL Junior Member

    Jan 21, 2019
    62
    4
    0
    I tried UefiSeven on DVD but it would not boot in UEFI mode, only in legacy mode. How can I make it work on DVD? I saw someone had success but I can not get the same result with the same command.
     
  6. MicrosoftGoogle

    MicrosoftGoogle MDL Novice

    Aug 5, 2012
    7
    0
    0
    I can't find option to modify GOP and resolution on config.ini file at latest build?
     
  7. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    Why changing resolution in Uefiseven, you don't have a real graphic driver for seven?
    Remember that it cant work with vga driver, but with vbemp, only Flashboot can.
    FYI, resolution is hardcoded in Uefiseven and to change it , you need to recompile it from github source.
    Happy new year 2024.
     
  8. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    @Seven4ever Maybe if you have some free time, you can try modify source to add resolution settings into UefiSeven.ini to be able to change it on the fly before boot? It could be great addition to this project if it's possible, I have not studied it's source or how to compile it (but I quess .ini settings logic is already there, so could be reaplicated and adapted easily in my eyes from my coding experience) .

    P.S. Happy new year 2024!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    Good idea.
    Before forking the github code base, I will propose it to the actual developper.
    Happy new year 2004 to all.
     
  10. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    Request just added now, wait and see.
     
  11. MicrosoftGoogle

    MicrosoftGoogle MDL Novice

    Aug 5, 2012
    7
    0
    0
  12. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    Becarefull, if you don't have a real graphic driver for 7 and your machine, you need also to use a generic driver as vbemp (to try) and modify winload.efi if you are multibooting other windows (the boot menu restores 1024*768 resolution). Vga.sys can't work with Uefiseven.
     
  13. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    I have checked code and it's easy to add resolution settings as variables to be configurable in UefiSeven.ini. Will see if I can find time and prepare correct build environment.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    I think you can compile it under normal linux distrib, make, git etc are included and final binary is an efi file...
     
  15. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    I used Linux realy long time ago, in that time existed Mandriva linux live CD :D I will do it on Windows host, but maybe someone can do it quicker :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    @George King:
    I've try to compile 1 hour ago the uefiseven source.
    Compilation fails (project is untouched since more than 3 years) and source is linked to edk2 project.
    Git clone takes a while, succeds but after no edk2 folder, so no simlink possible.
    source command succeds , mut make command fails with include file #include <uuid/uuid.h> missing
    There was an issue at #13 with same error, I've just asked the guy how he solved the error
    I think the edk2 project changed a bit in 3 years...
    So actually solution is patching the efi file, manually or via a commandline tool + diff file.
     
  17. Seven4ever

    Seven4ever MDL Member

    May 16, 2023
    113
    46
    10
    Make command is ok now, int10 assembly too, but error now in build python command.
     
  18. steven4554

    steven4554 MDL Expert

    Jul 12, 2009
    1,550
    2,945
    60
    You need to download and replace the acpi.sys file in boot.wim (all indexes) and install.wim (all indexes, in case there's more than one image inside install.wim.)
    The acpi.sys file below will work on x64 Windows 7 and should get rid of the A5 error message you saw.
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...