Failed to install from flash drive


Bri1

Member
Local time
1:00 PM
Posts
1
OS
Windows 11
Hello. Long story short, my father unexpectedly passed several months ago. I have his desktop, and am trying to reinstall windows on it after making a backup of personal files i want to keep.

I created a installation file on a flash drive, as doing the reset from the system settings would not let me do it. Stupidly, i formated all disc while in the installation program as i thought this would be a cakewalk, as I have previously installed windows from a flash drive before.

Here is where the problems arise: the setup progresses to 75% (once 76%) then gives me the error that windows 11 installation failed. No error code.

As the only other thing i have is a Macbook air for creating a new installation media, I am having problems even though i have tried different solutions (Reformating to exfat with GUID/master, tried splitting the 7,8gb install file in the ISO file so there are 2 files under 4GB, trying to install on different HDD/SSD with all methods), all different solutions leads to the same point of failure: Installation stops at 75/76% with the error that the windows11 installation failed. Both TPM and secure boot is enabled in BIOS. I am reluctant to reset the bios settings as my father OC´d his desktop and i would like to keep it that way, as I myself am not as competent concerning OC as he was.

I will admit that i have not researched good enough in my preparations for this (and yes, I will admit that formating the original windows install before installing the new OS is not a smart move) and as i understand it: FAT32 does not support files over 4GB, which appears to be the main root of the problem here. I have read that RUFUS is common as it defaults it to NTFS instead of FAT32. Would that be the solution to my problem, creating the media installation file using RUFUS? In that case my problem is that the only computer i have access to is a MAC which does not support RUFUS.

EDIT: The flash drive is a PNY 32GB USB 3.1

Help would be appriciated!

GPU: 5060 Ti 16GB

CPU: i5 13600KF

RAM: 32GB DDR4

Motherboard: MSI Z690 Tomahawk WIFI DDR4.
 
Windows Build/Version
Windows 11 PRO
Last edited:

My Computer My Computer

At a glance

Windows 11i5 13600KF32GB DDR45060 Ti 16GB
OS
Windows 11
Computer type
PC/Desktop
CPU
i5 13600KF
Motherboard
MSI Z690 Tomahawk WIFI DDR4.
Memory
32GB DDR4
Graphics Card(s)
5060 Ti 16GB
The biggest challenge in creating Windows 11 installation media in a macOS or Linux environment is that the sources/install.wim file among the installation files is now larger than 4 GB. UEFI booting requires the FAT32 file system on the USB flash drive, which does not support individual files larger than 4 GB.
  1. If using Linux: The best and easiest option is Ventoy. Install Ventoy onto the USB drive, which allows you to simply copy the Windows 11 ISO file directly as-is into the USB drive's file partition. Ventoy can boot it directly. (For instance, balenaEtcher is unable to flash a Windows 11 ISO into a UEFI-compatible USB drive. It merely performs a raw clone of the ISO image to the USB.)
  2. If using Mac: Since Ventoy or Rufus are not available for macOS, you can use the wimlib tool in the Terminal (installable via Homebrew) to split the install.wim file into smaller parts to fit the USB drive.
  3. If using a Windows machine: Create the USB drive using either the Media Creation Tool (which downloads pre-split .swm files) or Rufus (which creates a small FAT partition in addition to the NTFS partition for the UEFI:NTFS bootloader).

ChatGPT:

Use Homebrew + wimlib

1. Install Homebrew (if it isn't already installed):

Code:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Install wimlib:

Code:
brew install wimlib

3. Mount the Windows 11 ISO by double-clicking it in Finder.

For example, if it is mounted as:

Code:
/Volumes/CCCOMA_X64FRE_EN-US_DV9

4. Split
Code:
install.wim
into
Code:
.swm
files:

Code:
mkdir ~/Win11USB

wimlib-imagex split \
"/Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim" \
~/Win11USB/install.swm \
3800

This creates:

Code:
install.swm
install2.swm
install3.swm
...

Windows Setup automatically recognizes split
Code:
.swm
files.

Create the USB

Find the USB device:

Code:
diskutil list

Assume the USB is
Code:
/dev/disk4
.

Erase it as GPT/FAT32:

Code:
diskutil eraseDisk MS-DOS WIN11 GPT /dev/disk4

Copy everything from the ISO except
Code:
install.wim
:

Code:
rsync -av \
--exclude=sources/install.wim \
/Volumes/CCCOMA_X64FRE_EN-US_DV9/ \
/Volumes/WIN11/

Copy the split WIM files:

Code:
cp ~/Win11USB/install*.swm \
/Volumes/WIN11/sources/

Eject the USB:

Code:
diskutil eject /dev/disk4

The USB is now a standard UEFI-bootable Windows 11 installation drive that works on systems requiring a FAT32 EFI partition.
 
Last edited:

My Computers My Computers

  • At a glance

    Windows 11 ProAMD Ryzen 9 9950X3DKingston FURY Beast 64GB (2x32GB) DDR5 6000MT/sASUS TUF Gaming Radeon RX 9070 OC Edition 16G...
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 9 9950X3D
    Motherboard
    ASRock B650E Taichi Lite
    Memory
    Kingston FURY Beast 64GB (2x32GB) DDR5 6000MT/s
    Graphics Card(s)
    ASUS TUF Gaming Radeon RX 9070 OC Edition 16GB GDDR6
    Hard Drives
    Solidigm P44 Pro 2TB M.2 NVMe SSD
  • At a glance

    Windows 11 HomeIntel Core Ultra 9 275HX64GB (2x 32GB) DDR5-6400NVIDIA GeForce RTX 5080 16GB GDDR7 Laptop GPU
    Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 10 16"
    CPU
    Intel Core Ultra 9 275HX
    Memory
    64GB (2x 32GB) DDR5-6400
    Graphics card(s)
    NVIDIA GeForce RTX 5080 16GB GDDR7 Laptop GPU
    Hard Drives
    2x 1TB M.2 NVMe SSD (SK Hynix)
Back
Top Bottom