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 using Ubuntu?
|
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 using Ubuntu? |
|||||||||||||||||||||
|
|
Create a bootable Windows USB (Vista and above) from Ubuntu through WinUSB software. Ubuntu 12.04 through 15.04Run the below commands on terminal to install WinUSB from a PPA,
Warning for Ubuntu EFI:installing WinUSB on EFI loaded Ubuntu will uninstall the grub-efi packages in order to install the grub-pc packages. It will make your system unbootable if you don't manually reinstall grub-efi package before rebooting. To do the manual re-install do:
|
|||||||||||||||||||||
|
Any Ubuntu versioneven other Linux distros as long as GParted and GRUB are installed. Install GParted and GRUB on Ubuntu with:
For BIOS: MBR partition scheme
For UEFI: GPT partition scheme ** Older Windows versions / editions may not be properly supported or not supported at all. I suggest reading the Microsoft UEFI Firmware page.
Source: My blog post about this can be found at Make a bootable Windows USB from Linux. NoteWhen properly used with a compatible target operating system, both of these methods should get you a bootable USB drive. However this does not guarantee successful installation of the target operating system. |
|||||||||||||||||||||
|
Ubuntu 14.04-17.10WinUSB is a tool for creating a bootable USB flash drive used for installing Windows. A USB flash drive that is 4GB or larger has enough capacity to make installation media for versions of Windows up to Windows 10. Native UEFI booting is supported for Windows 7 and later images (limited to the FAT filesystem as the target device). WoeUSB is an updated fork of the WinUSB project. To install WinUSB in Ubuntu 14.04/16.04/16.10/17.04:
To install WoeUSB (updated fork of WinUSB project) in Ubuntu 14.04/16.04/17.04/17.10:
This will install the WinUSB graphical interface and the WinUSB command line tool. The WinUSB GUI is much easier to use than the WinUSB command line tool. Click the radio button to the left of where it says From a disk image (iso), browse to the location of the Windows .iso file, under Target device select a USB flash drive, open Disks application and check that the Device name in Disks matches the Target device in WinUSB (it should be something like /dev/sdX where X is a letter of the alphabet), and click the Install button to install to create a bootable Windows installation media on the USB flash drive. Installing WinUSB on EFI-loaded Ubuntu will uninstall the grub-efi packages in order to install the grub-pc packages, so before you reboot run the following commands to repair grub: sudo update-grub sudo grub-install /dev/sdX # replace X with the letter of the partition where grub is located sudo update-grub sudo reboot |
|||||||||||||||||||||
|
You can use
If you want still to use UNetbootin, there are 2 (3) things that you will need:
So, first, backup all the contents of your usb stick. Once that is done install gparted and unetbootin:
Now look for gparted in the Dash or type 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. |
|||||||||||||||||||||
|
|
In Non-UEFI machines, we can use GRUB2 to make USB stick bootable. Then, we can use 'ntldr' command in the GRUB2 to boot Windows from USB.
See complete answer at my blog Creating a bootable windows USB from Linux |
|||||||||||||||||||||
|
|
The answers are outdated, WinUSB is not working anymore. But there is a working fork called WoeUSB. Github: https://github.com/slacka/WoeUSB
After installation, write the windows ISO with that command:
It does not uninstall grub-efi anymore. |
|||||||||||||
|
|
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/ |
|||||
|
mkusb-nox and mkusb version 12 can create Windows install drivesIt seems difficult to find a linux tool that can create boot drives (USB sticks, memory cards ...) with Windows, so I added this feature to mkusb-nox and later on created mkusb version 12 with this feature. It works in all current versions of Ubuntu (and Ubuntu flavours: Kubuntu, Lubuntu ... Xubuntu) and with Debian Jessie. The created boot drive can boot 64-bit Windows in both UEFI and BIOS mode. You get/update this new version of mkusb and mkusb-nox from the mkusb PPA via the following commands
See these links, mkusb-nox 11.1.2: added feature: make USB install drive for Windows mkusb-nox can create a USB boot stick with Windows 7 - 10, but you have to cope with a command line interface. Edit 1: New: mkusb version 12, the new version provides a graphical user interface for the same method. See these links, help.ubuntu.com/community/mkusb#Windows_USB_install_drive dus with guidus alias mkusb version 12:
Edit 2:
A simple 'Do it yourself' method
|
|||||||||||||||||||||
|
|
You can use WinUSB for that to install WinUSB on your Ubuntu follow these instruction. Okey, if you are from Ubuntu 13.10,13.04,12.10,12.04, then run this in terminal:
and if you are from Ubuntu 14.04 then run this in terminal:
WinUSB comes with a simple GUI with minimal options to go with, here is how to use WinUSB to make bootable Windows USB from Ubuntu. You can use any Windows ISO may be for XP, Windows 7, Windows 8, Windows 8.1 or any other.
This is all you need to do to create a bootable Windows USB Stick |
||||
|
|
|
For the sake of completeness, let me add instructions on how to create a bootable USB-disk from ThinkPad's UEFI/BIOS update ISOs. None of the above answers worked for me. (Perhaps there are similar problems with other vendors.)
|
||||
|
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?