UefiSeven: Easily boot Windows 7 on UEFI class 3 devices

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

  1. polygaryd

    polygaryd MDL Novice

    Nov 7, 2016
    44
    2
    0
    #121 polygaryd, Aug 24, 2020
    Last edited: Aug 24, 2020
    @wkeller

    I wrote my iso names that I'm using in the pm and they are located in the correct folder. I had a space for windows 10 in the iso name. You should specify that you must have windows 10 iso named win10 or windows10 without a space between the win and the version number or modify the script to find isos with spaces between the windows and the version number.
     
  2. !Absolute Zero!

    !Absolute Zero! MDL Novice

    Aug 19, 2020
    3
    0
    0
    First off, thanks for your work - probably millions of people were waiting for something like this! :):thumbsup: (and similar solutions from other coders;) )

    I've prepared my USB drive exactly following these steps - and it worked flawlessly. But when I try to do exactly the same for my optical drive (creating an installation DVD with uefiseven), it fails without even loading uefiseven - despite the DVD .iso looks exactly the same like the USB drive (at least in the end), once mounted/burned to the DVD:

    USB drive Win7 image: 886 files, 206 folders; bootx64.original.efi, bootx64.efi and UefiSeven.verbose at \EFI\Boot\
    DVD Win7 image: 886 files, 206 folders; the exact same folder- and file-structure like the USB drive version and the above-mentioned 3 files are the same ones I used for the USB drive and they're placed exactly in the same place with the same structure!

    However, for the DVD version, I had to modify my approach in order to get the 3 files into the .iso:

    - Copy the contents of the entire Win7 install disc to a folder on my HDD.
    - Replace "install.wim" and "boot.wim" with my customized ones (with some drivers and windows updates integrated in them). [However, both files are the same ones I also used for the USB drive version]
    - Create a folder named "boot" inside the \EFI\ folder (because it was missing), beneath the "microsoft" folder.
    - Placing the same 3 files (bootx64.original.efi, bootx64.efi, UefiSeven.verbose) into the newly created "boot" folder.

    - Then, I've run oscdimg in order to create an .iso image of the Win7 installation files:

    oscdimg.exe -m -o -u2 -udfver102 -lWIN7 -bootdata:2#p0,e,b"C:\Win7\boot\etfsboot.com"#pEF,e,b"C:\Win7\efi\microsoft\boot\efisys.bin" "C:\Win7" "C:\ISO\CustomWin7Image.iso"

    Then, I mounted/burned the freshly created .iso to an empty DVD disc. Like stated in the beginning of my post, the final mounted image looked exactly the same for both the USB drive and DVD disc version - the same number of files and folders, the same folder & file structure and the exact same files used for the USB drive version and these files were placed in the exact same folder as the USB drive version!

    Still, the USB drive works but the DVD disc fails without even loading UefiSeven interface! Why is that?

    Thanks for support,

    AZ
     
  3. andreidi

    andreidi MDL Novice

    May 24, 2020
    34
    9
    0
    Do you guys also have to press enter twice to get to the boot logo when booting with uefiseven? I'm trying to figure out with manatails why this happens, even if I copy the skiperrors file, it's very annoying that I have to do this every boot.
     
  4. andreidi

    andreidi MDL Novice

    May 24, 2020
    34
    9
    0
    Does this have to do with the fact that when you create the bootable usb you express choose to make it uefi/gpt bootable, while a dvd cdfs cannot be formatted as uefi/gpt?
     
  5. polygaryd

    polygaryd MDL Novice

    Nov 7, 2016
    44
    2
    0
    @wkeller I renamed my windows 10 is to win10.iso and this time your script found it, the iso size went from 3.7gb to 7.4gb so i knew it did something different this time. The issue now is that windows setup said it "couldnt prepare to boot into the next phase of the installation" and reverted all the changes setup had made up to that point and quit out. So it didn't work. I had gotten further with windows image updater program that does essentially the same thing (uses windows 10 installer, adds updates, drivers, etc) as your script except it needs vgashim or uefiseven to function after the first part of the installation (when the installer reboots the system and continues from the hdd/ssd to finish). I'm wondering why the windows installer your using from my windows 10 iso wont prep to boot into the next phase. It must have to do with the uefi firmware?? except that windows 10 can install normally so i dont get whats going on. any ideas?
     
  6. !Absolute Zero!

    !Absolute Zero! MDL Novice

    Aug 19, 2020
    3
    0
    0
    I've done countless UEFI installations (but with CSM enabled) with my Win7 install DVD. As for creating customized images (either for DVD or USB) of Win7:

    I've had problems with that in the beginning, yes! But after entering the correct parameters for oscdimg (if you've looked closely to the oscdimg script I've written above), UEFI installation from a customized Win7 image finally worked!

    AZ
     
  7. polygaryd

    polygaryd MDL Novice

    Nov 7, 2016
    44
    2
    0
    #127 polygaryd, Aug 24, 2020
    Last edited: Aug 24, 2020
    @!Absolute Zero! what exactly did you do to get this uefiseven to work off a dvd rom install?

    @andreidi I only have to press enter once to get to the windows logo.
     
  8. andreidi

    andreidi MDL Novice

    May 24, 2020
    34
    9
    0
    I understand, and using uefiseven.skiperrors provides no more enter needed to boot or it doesn't work for you either?
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    31,622
    49,854
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. polygaryd

    polygaryd MDL Novice

    Nov 7, 2016
    44
    2
    0
    I can format the partition that I want to install windows 7 on but as I've said multiple times i can't format my entire msata drive. I had windows "installed" more like halfway installed from all the previous attempts from all the different methods that are floating around the internet, maybe that's why you're saying it seems like an in place upgrade? I'm going to format the partition this time and try again.
     
  11. Lometon6254

    Lometon6254 MDL Novice

    Nov 8, 2018
    5
    0
    0
    My bad with my previous comment. I in fact did have the wrong name. My fault. My new problem now is that it says Starting Windows, but as soon as the fragments of the flag appear the computer restarts. This happens even without UefiSeven when I disable the VGA driver via registry and move the driver files out of their folders and rename them.
     
  12. polygaryd

    polygaryd MDL Novice

    Nov 7, 2016
    44
    2
    0
    #133 polygaryd, Aug 25, 2020
    Last edited: Aug 25, 2020
    I havent tried the skip errors file as im still troubleshooting the whole install. the verbose file works though.

    Ive also tried the script from @wkeller with formatting the partition at boot/from installer and the setup still cancels saying it cant prepare the machine to boot into the next phase of the install. so as far as his script, I'm at a loss with it. I also cannot boot the usb drive with the iso your script creates with secure boot enabled like you say you can. they arn't modded versions besides what your script does to them.


    at least the windows image updater program let me get through the install and reboots the machine. when it tries to boot again even with uefi seven is where it fails. seems like this is beating a dead horse for me. I'm wicked frustrated with such a simple thing not working due to the manufacturers being lazy and having such a crap uefi firmware/bios with 0 options. Its literally the worst bios I've ever seen and I've been working on computers for 27 years.
     
  13. andreidi

    andreidi MDL Novice

    May 24, 2020
    34
    9
    0
    I think it's a driver issue. I also have 0 options on my acer spin 5 laptop uefi class 3 bios, but luckily I don't need any slipstreamed drivers if I use uefiseven and I can boot win7 without extra drivers needed.
     
  14. polygaryd

    polygaryd MDL Novice

    Nov 7, 2016
    44
    2
    0
    #135 polygaryd, Aug 25, 2020
    Last edited: Aug 25, 2020
    I mean the tablet is so old (gen 3 intel i5 cpu) that is should have csm it even shows csm in the screen shots when you go to acer's website for help about changing bios/uefi firmware options for this exact model, yet its not in any versions of the bios/firmware you can actually install. if it just had csm like its supposed to I wouldn't be having this issue. you also cant add any bootloader options either manually or automatically. it only will pick up the windows one no linux ones or anything like any other standard machine.

    My other tablet which is newer (4th gen i5) has all the options lol. The thing that that tablet did thats annoying is put the touch screen on the i2c bus instead of the usb bus and so windows 7 has no touch support because there is no driver available for it and it has intel 4200 graphics so mac doesnt want to install on it without serious modifications.

    Anyway this acer w700 bios is basically crippled like the vivo smart tab me400c bios is where it would only let you install a special windows 10 32bit uefi version and nothing else even though its a x64 cpu. Manufacturers do some really stupid stuff for seemingly no reason sometimes.

    also i know for a fact that when you install windows 7 on this machine in legacy mode you dont need ANY slipstreamed drivers, you just use a usb 2.0 flash drive and i do believe the one option this bios has is to turn off usb 3 support. so windows 7 installs fine, give it wifi drivers, turn usb 3 back on and let windows find all it drivers through windows update or a program like slimdrivers. no problem
     
  15. andreidi

    andreidi MDL Novice

    May 24, 2020
    34
    9
    0
    But uefiseven should work on any class 3 machine. If you don't get bootlogo freeze then uefiseven works, if you get freeze at other points in the installation then you have other, probably driver issues.
     
  16. NoTears

    NoTears MDL Novice

    Aug 24, 2020
    18
    3
    0
    #137 NoTears, Aug 25, 2020
    Last edited: Aug 25, 2020
    What do you mean by "class 3 machine" ?
    If you look back to the older posts, UefiSeven didn't work for some members. What could be the cause accordinf to you ?
     
  17. polygaryd

    polygaryd MDL Novice

    Nov 7, 2016
    44
    2
    0
    @NoTears

    he means class 3 uefi firmware which lacks csm / legacy mode and therefore no int10h

    I think the others that uefiseven doesn't work for is because their systems are to new and they don't have windows 7 drivers for the newer dedicated video cards or integrated video. My case isn't the issue these other folk are having as far as I can tell. The drivers are readily available for my chipset for windows 7 and yet it doesn't work, or I'm missing some driver I'm unaware of. The thing is that windows 7 in legacy mode on this machine doesn't need any extra drivers to load to a desktop aka fully through the install process.
     
  18. Lometon6254

    Lometon6254 MDL Novice

    Nov 8, 2018
    5
    0
    0
    It isn't UefiSeven causing the hang. In fact, ANY time I disable the VGA driver, it hangs on the boot screen there, but I can hear and interact with the OS. Just can't see anything. I was able to RDP into it and it said my GPU was "Working properly." These stupid AMD drivers really suck. The logon / logoff animation is epileptic, same with UAC, changing a theme, even changing resolution. It is not this laggy on my laptop with UHD 620, and even my Core 2 Duo machine from the Windows 7 time period. It is some driver problem and I want to solve this. I also want to figure out why disabling the VGA driver just does nothing. Gigabyte, my motherboard manufacturer, clearly states drivers for my motherboard even though it is a Z370 based motherboard. My GPU is the AMD Radeon RX 5700 XT. Supported 7 but obviously they don't give a damn. I really am running out of options. My productivity using Windows 10 has downfalled dramatically over the summer after all the changes Microsoft put in place. I really want to get a working W7 install that functions great so I can get back to actually using my computer, not working on my computer.
     
  19. NoTears

    NoTears MDL Novice

    Aug 24, 2020
    18
    3
    0
    So does that mean that UefiSeven should work for all machines which do not have CSM ?