Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently my OS is Ubuntu 13.10. I want to make a bootable USB with Windows 8 in it. I have the setup file of Windows 8 in my system, but it is not an ISO file. It is the extracted form of the ISO file. Is it possible to combine the setup files of the Windows 8 into an ISO image file ? If possible, how ?

share|improve this question
    
Sure; if it's an exact copy of the ISO then it's bootable just create an iso from the file the follow the guide of your choice to make a bootable disk –  Ramhound Mar 6 at 2:32
    
@Ramhound Does the USB became bootable if I simply copy the files to it ? –  TomJ Mar 6 at 2:35
1  
I've done this before with Windows 7 by creating a bootable ISO in k3b (it is not obvious how to do this) and using unetbootin (you need a slightly older version as you'll need to format the flash drive to NTFS) to load it onto the drive as normal. It was several months ago now so I can't quite recall, but I'll have to see if I can find some information tomorrow and answer here with some details if someone else hasn't. –  Dylan Mar 6 at 2:38
    
@Dylan Ok. I will wait... –  TomJ Mar 6 at 2:41
    
Just a quick note regarding my previous comment, it seems that the latest versions of unetbootin have hard disk support again (at least on Fedora - Ubuntu repos could be a bit older) so it might not be necessary to use an older version. –  Dylan Mar 7 at 23:29

2 Answers 2

up vote 4 down vote accepted

You'll need

  • Software for creating iso images (I used k3b)
  • Software for creating a bootable flash drive from a USB (I used unetbootin)

Creating the image

You need to create a bootable ISO. You'll probably have to select a boot file (for Windows 7 and likely 8, this is etfsboot.com). I used k3b to do this, but other programs support it and, in fact, I figured out how to do this largely thanks to a guide for a piece of Windows software. Here's what worked for me:

  1. Open k3b
  2. Go to New Project > New Data Project
  3. Drag your files from the unpacked disk into the data section at the bottom
  4. Click "Edit Boot Images"
  5. Click New...
  6. Select the boot image - if it's the same on Windows 8 (and it probably is) it'll be in the boot folder. I think the exact file you need is etfsbootcom. Do not be seduced by bootmgr in the root! It's not that one.
  7. It'll ask about hard disk emulation. I think I used "no emulation" but "harddisk emulation" might also be acceptable
  8. The default options should otherwise be fine
  9. Go to Project > Properties and in the writing tab check "Create Image" and "Only Create Image".
  10. You need UDF extensions enabled for the filesystem defaults, but for me this happened automatically when I left it alone
  11. Close that and "burn" (remember, you're really just creating the image but you still use the burn button) the image. Remember to set a file name.

Formatting the flash drive

You'll need a flash drive with the first partition formatted to NTFS and large enough to contain the Windows disc (4GiB was more than sufficient even for my universal 32/64 bit Windows 7 installer and should be good for Windows 8 as well). I used GParted. Here's what worked for me:

  1. Unmount your flash drive if it's mounted - you can probably do this by right clicking it in your file manager
  2. Open GParted
  3. Select your flash drive from the drop down menu in the top right - it'll likely be called /dev/sd[LETTER]. Check that the size and partitions match! You do not want to accidentally use your harddrive.
  4. Clear up enough space (you can just right click and "Remove" or "Resize" partitions, but be careful to back up data)
  5. Create a new partition (Partition > New). The filesystem must be NTFS, the size large enough for your ISO and it must be the first partition on the drive (at least for Windows).
  6. Re-mount your flash drive (eject/plug it back in or click it in your file manager)

Creating a bootable flash drive

You could actually do this in a few ways, but I used unetbootin (probably the easiest and most user friendly on Linux). Here's what worked for me:

  1. Open unetbootin (you'll need to run as root but it'll prompt you for a password)
  2. Select the "Diskimage" radio button and enter the path to your ISO image
  3. Switch the option for drive type from "USB" to "Harddisk" and select your NTFS formatted flash drive - be careful not to select your actual hard drive!
  4. Click okay and wait. Once it's done, you'll have a bootable Windows flash drive
share|improve this answer
    
DVD works perfectly :) –  BurninLeo Sep 12 at 19:24

You can create it using the WinUSB tool.

Run these commands in Terminal to install the tool.

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

You can access it from the command line with winusb or through the GUI.

WinUSB screenshot

share|improve this answer
    
The trouble was that he didn't have a raw ISO, he had the files from the ISO. Though I will note I'm not 100% certain a bootable ISO is necessary for a bootable flash drive. –  Dylan Mar 7 at 23:08
    
@Dylan Nuts! Didn't notice that. Hmm, it should be an easy enough fix. –  thegoose Mar 8 at 0:56

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.