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 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.

share|improve this question

10 Answers 10

up vote 124 down vote accepted

UNetbootin should work: http://unetbootin.sourceforge.net/

Or you could try a bit-by-bit copy:

  1. Insert the USB device and then open Disk Utility (in 10.10 and older, System -> Administration -> Disk Utility).
  2. 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.
  3. 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]
    
  4. 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.)

share|improve this answer
8  
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. –  Lilian A. Moraru Jan 28 '12 at 19:40
    
It worked perfect for me! Thank you! –  Thanasis Petsas May 10 '12 at 13:06
10  
@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? –  Cornelius Apr 25 '14 at 17:53
3  
As from 2015, Debian and Unetbootin should not be used together bugs.debian.org/cgi-bin/bugreport.cgi?bug=775689 How the dd-solution works I am still trying to figure out. –  Lost not found Mar 25 at 12:48
2  
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. –  Mitja Apr 24 at 19:32

I only had 1 live CD from Ubuntu 9.10. So I used this procedure:

  1. Insert the USB device, then run gparted.

  2. 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.

  3. Make sure the USB device is unmounted (right-click and select unmount). Don't forget to format it to NTFS in GParted.
  4. Open a Terminal window and navigate to your windows7.iso or iso file you want to use. I used this line:

    First i went to the filesystem /. Then I went to media because I had a hard drive: cd media. Then I selected my harddrive with cd Hard*. And i ran the last step ↓

  5. The last step is the following command:

    sudo dd if=[UR .ISO] of=/dev/sd[THAT 1 LETTER]
    

    In my case: sudo dd if=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.

Don't be mad I'm only 15 years old so correct me if I am wrong and sorry for my bad english, I'm Belgian.

I hope it will work for you.

share|improve this answer
    
+1 Slightly altering this let me boot my DIY OS too. –  imallett Jul 11 '13 at 4:39
16  
+1 for being 15 and using ubuntu :) –  Hertzel Guinness May 9 '14 at 16:24
    
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 –  n3rd Jun 20 '14 at 19:22
    
@HertzelGuinness, Why do you love ubuntu instead of the many other distros? –  Pacerier May 3 at 14:28
    
@Pacerier meant the linux side, never mind the distro. (Personally, i use other distros as well...) –  Hertzel Guinness May 3 at 18:23

If you're using Ubuntu to burn Windows ISO to USB use WinUSB. Unetbootin won't work with Windows ISOs. It supports only Linux distros.

enter image description here

Screenshot from its website.

Install it with:

sudo add-apt-repository ppa:colingille/freshlight
sudo apt-get update
sudo apt-get install winusb
share|improve this answer
2  
Your installation routine fails. –  empedokles Jul 26 '14 at 12:20
    
@empedokles yes, it does because WinUSB has not been updated for a while. In the meantime you can do it manually like askubuntu.com/a/487970/269282 –  Cornelius Jul 26 '14 at 13:21
    
this is no longer working :( *not for me at least –  moldovean Apr 5 at 10:12
1  
@moldovean, it doesn't work anymore, you can use this manual method now askubuntu.com/a/487970/269282 –  Cornelius Apr 5 at 13:31

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.

share|improve this answer

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

share|improve this answer

It's very simple... We will go step by step :using power iso:

  1. Download and install power iso.
  2. Open power iso.
  3. Click on tools and then create bootable USB drive.
  4. It may ask run as admin. then make it run as admin.
  5. Now browse source image file.
  6. Select destination USB drive and then click start.
  7. done. your bootable USB is ready for installing an operating system from bootable USB.

NOTE: pendrive must be of 4GB or more.

share|improve this answer

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.

This is what I do to create a bootable USB drive for UEFI firmware:

  1. Create a GPT partition table on your USB drive. In GParted, chose "Device" and then "Create partition table...". Choose gpt in the dropdown.
  2. 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.
  3. Mount the USB drive like you would any other external storage so you can access the filesystem on the partition you created.
  4. Mount the ISO you wish to add to the USB drive so you can access the files in there.
  5. 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.
  6. 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.)

  1. 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.

share|improve this answer
    
Shouldn't USB have a GPT partition table as well? –  VRR Apr 15 at 10:34
    
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. –  Lars Nyström Apr 15 at 15:53
    
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öm Apr 15 at 16:29
1  
Hm,try just to set GPT FAT32 without cahnging flags. It should mount then and boot as well. –  VRR Apr 15 at 17:38
    
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. –  Lars Nyström Apr 15 at 18:08

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.

share|improve this answer
4  
Works only with Linux ISO! –  Cornelius Apr 25 '14 at 18:49

From Windows, try using unetbootin and from a linux distro use this command in terminal (this worked for me, but you will lose the content of the flash drive, so make a copy):

sudo dd if=<ISO_FILE> of=/dev/sd<FLASH_DRIVE_ID>
share|improve this answer
    
Where <FLASH_DRIVE_ID> is a small letter like b, c, d, etc. but how do we know which one? –  user68186 Apr 24 '14 at 17:43
    
it's for burning a Windows ISO . for some reasons when I Launch it to formate in Launch . I got black screen . not working –  user3091970 Apr 24 '14 at 18:15

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.

share|improve this answer
8  
Just copying the files over will definitely not work; bootloader code is also needed. -1 for misinformation. (Unetbootin should work with many bootable CDs, as it copies the files and makes the USB drive bootable; not sure about a Windows bootable CD) –  Piskvor Sep 7 '11 at 15:42
    
Piskvor's comment only applies to booting with BIOS. If you are using UEFI boot, copying over the files might actually work as long as the drive is a FAT32 partition with the boot flag set and the ISO contains the files necessary for UEFI boot. –  Lars Nyström Apr 15 at 8:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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