Create a bootable flash drive for a UEFI system (not Legacy Boot mode)

Page 1 of 3 123 LastLast

  1. Posts : 985
    Windows 10 Home 21H1
       #1

    Create a bootable flash drive for a UEFI system (not Legacy Boot mode)


    Below are two examples of instructions I was given a couple of years ago for creating a bootable Windows 10 USB flash drive in order to be able to clean install Windows 10 on a UEFI boot only PC (not Legacy Boot mode).

    To create bootable UEFI USB flash drive for installing Windows 10 with UEFI
    1. Format a USB flash drive to FAT32 file system.
    2. Copy all the files and folders from the mounted Windows 10 ISO file to the USB flash drive.

    And...

    Here is the simplest way for UEFI systems
    1) format flash drive as fat32
    2) mount iso as a drive
    3) copy all files from iso to flash drive using file explorer

    The question I have is, Is it sufficient to just wipe a USB flash drive by performing a FAT32 format on it using file explorer if the flash drive was last used when I used it with the Media Creation Tool to create a bootable flash drive?
    I am just wondering if the Media Creation Tool could have done something to the USB flash drive at that time meaning that it has to be cleaned and prepared with Diskpart again?
    Basically, I suppose what Im asking is does it matter what was on the USB flash drive previously. Could it cause issues etc? Or is it irrelevant? Will simply formatting the flash drive FAT32, mounting the ISO and copying all files onto the flash drive be OK no matter what was previously on the flash drive?
      My Computer


  2. Posts : 4,144
    Windows 3.1 to Windows 11
       #2

    I suppose what Im asking is does it matter what was on the USB flash drive previously.
    As long as the USB is format as Fat32 - all is well....
    With one Known Exception - If the USB was formatted prior using Rufus - - then it will have to be cleaned with Diskpart to remove hidden Rufus Partition
      My Computer


  3. Posts : 18,432
    Windows 11 Pro
       #3

    +1 what @Kyhi stated.
      My Computer


  4. Posts : 5,330
    Windows 11 Pro 64-bit
       #4

    Installing Windows O/S from a USB flash drive is actually much faster than installing from a DVD. In this guide i will show you how to create a Windows 8, Windows 8.1 or Windows 10 bootable USB flash drive. You need a 4 GB USB flash drive to have enough space to fit the entire Windows O/S installation file on the drive.

    Before you begin it is important to understand that any data on your USB flash drive used to create the boot media will be permanently deleted because the process formats the USB flash drive. Save any important documents to another location before proceeding to the next section.





    Preparing the USB Flash Drive
    The partitioning and file system on the USB flash drive are important for booting. Only one partition can be on the USB flash drive, it must be set to active, and the file system must be FAT32. Many computers with the new UEFI BIOS replacement have problems booting USB flash devices with any file system other than FAT32.

    Insert the USB flash drive into a Windows computer and follow these steps:


    1. After the USB flash drive has been recognized and installed on the computer, click the button, type Diskpart, and hit Enter key.
    2. From the opened Diskpart Command Prompt window, type list disk and hit Enter key.
    3. Locate the Disk # of your USB flash drive. You can easily find it by looking at the size column.
    4. Once you have the ID, type select disk # and hit Enter key. (Replace the # hash symbol with the actual USB flash drive assigned disk ID, such as 1).
    5. Type clean and hit Enter key to destroy any partitions, file system, and data that may currently be on the USB flash drive.
    6. Now it is time to create the partition. Type create partition primary and hit Enter key.
    7. For booting it is important to set the partition as active. Type active and hit Enter key.
    8. The file system must be FAT32. Type Format FS=Fat32 Label=Winboot quick and hit Enter key. This performs a quick format and labels the drive in one step. Windows will automatically mounts and assigns a drive letter to USB flash drive.
    9. Type exit to close the Diskpart utility. Your USB flash drive is now prepared for the next phase.









    Write a New Boot Sector to USB Flash Drive
    The commands you need to run are as follows:


    1. Click the button, type Cmd.exe, right click the Cmd.exe, select "Run as administrator" from context menu.
    2. Insert the DVD media into your PC or mount the Windows Setup ISO image.
    3. At the elevated administrator Command Prompt change the Command Prompt directory path to the Boot folder that resides at the DVD media or mounted Windows Setup ISO image where bootsect.exe executable file lives.
    4. Type Cd /d X:\Boot, replace the X: drive letter with the DVD media or mounted Windows Setup ISO image drive letter.


    5. Write a new boot sector to the USB flash drive by entering bootsect /nt60 X: /force, where X: is the drive letter of the USB flash drive.







    Some USB flash drives do not support this preparation process, and you might not be able to make the device bootable in this way. The devices that do not support this process are typically set so they are recognized as removable media devices and not USB disk devices. Because of this, you might need to refer to the device manufacturer’s Web site for formatting documentation and tools.





    Copying the Installation Files
    The final step, now that you have your USB flash drive prepared, is to copy the Windows O/S setup files.


    1. Insert the DVD media into your PC or mount the Windows Setup ISO image and navigate to the drive on your computer that has the Windows O/S installation files.
    2. Select all the files, and then right-click and select Copy.
    3. Navigate to the root of the USB flash drive, right-click and click Paste.






    The file copy can take a number of minutes, but after it has finished you can install the Windows O/S quickly on machines with USB flash drive.



    You can also copy all the Windows installation files to the USB flash drive that you’ve been preparing with Xcopy command. In this example, the Windows 10 ISO image is mounted with the drive letter of V and the USB flash drive has the drive letter X. Knowing this, type the following command and press Enter:

    Code:
     Xcopy    V:\*.*    X:\   /E /F /H
      My Computer


  5. Posts : 526
    Windows 10
       #5

    FreeBooter said:
    ... Only one partition can be on the USB flash drive... , it must be set to active, and the file system must be FAT32. Many computers with the new UEFI BIOS replacement have problems booting USB flash devices with any file system other than FAT32.
    It´s possible to boot from a UFD with two partitions, one FAT32, the boot partition, and the other NTFS. For example, you can have a backup image in the NTFS partition, and the boot files and the image software in the FAT32. You can boot from the FAT32 partition, and restore the image from the other one (Windows 10 1709+).
      My Computer


  6. Posts : 5,330
    Windows 11 Pro 64-bit
       #6

    Anibor said:
    It´s possible to boot from a UFD with two partitions, one FAT32, the boot partition, and the other NTFS. For example, you can have a backup image in the NTFS partition, and the boot files and the image software in the FAT32. You can boot from the FAT32 partition, and restore the image from the other one (Windows 10 1709+).
    Modern UEFI computers can boot from NTFS partition you can try NTFS partition see it will boot.
      My Computer


  7. Posts : 14,020
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #7

    If using the MCT process there is a statement on the USB choice about wiping all data off the drive during the creation of it. Windows has a limit with FAT32 of 32GB, made the mistake of using a 64GB once and the second half became unusable. FAT32 has a single-file size limit of 4GB but the MCT process keeps that in mind. Over the years haven't had any issue using the MCT. I usually get the third choice, both 32-bit/x86 and 64-bit/x64 versions at the same time which necessitates using an 8GB USB drive and using DVD+R/DL discs for burning/creating the exact copy of the original disc from the .iso.
      My Computers


  8. Posts : 7,607
    Windows 10 Home 20H2
       #8

    FreeBooter said:
    The partitioning and file system on the USB flash drive are important for booting. Only one partition can be on the USB flash drive
    The following bootable USB drive contains two partitions: FAT32 and NTFS.
    Windows PE can be used to mount a Windows ISO file for clean installation.

    Create a bootable flash drive for a UEFI system (not Legacy Boot mode)-disk-management.jpg

    FreeBooter said:
    For booting it is important to set the partition as active.
    "Active" is necessary for Legacy mode, which the OP does not need.
      My Computer


  9. Posts : 18,432
    Windows 11 Pro
       #9

    The whole process of writing new boot sector to the USB flash drive is NOT required.
      My Computer


  10. Posts : 7,607
    Windows 10 Home 20H2
       #10

    sportsfan148 said:
    I am just wondering if the Media Creation Tool could have done something to the USB flash drive at that time meaning that it has to be cleaned and prepared with Diskpart again?
    Using DiskPart to run a few commands takes much less time than writing your post #1.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:02.
Find Us




Windows 10 Forums