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

  1. Windows 10 ISO file - You can download this from the official Microsoft website.
  2. USB Drive - At least 8GB in size (note that this process will erase all data on the USB drive).
  3. 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.

  1. Open a terminal (Ctrl + Alt + T).

  2. 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.

  1. Check the drive name with the following command:

    bash

    Copy code

    lsblk

    Look for your USB drive name (usually /dev/sdX, where X could be b, c, etc.).

  2. Unmount the USB drive (replace /dev/sdX1 with 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.

  1. Use the following command to create the bootable Windows USB:

    bash

    Copy code

    sudo woeusb --device /path/to/windows.iso /dev/sdX

    Replace:

    • /path/to/windows.iso with the path to your Windows 10 ISO file.
    • /dev/sdX with the actual USB drive name.
  2. 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