Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to create a Windows 8 bootable USB stick, but I don't have a Windows machine with me to do so.

So how do I do it with Ubuntu/Linux?

share|improve this question
    
You may use UNetbootin. Afaik, it works for Linux, Windows & Mac. –  Psicofrenia May 2 '13 at 13:55
    
Psicofrenia "UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD.", and I already tried to use it and discovered that UNetbootin really can't be used to create Windows bootable usb sticks. –  Zignd May 2 '13 at 13:57
    
Have you tried to follow any Windows 8 tutorials on how to burn USB ticks and use Wine to make one of those indicated softwares to run? –  Psicofrenia May 2 '13 at 14:04
    
Well this guy seems to think otherwise... --> CREATE A BOOTABLE WINDOWS 7 USB DRIVE FROM LINUX (TESTED ON UBUNTU) –  M.Meintjes May 2 '13 at 14:04
    
@MrSeed I've tried this tutorial and also downloaded the older version of the UNetbootin, but the problem is that the older version depends on a library that is not available for Ubuntu 13.04 because it's too old, by the way the newest version of the library is available, but the app still doesn't work with it installed. –  Zignd May 2 '13 at 14:09
show 1 more comment

3 Answers

up vote 27 down vote accepted

Create a bootable Windows USB from Ubuntu through WinUSB software.

Ubuntu 13.10,13.04,12.10,12.04

Run the below commands on terminal to install WinUSB from a PPA,

sudo add-apt-repository ppa:colingille/freshlight
sudo apt-get update
sudo apt-get install winusb

WinUSB screenshot

Ubuntu 14.04

This method will install Winusb package from the previous version's repository(saucy).

sudo add-apt-repository ppa:colingille/freshlight
sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/colingille-freshlight-trusty.list"
sudo apt-get update
sudo apt-get install winusb

enter image description here

share|improve this answer
add comment

winusb from the accepted answer is the only easy method I found.

However, there is no winusb package for saucy. You can however install the raring package by downloading it here and opening it with the software installer. It works with saucy.

http://ppa.launchpad.net/colingille/freshlight/ubuntu/pool/main/w/winusb/

[Added it as a new answer because I don't have enough reputation for posting comments]

share|improve this answer
    
winusb for saucy is now available in ppa:colingille/freshlight repository –  Prasad RD Dec 8 '13 at 6:46
add comment

There are 2 (3) things that you will need:

  1. Unetbootin
  2. Gparted
  3. Internet access to install all the above, the Windows ISO image and a USB stick with more than 4GB.

So, first, backup all the contents of your usb stick. Once that is done install gparted and unetbootin:

sudo apt-get install gparted unetbootin

Now look for gparted in the Dash or type gparted in the terminal. Select your USB stick from the right dropdown list. In my case it's /dev/sdg, yours may be different. Remove all partitions and create a single big NTFS partition with Gparted.

Once that is done, unplug and plug your USB stick so it gets mounted (you can also mount it from the same GParted), now execute Unetbootin, again, you can look in the dash or typing in the terminal. Select that you want to use an iso, look for the path your ISO is.

Mark the checkbox to see all devices, here you have to select the very same device you selected in Gparted, otherwise your data can be lost. Select continue. Wait for a moment and done. Restart your pc and select to boot from the USB.

You can also use dd being careful in what you are doing:

sudo dd if=/path/to/iso/windows.iso of=/dev/sdg bs=4M; sync

Sounds crazy, but dd works.

share|improve this answer
    
aren't you missing count=1 or something on the dd line? that way you just overwrite everything on the usb drive with the ISO data, which result in not even a partition being mapped. –  gcb Dec 24 '13 at 22:50
    
@gcb actually, that's what it's intended. The first things I said was to backup your stuff. –  Braiam Dec 25 '13 at 2:43
    
i did that, and end up with a UFI(?) partition with the boot stuff, and nothing else. ...ended up getting a dvd driver and burning the image there. I think your idea works if the ISO is already in the format suitable for SD/HDD, when the ISO is in iso9660 format, it does not work that way. well, at least didn't work with the image i did from the install CD. –  gcb Dec 27 '13 at 21:13
1  
@gcb weird, was a Windows 8? –  Braiam Dec 27 '13 at 21:14
    
good point. no. it was windows7 pro. I will check with the win8 to see if that cd has the sd/hdd format. –  gcb Dec 27 '13 at 21:24
add comment

protected by Braiam Apr 8 at 16:13

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.