Create Windows 11 Install USB on Linux
A guide for how to create a Windows 11 install USB on a Linux device.
ImportantThis guide only covers creating the Windows install USB! For the installation steps, continue on from the step in Installing Windows 11 page after creating the MCT!
Prerequisites
Section titled “Prerequisites”- An internet connection.
- A working Linux computer (Any distro).
- A USB flash drive that is at least 16 GB or greater.
Why not an 8 GB USB?The ISO file utilized in this install method is greater than 8 GB for modern Windows versions (26H2 is 8.4 GB for example). A 8 GB USB unfortunately only has 7.45 GB of usable space, and therefore will not be able to be utilized for this procedure.
The installer created by Windows MCT however is different and can still be contained within the 8 GB limit published by Microsoft for installation requirements.
Do note that simply dropping the ISO file into the USB will not make it bootable! You need to properly flash the USB drive such that the BIOS of the target system will acknowledge it and boot the installer.
CautionThis procedure will wipe the USB Flash drive, so ensure you have nothing important on the USB drive, and back up all important documents.
Creating and preparing the installation media
Section titled “Creating and preparing the installation media”Downloading the ISO
Section titled “Downloading the ISO”Download the Windows 11 ISO file from the Download Windows 11 page. Scroll down to the section titled “Download Windows 11 Disk Image (ISO) for x64 devices” and select the download option.

InformationThe options “Windows 11 Installation Assistant” and “Create Windows 11 Installation Media” (if visible) cannot be used as those are
.exefile downloads, which will not work on Linux.
Once this is done, there are numerous ways of flashing the ISO to the USB drive. This guide will cover two of them:
- Using Ventoy to create a bootable environment for the USB.
- Manual flashing of the ISO using
wimlib/wimtools,dosfstools,mtools,partedandrsync.
Method 1: Using Ventoy (Easy Method)
Section titled “Method 1: Using Ventoy (Easy Method)”Follow the Linux instructions of our Ventoy guide to create the bootable Environment. Then follow the usage section in order to understand how to use it.
Method 2: Manual flashing
Section titled “Method 2: Manual flashing”-
Open up your Terminal. Install the required tools
wimlib/wimtools,dosfstools,mtools,partedandrsync.How to install the required toolsRefer below for installation instructions on different Linux distros.
Installing the required tools
Debian / Ubuntu / Linux Mint:
Terminal window sudo apt updatesudo apt install wimtools dosfstools mtools parted rsyncFedora / RHEL / CentOS / AlmaLinux:
Terminal window sudo dnf install wimlib dosfstools mtools parted rsyncArch / Manjaro / CachyOS:
Terminal window sudo pacman -S wimlib dosfstools mtools parted rsync -
Identify and wipe the USB and format it to FAT32. Utilize GParted for a GUI based approach.
CautionThis step will wipe the selected USB Flash drive, so ensure you have nothing important on the USB drive, and back up all important documents.
If you wish to manually partition it using shell commands, you may utilize the instructions below.
How to format and wipe the USB to FAT32Follow the How to identify drives in Linux guide if you are unsure about the drive you are formatting.
Selecting and formatting USB to FAT32
- List all disks using
lsblk. - Reconfirm USB size and model. Assume in this case its
/dev/sdb
Terminal window sudo wipefs -a /dev/sdb- Partition the USB accordingly:
Terminal window sudo parted /dev/sdb --script mklabel gptsudo parted /dev/sdb --script mkpart primary fat32 1MiB 100%sudo parted /dev/sdb --script set 1 boot on- Now format it to FAT32:
Terminal window sudo mkfs.vfat -F 32 -n WININSTALL /dev/sdb1 - List all disks using
-
Rename the ISO downloaded in step 1 to
Win11.iso. Mount the ISO and USB (assuming its still in theDownloadsdirectory):Terminal window sudo mkdir -p /mnt/iso /mnt/usbsudo mount -o loop ~/Downloads/Win11.iso /mnt/isosudo mount /dev/sdb1 /mnt/usbVerify that it did mount using
ls(these should show all the files accordingly in the mounts):Terminal window ls /mnt/isols /mnt/usb -
Copy everything to the USB except
install.wim:Terminal window rsync -av --exclude=sources/install.wim /mnt/iso/ /mnt/usb/ -
Split the
.WIMfile onto the USB into multiple.SWMfiles.Terminal window sudo wimsplit /mnt/iso/sources/install.wim /mnt/usb/sources/install.swm 3800InformationThis step is necessary as the
.WIMfile is larger than the FAT32 single-file size limit of 4 GB (typically 6 GB or greater).Verify the split is successful using
ls:Terminal window ls -lh /mnt/usb/sources/install*.swm -
Unmount the USB which is now ready for use.
Terminal window sudo umount /mnt/iso /mnt/usb
Post Windows Install Media creation steps
Section titled “Post Windows Install Media creation steps”Once the flashing is complete, you can now insert it into the target computer to install Windows to. Continue on from the step in Installing Windows 11 page after creating the MCT.