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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
UNetbootin should work: http://unetbootin.sourceforge.net/
Or you could try a bit-by-bit copy:
/dev/sd[1 letter][optionally 1 number]. For example,
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]
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.)
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
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.
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:
(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.)
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.
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.
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
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:
NOTE: pendrive must be of 4GB or more.
I know that question is a bit outdated, but for the sake of compleetness I add a link to a modern standard Ubuntu GUI application for burning iso on a flash drive: Disk Creator.
Ubuntu can mount .iso files from nautilus in Natty.
Have you tried copying the contents of the .iso to the desired USB drive?
From there you should be able to tell your PC to boot from the USB with no problems.
If that Fails to work you can use UNetBootin in order to copy/burn the .iso to disk.
This blog post Describes how to do that.