logo elektroda
logo elektroda
X
logo elektroda

- Windows 10 installation on UEFI with USB on Legacy

Janek-Kam 32925 12
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17490447
    Janek-Kam
    Level 9  
    Posts: 134
    Help: 3
    Rate: 7
    Hello

    How to install Windows 10 on a hard disk to boot via UEFI, but to install from a USB 3.0 memory stick (there are no other ports on the hardware) and ready to boot in Legacy mode?

    An attempt to install from a flash drive in UEFI mode ends on the third screen with the message "No media driver required by the computer.".

    In many places (forums, guide, etc.) it is written that in order to install the system on the hard disk, which is to boot in UEFI mode, the installation media must also be prepared to boot in this mode.

    Why can't I prepare bootable media in Legacy mode and install the system to boot in UEFI mode?
    For example, under Windows, which starts in Legacy mode, you can prepare a USB flash drive both one that will boot in UEFI mode and Legacy mode.
    What prevents you from installing the operating system on the hard disk in the same way?

    greetings
    Janek
  • ADVERTISEMENT
  • #2 17491184
    helmud7543
    Level 43  
    Posts: 12618
    Help: 1216
    Rate: 1563
    Partition service is an obstacle. For UEFI mode, the system creates GPT, in Legacy MBR mode. I would try to add the driver to the installation or try to load it during installation. Maybe he is missing the USB 3.0 driver.
  • #3 17491642
    Janek-Kam
    Level 9  
    Posts: 134
    Help: 3
    Rate: 7
    Well, but for example under Windows XP, 7, 8, which start in Legacy mode, you can create a pendrive with both GPT and MBR systems.
    Then from such a USB stick you can start the installation and it either starts via UEFI or through Legacy.
    Why can't I install the system on a hard disk in the same way?
    Both the installation run in UEFI and Legacy mode, during installation, allows you to open a command window and run diskpart, in which you can create both GPT and MBR on the hard disk.
    Unfortunately, there are no USB 3.0 drivers that the installer would accept. I tried drivers from both the hardware manufacturer and Intel, who produced the chipset.
  • ADVERTISEMENT
  • #4 17491665
    zworys
    Level 39  
    Posts: 4114
    Help: 519
    Rate: 570
    Have you tried nLite to download USB drivers to the disc image? Search for drivers from the motherboard manufacturer (e.g. ASROCK has a USB patch on its website)
  • #5 17492067
    Janek-Kam
    Level 9  
    Posts: 134
    Help: 3
    Rate: 7
    I haven't tried nLite because I don't have a driver that would work.
    As I wrote, neither the driver from the hardware manufacturer (motherboard) hence nor the driver from the chipset manufacturer hence they do not work after providing them during installation at the request of the installation program.
    Which ASROCK driver should I take to make it work?
  • ADVERTISEMENT
  • #6 17493332
    zworys
    Level 39  
    Posts: 4114
    Help: 519
    Rate: 570
    I gave ASROCK as an example. Drivers do not work when given during installation, but you do not know if they will behave after integration with the disc image. In addition, USB 3.0 is downward compatible, so a 2.0 driver should be enough to get it moving. Next - MBR is created for "legacy" and GPF for UEFI. You can upload and boot the system to MBR and then convert to GPT. I didn't do it but on many forums they write that it can be done without losing data.
  • #7 17496957
    Janek-Kam
    Level 9  
    Posts: 134
    Help: 3
    Rate: 7
    Thank you very much.
    I will try to integrate these drivers with the Windows 10 installation version,
    I just need to find instructions on how to do this in nLite.

    Maybe USB 3.0 is compatible with 2.0, but Windows 10 wants some drivers and doesn't take those that it has in the installation.

    After running the installation from a flash drive made of GPT and FAT32, I can do both MBR and GPT on the hard disk.
    So I still don't understand why you can't install Windows 10 to boot from UEFI, since the GPT partition can be done.

    Added after 14 [hours] 29 [minutes]:

    Unfortunately, probably nLite does not work with Windows 10, and NTLite is paid and probably does not allow adding drivers.

    If for UEFI you can create GPT on a pendrive with an installation version from the level of Windows run by MBR, why can't you create a hard disk with Windows 10 installed in the same way?
    Especially that when you run the installation from a pen drive in MBR mode you can create both MBR and GPT on the disk.

    Also, this may not be a USB driver issue if the installation version running in MBR mode allows you to install Windows 10, and the same installation version running in UEFI mode stops on the third screen.
  • ADVERTISEMENT
  • #8 17498363
    Gelip
    Level 36  
    Posts: 5200
    Help: 321
    Rate: 606
    Janek-Kam wrote:
    So I still don't understand why you can't install Windows 10 to boot from UEFI, since the GPT partition can be done.

    Preparing the media and starting the system from it are two different things. Preparation is a matter of copying the right files to the right place and the fact that Windows does not want to install in EFI mode on MBR is a simple limitation - certainly Setup but I'm not sure if the system itself. An installer running in EFI mode will not let you install the system on an MBR disk - that's Microsoft's invention. I have not tested with Win7 and newer systems but such old WinXP x86 or x64 can be run in EFI mode from the MBR partition (in VMware without a problem, on real hardware with graphics problems). You need to install the system in BIOS mode and then manually copy several EFI files to the right place, switch the firmware to EFI and the system starts up :-) . The fact that EFI files - in this case are from the test version of Vista, when EFI was in development, but since these files can be run WinXP on hardware with the EFI / BIOS firmware from June this year (June 21, 2018) this only indicates that the new Windows have specially imposed restrictions on EFI that it must be on GPT. If someone is interested in the matter, I invite you to the topic: Windows XP 64-bit or 32-bit - can I run with EFI?
  • #9 17499269
    Janek-Kam
    Level 9  
    Posts: 134
    Help: 3
    Rate: 7
    Thank you very much.
    Does this mean that Microsoft's invention is also that the installer running from a pen drive with MBR in Legacy mode will not allow the system to be installed on the hard disk with GPT and booting in UEFI mode?
    So we have such situations:
    - Windows 10 installation on UEFI with USB on Legacy
  • #10 17499340
    zawartek
    Level 16  
    Posts: 289
    Help: 12
    Rate: 51
    Hello colleagues

    I will give a simple solution for installing efi (it took me to find a solution from 8h of work, but you only have a few minutes)

    1) we boot the computer in legacy mode (at least to run the windows installation)

    2) install the operating system - after restart we have "zonk" because windows do not start

    3) Run the Windows installation again with a USB Flash Drive

    4) after choosing the installation where the system tells us to choose the disk on which to install the system press Shift + f10 a command line pops up (cmd)


    !!!!! VERY IMPORTANT TO HAVE A MEDIA WITH THE LATEST WINDOWS VERSION BECAUSE OLD MAY HAVE NO CONVERSION TOOLS !!!!!



    (note in advance in diskpart what number our disk has
    diskpart
    list disk
    select disk
    exit
    )

    write:
    mbr2gpt / convert / disk: 0 (disk: 0 or other disk to be efi)

    This converts the partition to GPT and adds the EFI partition

    after successfully completing the process, we restart the computer by entering the bios

    we turn off legacy mode and turn on UEFi

    After this operation, Windows completes its installation and is now properly running

    greetings

    zawartek

    Added after 2 [hours] 1 [minutes]:

    Checked out a moment ago

    1) Run windows installation in usb legacy mode
    2) install windows
    3) restart run the installation again
    4) sift + f10
    5) mbr2gpt / convert / disk: 0
    6) restart
    7) change in bios on UEFI boot
    8) complete the windows installation
  • #11 17500561
    Gelip
    Level 36  
    Posts: 5200
    Help: 321
    Rate: 606
    EFI firmware does not support NTFS by default. However, it supports FAT32 but the medium does not have to be GPT.

    For EFI (64-bit), only the appropriate location and startup file name on the FAT32 partition are valid:
    efi\boot\bootx64.efi

    Pendrive can be universal - from which the computer will boot in both BIOS and EFI.

    Windows 7 installer and newer will start in both BIOS and EFI but will not allow you to install the system in EFI mode on the MBR partition. I don't know the opposite, whether it will allow you to install the system in BIOS mode on a GPT partition.
  • #13 17534384
    Janek-Kam
    Level 9  
    Posts: 134
    Help: 3
    Rate: 7
    Thank you very much for all your help.
    I left the system in Legacy mode because I have to work on it.
    In the future I will use mbr2gpt, because it seems that this may actually be a good solution.

    greetings

