Making a Windows 10 Installation USB Drive Conundrum.

Page 1 of 2 12 LastLast

  1. Posts : 55
    Windows 10 Pro 22H2, Linux Mint 21.2, Linux Manjaro 21.3
       #1

    Making a Windows 10 Installation USB Drive Conundrum.


    Version Windows 10 v. 22H2

    As this is a longish post, I'll start by saying I've made a number of Win10 USB installation drives successfully in the past and present. But I've encountered a few weird failures as well recently, which perhaps someone can explain.

    There seem to be 2 main methods of making such an installation drive. (a) Burning a Win10 ISO to the USB, the most popular method, or (b) Extracting/copying the files and folders from the ISO to the USB drive. This is the method I much prefer, as I don't have to use the whole drive unlike method (a). In this case I can divide a 16GB USB drive into 2 or more FAT32 partitions, ensuring that one of them is large enough to be written to for the extraction. The remaining partition(s) can be used for booting, eg a Linux system or just used for storage. In the past my 16GB Toshiba drive could boot to either system when selecting from a UEFI boot menu. I now cleaned the Toshiba USB drive.

    So, here's the first problem. When using method (a) I've always used BalenaEtcher, and it's always worked as far as I recall. However, this time it failed either to finish burning successfully, or on the occasion it finished the task I was warned at the start that there was a 'missing partition table', and the resultant USB drive would not boot. And sure enough it didn't. I could make no further progress on repeated attempts with Balena. So I decided to switch to Rufus (first time using), and there was no issue, and my USB drive booted just fine. It seems that this Win10 issue with Balena goes back some years reading their forum, but I've not noticed this until now, and it's never been fixed by the looks of it.

    As for method (b), I've always used it successfully for both Win7 and Win10 installation drives. But now it no longer works for Win 10. As I mentioned I use a FAT32 partition. However I noticed one file, install.esd, size 4,160,744,150 bytes or 4.2 GB failed to copy over . So maybe that size file is too big for a FAT32 format. I kept getting an error or failure to complete at that point, using xcopy.

    So far everything I had done up to then was from Windows 10. I then switched to Linux, mounted the Win10.iso and and carried out the same copying exercise to the now empty FAT32 partition. To my surprise all of the ISO files copied over, including the large install.esd without a hitch. I then tried rebooting my PC to the UEFI boot menu, and lo and behold my Toshiba USB drive finally appeared, and I was able to boot to it. So any ideas why did this method failed under Windows 10?
      My Computer


  2. Posts : 43,046
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Burning a Win10 ISO to the USB,
    ??? DVD (dual layer) ???

    May I ask why you've discounted the MS media creation tool?

    Thanks.
      My Computers


  3. Posts : 9,761
    Mac OS Catalina
       #3

    dalchina said:
    ??? DVD (dual layer) ???

    May I ask why you've discounted the MS media creation tool?

    Thanks.
    Does not want the "Overlords" to know that they used that method.
      My Computer


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

    In this guide, you will learn the steps to use Rufus to download the ISO file and create a bootable media to install Windows 10 from scratch.

      My Computer


  5. Posts : 55
    Windows 10 Pro 22H2, Linux Mint 21.2, Linux Manjaro 21.3
    Thread Starter
       #5

    dalchina said:
    ??? DVD (dual layer) ???

    May I ask why you've discounted the MS media creation tool?

    Thanks.
    I didn't. That's what I used to download the Win10 ISO in the first place. I wasn't intending to use it to make a bootable USB drive. I've done that in the past. I didn't say I couldn't/didn't know how to make a USB drive. That wasn't the point of my post.

    FreeBooter said:
    In this guide, you will learn the steps to use Rufus to download the ISO file and create a bootable media to install Windows 10 from scratch.

    I already mentioned that I used Rufus successfully in my post.
      My Computer


  6. Posts : 43,046
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    I didn't. That's what I used to download the Win10 ISO in the first place.
    And thank you for your reply.

    Do you not know the tool can create a bootable disk directly?
    Create Bootable USB Flash Drive to Install Windows 10

    There's absolutely no need to download an iso file and make it difficult.. unless you're, say, creating a multi-boot USB disk.
      My Computers


  7. Posts : 55
    Windows 10 Pro 22H2, Linux Mint 21.2, Linux Manjaro 21.3
    Thread Starter
       #7

    dalchina said:
    And thank you for your reply.

    Do you not know the tool can create a bootable disk directly?
    Create Bootable USB Flash Drive to Install Windows 10

    There's absolutely no need to download an iso file and make it difficult.. unless you're, say, creating a multi-boot USB disk.
    Yes! I'm well aware of the Media Creation Tool, thank you, but not the point of my post.
      My Computer


  8. Posts : 14,019
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #8

    As for method (b), I've always used it successfully for both Win7 and Win10 installation drives. But now it no longer works for Win 10. As I mentioned I use a FAT32 partition. However I noticed one file, install.esd, size 4,160,744,150 bytes or 4.2 GB failed to copy over . So maybe that size file is too big for a FAT32 format. I kept getting an error or failure to complete at that point, using xcopy.
    The 4GB single-file-size is a limit of FAT32 in Windows which is why I use the MCT to create a bootable USB drive on 8GB, 16GB or 32GB USB Thumb drives. And those drives are only used for that purpose, same for Win11. I get the MCT process started then can go on to doing something else with the drive is being created. 8GB is the minimum requirement as it requires a bit over 4GB free space. Since '94 I've only used the OS process for install the OS, Microsoft for Windows, Linux for Linux, Apple for Macintosh, etc.
      My Computers


  9. Posts : 55
    Windows 10 Pro 22H2, Linux Mint 21.2, Linux Manjaro 21.3
    Thread Starter
       #9

    Berton said:
    The 4GB single-file-size is a limit of FAT32 in Windows which is why I use the MCT to create a bootable USB drive on 8GB, 16GB or 32GB USB Thumb drives. And those drives are only used for that purpose, same for Win11. I get the MCT process started then can go on to doing something else with the drive is being created. 8GB is the minimum requirement as it requires a bit over 4GB free space. Since '94 I've only used the OS process for install the OS, Microsoft for Windows, Linux for Linux, Apple for Macintosh, etc.
    I get that, and if you are using just one OS, then that's fine. But for a multiboot choice, as well as the reasons I gave in my OP using method (b) which seems to be a universal method, as well as not wasting space on a USB drive, I prefer that solution.

    But neither of my questions have been properly addressed so far. Rather more like 'don't do this, do that instead'. However you did partially answer one of them, in that the FAT32 4GB limit on file size only applies to the Windows system, although having googled I don't see this mentioned specifically to Windows. And I know for a fact that you can transfer files larger than 4GB to a FAT32 partition with Linux, as I did that the other day. But I don't see that mentioned anywhere.
      My Computer


  10. Posts : 6,378
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #10

    - There is no such Burning a Win10 ISO to the USB. You have some applications that extract the files form the iso file, format a USB drive and copy the files to the USB. An example is Rufus.

    - From File Allocation Table - Wikipedia, specifically regarding Fat32

    Maximal sizes
    The FAT32 boot sector uses a 32-bit field for the sector count, limiting the maximal FAT32 volume size to 2 terabytes with a sector size of 512 bytes. The maximum FAT32 volume size is 16 TB with a sector size of 4,096 bytes.[39][40] The built-in Windows shell disk format tool on Windows NT arbitrarily only supports volume sizes up to 32 GB,[nb 4] but Windows supports reading and writing to preexisting larger FAT32 volumes, and these can be created with the command prompt, PowerShell or third-party tools,[42] or by formatting the volume on a non-Windows system or on a Windows 9x system with FAT32 support and then transferring it to the Windows NT system.

    The maximal possible size for a file on a FAT32 volume is 4 GB minus 1 byte, or 4,294,967,295 (232 − 1) bytes. This limit is a consequence of the 4-byte file length entry in the directory table and would also affect relatively huge FAT16 partitions enabled by a sufficient sector size.

    - You can build a USB drive even if the install.wim or install.esd is bigger than 4G
    If you have a pure Sources\install.wim bigger than 4G and as you want to make a UEFI USB boot able drive you have two options:
    On Win 7 use 7Zip to extract all files and folders from the Win 11 iso file to a temporary folder.
    On Win 10, mount the iso file and copy all files and folders to a temporary folder.

    Option 1) Split \Sources\install.wim into smaller Install.swm (this option only work on a Win 10)
    Open a CMD window on the Sources\install.wim on the temporary folder (Shift+rightclick inside the folder + Open command window here)
    run the command
    Dism /Split-Image /ImageFile:install.wim /SWMFile:install.swm /FileSize:3600
    It will create two install.swm. Delete Sources\Install.wim on the temporary folder.

    Open a CMD window as administrator and type:
    diskpart
    list disk (it will list all drives. Identify the USB drive number)
    select disk n (replace n by the USB drive number obtained with list disk)
    clean
    convert mbr
    create part primary
    select part 1
    format fs=fat32 quick
    assign
    active
    exit (to exit diskpart)
    Copy all files and folders from the temporary folder to the Fat32 partition on the USB drive.


    Option 2) Create two partitions on the USB drive. (I suggest to use this option)
    - One Fat32 - 850M set as active
    - One NTFS = 7G

    Open a CMD window as administrator and type:
    diskpart
    list disk (it will list all drives. Identify the USB drive number)
    select disk n (replace n by the USB drive number obtained with list disk)
    clean
    convert mbr
    create part primary size=820
    select part 1
    format fs=fat32 quick
    assign
    active
    create part primary
    select part 2
    format fs=ntfs quick
    assign
    exit (to exit diskpart)

    Copy all files and folders from the temporary folder to the Fat32 partition EXCEPT the /Sources folder
    Create a /Sources folder on the NTFS partition. Copy all files and folders from the temporary /Sources folder to the NTFS partition /Sources folder EXCEPT boot.wim
    Create a /Sources folder on the Fat32 partition. Copy Boot.wim from the temporary /Sources folder to the Fat32 partition /Sources folder.

    Option 1 or Option 2 allow you to boot the USB as Legacy or UEFI to install as Legacy-MBR or UEFI-GPT
      My Computers


 

  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 16:39.
Find Us




Windows 10 Forums