Source: https://www.ithome.com/0/831/356.htm
On February 16, technology media NeoWin published a blog post introducing how to create a Windows 11 installation USB using the WoeUSB tool on Ubuntu and other Linux distributions.
The media editor Paul Hill has been using Linux for work, and recently switched his laptop back to Windows 11 due to work requirements, documenting the installation process.
Note: WoeUSB is a tool for creating Windows installation USB drives, and this article will introduce the command-line version usage:
-
Add WoeUSB software source:
sudo add-apt-repository ppa:tomtomtom/woeusb
-
Update software list:
sudo apt update
-
Install WoeUSB:
sudo apt install woeusb
Before inserting the USB drive, use the lsblk
command to view the current storage devices and their partition information. After inserting the USB drive, run the lsblk
command again, and compare the two outputs to find the newly added USB drive identifier (e.g., sdb).
Once the USB drive identifier is confirmed, use the following command to write the Windows image to the USB drive. Note: This operation will erase all data on the USB drive! Please ensure the accuracy of the USB drive identifier to avoid data loss due to incorrect operations.
Replace sdX
with your USB drive identifier (e.g., sdb). /path/to/<span>file.iso</span>
is the path to the Windows ISO image file, which can be dragged directly into the terminal to auto-fill the path.
sudo woeusb --target-filesystem NTFS --device '/path/to/file.iso' /dev/sdX
The writing process takes a few minutes, and once completed, you can restart the computer and boot from the USB drive to install Windows.
END
Official site: www.linuxprobe.com
Linux Command Collection: www.linuxcool.com

Teacher Liu Chuan QQ: 5604215
Linux Technical Exchange Group: 2636170
(New group, actively joining…)
Readers who want to learn the Linux system can click the “Read Original” button to learn about the book “This is How Linux Should Be Learned”, which is also very suitable for professional operations personnel, becoming a high-value tool for assisting your work!