Topic summary

✨ The discussion revolves around the challenges of installing Windows 10 on a hard disk configured for UEFI booting, using a USB 3.0 flash drive in Legacy mode. The main issue arises from the incompatibility of the installation media prepared in Legacy mode with UEFI requirements, particularly the need for USB 3.0 drivers during installation. Users suggest integrating drivers using tools like nLite or WinUSB, and mention that the mbr2gpt command can convert an MBR disk to GPT post-installation. The conversation highlights the limitations imposed by Microsoft regarding installation methods and the necessity of using FAT32 for EFI booting. A practical solution involves initially installing Windows in Legacy mode and then converting the disk to GPT using mbr2gpt.
Generated by the language model.

FAQ

TL;DR: 64-bit UEFI boots \EFI\BOOT\BOOTX64.EFI and "Setup won't install EFI to MBR." To install Windows 10 for UEFI when your USB boots Legacy, boot Setup in UEFI or install in Legacy then convert the disk to GPT and switch firmware to UEFI. [Elektroda, Gelip, post #17500561]

Why it matters: This helps people stuck with USB‑only or Legacy‑booted media cleanly install and boot Windows 10 in UEFI mode.

Quick Facts

Can I install Windows 10 in UEFI mode if my USB only boots in Legacy?

Setup enforces the boot mode you started with. If you boot in Legacy, it expects MBR and won’t configure EFI. Boot in UEFI, or install in Legacy, convert to GPT, then switch firmware to UEFI. This restriction comes from Microsoft’s Setup. [Elektroda, Gelip, post #17498363]

Why do I get “A media driver your computer needs is missing” when starting in UEFI?

That dialog usually means Setup lacks a driver for your USB 3.0 (xHCI) controller. Without it, Windows PE can’t access the installer after the first screens. Add or integrate the proper USB driver before Setup continues. [Elektroda, helmud7543, post #17491184]

How do I convert a Legacy install to GPT/UEFI with mbr2gpt?

  1. Start Windows Setup, press Shift+F10, then use DiskPart to confirm the target disk number.
  2. Run: mbr2gpt /convert /disk:0 (replace 0 with your disk number).
  3. Reboot, switch firmware to UEFI, and complete Windows setup. Use recent Windows 10 media; older images may lack mbr2gpt. [Elektroda, zawartek, post #17499340]

Which Windows 10 versions include mbr2gpt?

Windows 10 version 1703 and later include mbr2gpt.exe. Run it from Windows PE or a running Windows. It converts in place and creates the EFI System Partition. [MBR2GPT.EXE (convert MBR disk to GPT)]

Can I make one USB that boots both BIOS and UEFI?

Yes. Format the USB as FAT32 and place \EFI\BOOT\BOOTX64.EFI for UEFI. Such media can boot either way, depending on firmware selection. [Elektroda, Gelip, post #17500561]

Does EFI support NTFS on USB drives?

By default, no. Most firmware reads FAT32 only during pre‑boot. “EFI firmware does not support NTFS by default.” Use a FAT32 boot partition to ensure UEFI boot. [Elektroda, Gelip, post #17500561]

Can Windows 10 install in BIOS mode on a GPT disk?

Windows Setup blocks that pairing. When you boot in BIOS mode, it expects an MBR target. To use GPT, boot Setup in UEFI or convert after install. [Windows Setup: Installing using the MBR or GPT partition style]

I only have USB 3.0 ports. How can I proceed if drivers won’t load?

Integrate the correct USB 3.0/xHCI driver into the installer. Load it when prompted or add it to the image beforehand. Without it, Setup may stall around the third screen. [Elektroda, helmud7543, post #17491184]

What tool can automate building the USB if other creators aren’t working?

Use WinUSB to create a bootable Windows USB from your ISO. It is a simple alternative when some tools fail. [Elektroda, pidar, post #17500657]

Why can’t I prepare media in Legacy and still install for UEFI on GPT?

Setup behavior depends on how it was started. In EFI mode, it enforces GPT; started in Legacy, it won’t set up EFI boot. Install, then convert, or boot the installer in UEFI to align modes. [Elektroda, Gelip, post #17498363]

What’s the exact UEFI boot file path for 64‑bit media?

Use \EFI\BOOT\BOOTX64.EFI on a FAT32 partition. Firmware will find and load it on 64‑bit systems. [Elektroda, Gelip, post #17500561]

Is there an edge case where XP can run under EFI?

Yes, with manual steps. “You need to install the system in BIOS mode and then manually copy several EFI files,” then switch firmware. This is experimental and not recommended for production. [Elektroda, Gelip, post #17498363]

My ISO’s install.wim is bigger than 4 GB. Will FAT32 block it?

Yes. FAT32 cannot store files larger than 4 GB. Use media or methods that keep individual files under 4 GB when using FAT32. [FAT32 File System Limitations (KB314463)]

How do I add USB 3.0 drivers into Windows 10 install media?

Mount boot.wim (index 2) and install.wim, then add drivers offline with DISM’s /Add-Driver. Commit changes and rebuild the USB. This injects xHCI drivers so Setup can see USB storage early. [Add drivers to an offline Windows image (DISM)]
Generated by the language model.
ADVERTISEMENT