WoeUSB – Create Bootable Windows USB Sticks from Linux

We have written on tools .e.g. ISO Image Writer, Fedora Media Writer, and Etcher, with which you can make flash drives bootable. But even them have issues making flash drives and memory cards bootable with Windows in my experience.

The tool we introduce to you today is capable of achieving this feat without stress; it’s called WoeUSB.

WoeUSB is Linux tool for creating Windows USB stick installer from a real Windows DVD or an image. It contains two programs, woeusb and woeusbgui. It’s a fork of Congelli501’s WinUSB software which received its last update in 2012.

woeusb is a CLI utility that does the actual creation of a bootable Windows installation USB storage device from either an existing Windows installation or a disk image. woeusbgui (as the name suggests,) is a woeusb GUI wrapper based on WxWidgets.

Features in WoeUSB

  • FOSS: WoeUSB is free to download with its source code available on GitHub.
  • WoeUSB supports Windows Vista, Windows 7, Window 8, Windows 10 (all languages and versions), and Windows PE.
  • Supports both wxWidgets 2 and 3.
  • Privilege Escalation: Uses pkexec instead of gksudo.
  • Supported bootmodes:
    • Legacy/MBR-style/IBM PC compatible bootmode.
    • Native UEFI booting (except that only FAT filesystem can be used as target filesystem).

WoeUSB is available for easy download (thanks to WebUpd8’s main PPA) for Ubuntu 14.04 and higher releases. The same PPA also supports Linux Mint.

Enter the following commands to add the PPA and install WoeUSB on Ubuntu:

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt update
$ sudo apt install woeusb

If you are only interested in trying out WoeUSB without adding it’s PPA to your repo then grab and install its latest .deb using the link below.

[mks_button size=”medium” title=”Download WoeUSB .deb Package” style=”squared” url=”https://github.com/slacka/WoeUSB/releases” target=”_blank” rel=”nofollow” bg_color=”#46698E” txt_color=”#fff” icon=”fa-download” icon_type=”fa” nofollow=”1″]

Are you familiar with WoeUSB? Share your experience and/or questions with us in the comments section below.

Divine Okoi is a cybersecurity postgrad with a passion for the open-source community. With 700+ articles covering different topics in IT, you can always trust him to inform you about the coolest tech.

Each tutorial at FossMint is created by a team of experienced writers so that it meets our high-quality writing standards.

23 thoughts on “WoeUSB – Create Bootable Windows USB Sticks from Linux”

  1. it said it can’t locate woeusb package when trying to install, why is that? where it should be locate it for the system to find it?

    Reply
  2. waste of time – kubuntu 20.04
    (package referred to existed in v18, can’t be be installed because it has its own dependency issues)

    The following packages have unmet dependencies:

    woeusb : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) which is a virtual package and is not provided by any available package

    The following actions will resolve these dependencies:

    Keep the following packages at their current version:

    1) woeusb [Not Installed]

    Reply
  3. I followed below steps to make woe usb write windows 10 iso to bootable USB. My laptop runs on Ubuntu 18.04.

    1) Download .deb package from github

    2) sudo dpkg -i woeusb-build-deps_3.3.1_all.deb

    The above command gave below error
    Selecting previously unselected package woeusb-build-deps.
    (Reading database … 337994 files and directories currently installed.)
    Preparing to unpack woeusb-build-deps_3.3.1_all.deb …
    Unpacking woeusb-build-deps (3.3.1) …
    dpkg: dependency problems prevent configuration of woeusb-build-deps:
    woeusb-build-deps depends on debhelper (>= 9); however:
    Package debhelper is not installed.
    woeusb-build-deps depends on dh-autoreconf; however:
    Package dh-autoreconf is not installed.
    woeusb-build-deps depends on libwxgtk2.8-dev | libwxgtk3.0-dev; however:
    Package libwxgtk2.8-dev is not installed.
    Package libwxgtk3.0-dev is not installed.

    dpkg: error processing package woeusb-build-deps (–install):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:
    woeusb-build-deps

    3) Now its required to install dependencies as follows.
    sudo apt –fix-broken install

    4) Woe USB will be installed automatically with command in point 3 above. If its not installed then,
    sudo dpkg -i woeusb-build-deps_3.3.1_all.deb

    5) Open gparted from Ubuntu apps. Find your USB device and unmount it. This step is must to do.

    6) Open terminal and simply type woeusbgui

    7) Choose your windows iso image and start writing !

    Reply
  4. And…??? You told us how to download it (although had dependency errors with Ubuntu 20.04.2 LTS where I had to use other sources) but you just ended it at that even though your title says ” … Create Bootable Windows USB Sticks from Linux”. We’re halfway there so no, this isn’t an article to tell someone how to “… Create Bootable Windows USB Sticks from Linux”.

    Reply
  5. If you have troubles with installation like where
    The following packages have unmet dependencies:
    woeusb : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable
    E: Unable to correct problems, you have held broken packag

    I recommend to install woeUSB from Git repository/
    (need to ummount your device, i made from Gparted)
    wget https://raw.githubusercontent.com/WoeUSB/WoeUSB/master/sbin/woeusb -O /tmp/woeusb
    sudo install /tmp/woeusb /usr/local/bin
    sudo umount /dev/sdXN
    sudo woeusb --device /dev/sdX --target-filesystem ntfs

    Welldone !

    Reply
  6. Guys i’ve got an error:

    string 1676: echo: writing error: invalid argument
    The command “exit 0” failed with exit status “1”, program is prematurely aborted

    Any advice on that? or it’s not critical

    Reply
  7. my Usb stop working after using this. It asked to delete some “partition” or “parse sector ” I do not exactly recall, after approving it said some error and boom ! now my newly bought USB is completely useless.

    Reply
      • The following packages have unmet dependencies:
        woeusb : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable
        E: Unable to correct problems, you have held broken packages.

        There’s also a woe-usb on Ubuntus software package installer and it has all 1 star votes no one can launch it. Don’t know if someone else tried to make a version for Ubuntu and added the dash or they are both one and the same?

        This is on Ubuntu 20.04

        Reply
  8. # How to Write Windows 10 1809 using NTFS USB With WoeUSB

    # Change X to your USB Device: (‘dev/sdX’)

    # Eject Device From Terminal:
    eject /dev/sdX
    # You will get this Error: eject:( unable to open `/dev/sdX’)

    # Write Windows 10 1809 ISO to USB Device in NTFS Mode: Windows 10 1809 requires this writing mode.
    sudo woeusb –device Win10_1809Oct_English_x64.iso /dev/sdX –tgt-fs NTFS

    Thank you Martins!

    Reply
  9. Thanks for the article(it’s now the 2nd article in DuckDuckGo’s search result!). I’d like to point out that the “privilege escalation” feature doesn’t really matters with Polkit’s `pkexec` and Sudo’s `gksudo` as they both are frontends of corresponded p.e. mechanism. We simply replace `gksudo` with `pkexec` simply because `pkexec` is now the most pre-installed frontend in modern GNU/Linux distributions.

    Relevant GitHub issue: https://github.com/slacka/WoeUSB/issues/78

    Reply

Got Something to Say? Join the Discussion...