To create a bootable Windows 10 USB stick on Ubuntu, you can use the command-line tool WoeUSB, which simplifies the process significantly. Here’s a step-by-step guide:
Prerequisites
- Windows 10 ISO file - You can download this from the official Microsoft website.
- USB Drive - At least 8GB in size (note that this process will erase all data on the USB drive).
- WoeUSB Tool - A tool to create a bootable Windows USB on Linux.
Step 1: Install WoeUSB on Ubuntu
You’ll need to install WoeUSB if it isn’t already installed on your system. Start by adding the repository and installing the tool.
-
Open a terminal (Ctrl + Alt + T).
-
Run the following commands to add the repository and install WoeUSB:
bash
Copy code
sudo add-apt-repository ppa:tomtomtom/woeusb -y sudo apt update sudo apt install woeusb woeusb-frontend-wxgtk -y
Alternatively: If this repository isn’t available, you can install WoeUSB from source or download the latest .deb package from their GitHub repository.
Step 2: Prepare the USB Drive
Plug in your USB drive and make sure it’s not mounted.
-
Check the drive name with the following command:
bash
Copy code
lsblkLook for your USB drive name (usually
/dev/sdX, whereXcould beb,c, etc.). -
Unmount the USB drive (replace
/dev/sdX1with your actual drive name):bash
Copy code
sudo umount /dev/sdX1
Step 3: Create the Bootable Windows USB
Once WoeUSB is installed, you can use it to create the bootable USB.
-
Use the following command to create the bootable Windows USB:
bash
Copy code
sudo woeusb --device /path/to/windows.iso /dev/sdXReplace:
/path/to/windows.isowith the path to your Windows 10 ISO file./dev/sdXwith the actual USB drive name.
-
Wait for the process to complete. This may take a few minutes depending on the speed of your USB drive.
Step 4: Eject the USB Drive
Once the process is finished, safely eject the USB:
bash
Copy code
sudo eject /dev/sdX