Wednesday, March 15, 2017

usb installation - How can I create a Windows bootable USB stick using Ubuntu?


I'd like to create a Windows bootable USB stick, but I don't have a Windows machine with me at the moment to do so. How could I achieve the same using Ubuntu?



Some answers are outdated, since WinUSB is not working anymore. But there is a working fork called WoeUSB.


Github: https://github.com/slacka/WoeUSB


Installation


It does not uninstall grub-efi anymore!


☞ Ubuntu / Debian


sudo add-apt-repository universe # contains the p7zip-full dependency
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install woeusb

☞ Arch


pacaur -S woeusb-git

☞ Fedora


dnf install -y WoeUSB

☞ OpenSUSE


zypper install WoeUSB

Writing the ISO


After installation, write the windows ISO with the following command:


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

(Replace the X in /dev/sdX with the letter corresponding to your USB. You can find which is the correct one in the program Disks.)


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...