For the impatient
Use the DD command as root:
sudo dd bs=4M if=<Windows ISO file> of=<USB target device> status=progress oflag=sync
Example:
sudo dd bs=4M if=/home/user/Win11_22H2_EnglishInternational_x64v1.iso of=/dev/sda status=progress oflag=sync
Output:
5544869888 bytes (5,5 GB, 5,2 GiB) copied, 180 s, 30,8 MB/s
1322+1 records in
1322+1 records out
5548056576 bytes (5,5 GB, 5,2 GiB) copied, 180,268 s, 30,8 MB/s
Reboot and use.
Explained
Recently, I needed to create a bootable USB to install Windows 11 from my Ubuntu installation, but the first hits on Google were either based on custom GUI-based applications or long videos.
As an old UNIX guru I remembered that we used to use the dd command to do this, and I had to dig a bit to remember, but found the solution, and I share it here with you so you also can do this in a few seconds with no additional software.
The DD command copies a source to a destination byte by byte, disregarding what the source and the destination file type is. An ISO image contains a sequential file system of a given size determined by the file size. The USB device under the /dev file system and that has a physical size limit of a given number of bytes. Given that the USB drive capacity is larger than the ISO file, you can just do the raw copy as shown above.





