This question already has answers here:
How can I create a Windows bootable USB stick using Ubuntu? (18 answers)
Closed 8 years ago.
I want to burn a Windows ISO to a USB device in Ubuntu. How do I do this?
I know how to burn a Ubuntu ISO into a USB device, but with a Windows ISO it’s not the same.
askubuntu.com/questions/289559
– gliptak
You’ll find the best answers using the command line here at serverfault.
– erik
Why is this marked as duplicate? The linked question is almost 2 years newer than this one.
– jazzpi
@jazzpi And he also made it Windows specific under the pretext that in the “Answers” somebody mentions NTFS…
UNetbootin should work: http://unetbootin.sourceforge.net/
Or you could try a bit-by-bit copy:
- Insert the USB device and then open Disk Utility (in 10.10 and older, System -> Administration -> Disk Utility).
- Select the USB device from the list in the left of the program and detect where it was mounted:
/dev/sd[1 letter][optionally 1 number]
. For example,/dev/sdc
or/dev/sdc1
. - Make sure the USB device is unmounted (not safely removed, but unmounted) If it is mounted you can unmount it:
sudo umount /dev/sd[1 letter][optionally 1 number]
- Assuming the .iso file is in your home folder, open the terminal and write:
sudo dd bs=4M if=[ur .iso] of=/dev/sd[that 1 letter]
Example:sudo dd bs=4M if=windows7.iso of=/dev/sdc
And wait for it to finish. (The “bs=4M” – bit is optional, just makes it faster.)
Another way I detect which driver is it: I write “sudo dd if=kubuntu.iso of=/dev/sd” and press Tab a few times before inserting the USB, than I insert the USB stick and press Tab a few times again, and detect which one was added, for example sdc and sdc1 appeared, than I add c at the end and press enter.
@LilianA.Moraru UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other **Linux distributions** without burning a CD.
. Have you ever succeeded to make a windows usb with it?
If you’ve got a slow USB drive, you can check the current state of dd
by sending it a USR1 kill msg: sudo kill -USR1 $(pidof dd)
from another terminal. It will then print its status in its own terminal.
doesn’t work at all
– Pavel
You can add a status=progress
option to dd
to see progress output in real time. Also, you can see the list of all drives by running lsblk
and use it to find out the identifier of your USB flash drive.
– PastafarianistJan 10, 2018 at 23:26
- Insert the USB device, then run gparted.
- Select the USB device from the list near the upper-right corner of the GParted window and detect where it was mounted:
/dev/sd[1 letter]
(mine was/dev/sdc
). - Make sure the USB device is unmounted (right-click and select unmount).
sudo dd if=[PATH TO YOUR .iso FILE] of=/dev/sd[THAT 1 LETTER]
In my case:sudo dd if=/home/downloads/windows7.iso of=/dev/sdc
You must run dd as su or sudo. It’s worth mentioning that gparted requires su as well, but will typically use gksudo to prompt for the password.
This means you can lock gparted to the launcher on a persistent liveboot USB for field diagnostics.
+1 Slightly altering this let me boot my DIY OS too.
didn’t work for me just using /dev/sdc[letter], also needed to specify the partition like /dev/sdb1 for dd to copy. however, usb booting won’t work
@HertzelGuinness, Why do you love ubuntu instead of the many other distros?
– Pacerier
Why are you formatting it to NTFS? When you dd to the block device, it’s going to wipe out whatever formatting you have there…
– TJ Ellis
Doing the direct dd copy (on Ubuntu 14.04) with a Win10 iso was a little surprise for me, as it created an UDF file system on the flash (I was expecting it to be the iso file system). It didn’t boot on my Lenovo P50, though (but I have to admit I might have too restrictive boot settings in the BIOS :)) Using winusb by this article eventually did the trick.
– tlwhitecMar 15, 2017 at 14:01
If you boot with UEFI (not BIOS or UEFI with BIOS compatibility mode (a.k.a. CSM)) all you’ll need is GParted and a file manager.
The ISO must be configured for UEFI boot for this to work. I’ve successfully done this with both Windows 8.1 and Ubuntu 14.04, but I can’t vouch for any other OS. (Edit: I just tried this with Windows 10 without success. Don’t know why, but WinUSB worked so I didn’t investigate further.)
This is what I do to create a bootable USB drive for UEFI firmware:
- Create a GPT partition table on your USB drive. In GParted, chose “Device” and then “Create partition table…”. Choose gpt in the dropdown.
- Format a partition on the USB drive to FAT32 using GParted. All UEFI compliant firmwares must support FAT12, FAT16 and FAT32, so any of these should be fine, but NTFS will not work.
- Mount the USB drive like you would any other external storage so you can access the filesystem on the partition you created.
- Mount the ISO you wish to add to the USB drive so you can access the files in there.
- Now, when you have access to both the ISO and the USB drive as filesystems in your file manager (Nautilus or whatever) just copy and paste all files in the ISO to the USB drive.
- Add the ‘boot’ flag to the partition you’ve created and added the files to. In GParted, right click the partition, choose “manage flags” and then check the “boot” option.
(While testing this I couldn’t mount the USB drive anymore after setting the boot flag. I don’t know why, but GParted could still see it and the end result was still a bootable USB drive, so I guess it doesn’t really matter.)
- Restart your computer and choose to boot from the USB drive.
Once again: Please note that for this to work, your computer’s firmware must be UEFI compliant and the ISO must be ready for UEFI boot.
If you find an EFI directory in the ISO that’s usually a good sign.
To see whether you’re currently using UEFI boot, run sudo efibootmgr -v
in a terminal. If it lists a number of boot options you’re good to go. If you’re using BIOS compatibility mode you’ll see something like this:
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
For more information on UEFI, please read this excellent essay on the subject: https://www.happyassassin.net/2014/01/25/uefi-boot-how-does-that-actually-work-then/
Also, I don’t think Ubuntu will work with Secure Boot enabled, so you’ll have to disable that to be able to use UEFI boot with Ubuntu.
Shouldn’t USB have a GPT partition table as well?
– VRR
Ah, yes you probably should. Apparently my firmware supports msdos partition tables as well, which is why I didn’t have that problem. That may not be the case for everybody. All UEFI compliant firmwares must support GPT partition tables so if you’re using GPT the USB drive should work with even more firmwares. I’ll update my answer.
It appears I can’t mount the drive in Ubuntu if it uses a GPT and also has the boot flag set. It worked when it was still using an msdos partition table, which is weird. Anyway, even though I couldn’t mount it, it was detected by my firmware as a bootable device and worked just as well.
– Lars NyströmApr 15, 2015 at 16:29
Hm,try just to set GPT FAT32 without cahnging flags. It should mount then and boot as well.
– VRR
I don’t have time to test this more, but my answer works for me and should for everybody with UEFI boot (which should be most people by now) so I’m just going to leave this here now. Feel free to edit my answer if you think something is wrong.
If you’re using Ubuntu to burn Windows ISO to USB you could use WinUSB. Unetbootin won’t work with Windows ISOs. It supports only Linux distros.
However, installing WinUSB on current Ubuntu versions is not an easy task. More than that WinUSB has older GRUB dependencies that may interfere with your bootloader setup, so you may end up with a non-bootable Ubuntu. Well that shouldn’t be such a big problem if you were making a Windows USB to get rid of Ubuntu. But that is not guaranteed either.
Currently there are two methods for booting an operating system. EFI loading and MBR loading. Which one is suitable for you depends on the PC/motherboard capabilities. The method for creating a bootable USB for each of the above mentioned boot loading methods is described on How can I create a Windows bootable USB stick with Ubuntu?
WinUSB can only make MBR bootable USB drive.
Your installation routine fails.
this is no longer working 🙁 *not for me at least
You can use WinUSB
for burning windows iso to pendrive.
Additional details and Ubuntu packages can be found here
Note:-You need minimum 4 GB pendrive for burning windows 7 iso
WinUSB is outdated and has serveral issues, look at WoeUSB successor/fork
– Frank N
That actually worked for me with Windows 7. The dd
tool was not creating a valid boot system apparently. The WoeUSB does some magic to make the thumb drive bootable. (Idid not try the old WinUSB tool, just the newer version which is still active in 2018.)
There’s a tool called Multisystem which can make a USB drive bootable, and boot various OSes from it – amongst others, Windows XP, Vista and Seven are supported (the program’s pages are in French only; the program itself is localized). I was able to boot the WinXP install ISO off a USB flash disk using this tool.
Note that the Windows CD is an install CD, not a usable “live” distribution.
It’s very simple… We will go step by step :using power iso:
- Download and install power iso.
- Open power iso.
- Click on tools and then create bootable USB drive.
- It may ask run as admin. then make it run as admin.
- Now browse source image file.
- Select destination USB drive and then click start.
- done. your bootable USB is ready for installing an operating system from bootable USB.
NOTE: pendrive must be of 4GB or more.
Power ISO is available for Ubuntu also? I didn’t know that!
The PowerISO for Linux doesn’t have a GUI version, only command line utility.
– ptkato
It does have a GUI (now), but there does not seem to be an option to burn to USB in Tools menu.
– user72056
source : https://askubuntu.com/questions/59551/how-to-burn-a-windows-iso-to-a-usb-device