How to create a bootable Windows usb from Linux with WoeUSB

Although we are lovers of free software and linux, we cannot deny that on occasion many of our users need to create a bootable Windows usb, either to install that operating system on a client, test vulnerabilities in it or simply for temporary use. Regardless of the use you give to a bootable Windows USB, this time we bring you a fairly practical tool that allows us to take an ISO image of Windows and transfer it to a USB, also configuring it to be bootable.

What is WoeUSB?

It is an open source tool developed by slack using shell that allows us to create a Windows installation usb from an ISO image or a DVD. The tool has a gui interface and also the possibility of being administered from the terminal.

The tool is compatible with UEFI and Legacy boot, born as a fork of the abandoned project Winusb for which many will already feel familiar with the application.

With this new development team behind this powerful tool, the aim is to have greater compatibility with current distros and at the same time the incorporation of support for new versions of Windows.

Windows versions with which WoeUSB is compatible

Currently the WoeUSB development team ensures that the tool is compatible with all versions of Windows Vista, Windows 7, Window 8, Windows 10 and Windows PE. It is expected that in the future compatibility with new versions of windows will be added.

How to install WoeUSB

Before installing WoeUSB we must meet some dependencies, they can be installed as shown below:

Dependencies in Ubuntu and derivatives

$ sudo apt-get install devscripts equivs gdebi-core $ cd <WoeUSB source code directory>
$ mk-build-deps # NOTE: Currently due to Debian Bug # 679101 this command will fail if source path contains spaces.
$ sudo gdebi woeusb-build-deps_<version>_all.deb

Dependencies on Fedora and derivatives

$ sudo dnf install wxGTK3-devel

To install WoeUSB we must follow a series of simple steps, they are detailed below:

We clone the github repository

git clone https://github.com/slacka/WoeUSB.git

We configure the version of the application

$ ./setup-development-environment.bash

We compile the tool

# Generic method
$ ./configure $ make $ sudo make install

The use of the tool is very simple, we insert the USB that we want to use, we execute WoeUSB, we choose the ISO image with which you want to create a bootable Windows USB, we select the USB and click on install. After a while we will have a USB ready to be used, quickly, safely and from Linux.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

14 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Yonathan said

    Thank you. Finally!

  2.   antonio said

    I tried it back in the day, but in the end and the most practical thing that came to mind was, install virtualbox install windows on it and use that installed windows to create bootable pen with rufus if I know a whole lot but the important thing is that in the end it worked XD ...

    1.    Anonymous said

      Help me please I have all day trying to install windows in virtual box and I can't, it gives me an mgrb error, or a not error is missing and I already tried many isos and I no longer know what to do. I have not been able to install this tool either.

  3.   victor from Manjaro said

    Thank you very much, in manjaro it is really easy to install from octopi (pacman gui) which also manages the community repository it is in (aur).

    Two clicks and voila. easy for those who need it.

  4.   chencho9000 said

    The fault is the same as always, it seems that it is installed but when starting it does not work: - (

  5.   Roland said

    Thanks, just what I was looking for, in my ignorance I tried it with dd and it was unsuccessful.
    regards

  6.   Anonymous said

    in Antergos from the Aur repository you install it with one click

  7.   Anonymous said

    It doesn't work for me.

  8.   Lucas said

    Terrible quilombo for a

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

    :v

    1.    peri said

      thank you!

  9.   Christian said

    Thank you!!

  10.   JosueCRC said

    Testing I hope it works.

  11.   Marlon said

    This console ate me…. this is too complicated… .. it gives many errors. and the woeusb is never installed

  12.   leo75 said

    do it from windows with rufus is easier and does not give errors…. if you are allergic to windows then fuck yourselves ……