How do I place a bootable ISO on a USB drive?

12
2014-01
  • Justin White

    What's the best way of placing a bootable ISO on a USB drive? ISOs such as a live Linux preview disk, Windows installation ISO, etc.

  • Answers
  • nhinkle

    UNetbootin works very well, is easy to use with a simple wizard, and supports a broad range of Linux distros.

    To install Windows from a flash drive, here is a post explaining how to install Windows 7 from a flash drive.

  • Click Ok

    Look at the open-source, fast, free, easy and small Rufus:

    enter image description here

  • 8088

    To create a bootable USB drive from Windows (any) installation disks, use WinToFlash.

    It doesn't get any easier.

    alt text

    WinToFlash is freeware and portable.

    If you only have the ISO, mount it as a virtual CD/DVD drive (e.g. with WinCDEmu)

    For Linux distros, use the previously recommended UNetbootin.

  • 8088

    Check out the Windows 7 USB/DVD Download Tool. This is a Microsoft-produced tool on CodePlex for mastering USB flash drives for Windows 7 and Server 2008 R2 from a DVD ISO.

    The Windows 7 USB/DVD Download tool allows you to create a copy of your Windows 7 ISO file on a USB flash drive or a DVD. To create a bootable DVD or USB flash drive, download the ISO file and then run the Windows 7 USB/DVD Download tool. Once this is done, you can install Windows 7 directly from the USB flash drive or DVD.

  • grawity

    Some ISO images already have the appropriate boot sector; for example, Arch Linux ISOs. In this case, all you need is to write the image using dd ... of=/dev/sda or similar. (Using a partition, sda1, will not work.)

    But if the ISO image is not specially prepared to be used from a USB drive, you will have to copy the .iso file to the disk as an ordinary filemount, cp, all that – and install a bootloader such as Syslinux or lilo or GRUB. (There already are several pages on the Internet on this topic.)

  • Jeff Atwood

    Why don't try Unetbootin?

    UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD. It runs on Windows, Linux, and Mac OS X. You can either let UNetbootin download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you've already downloaded one or your preferred distribution isn't on the list.

    unetbootin selecting an ISO image unetbootin writing to USB drive

  • nik

    Look at UNetbootin,

    UNetbootin can create a bootable Live USB drive, or it can make a "frugal install" on your local hard disk if you don't have a USB drive. It can load distributions by automatically downloading their ISO (CD image) files, or by using existing ISO files, floppy/hard disk images, or kernel/initrd files, for installing other distributions.


    Update: Unetbootin is freely available from Sourceforge (thats the link I gave).
    If you need additional binaries you can either repackage the ISO you are using or (if its not required at boot time) pick it up after the boot completes from another partition made on the same flash drive.

    Couple of links that might be a useful as reference,

    1. Create a Bootable Ubuntu Live USB (Ubuntu Feisty reference)

      Instructions on how to update the Live CD and modify it's contents are also given.

    2. melux: a custom ubuntu iso creation script

      Melux is a Bash script which automates the creation of custom Ubuntu ISO images. It does nearly everything you would ever need to do: creates necessary working directories, mount-loops the original ubuntu iso, copies its contents, mount-loops the squashfs file, copies its contents in a new dir and chroots in it where it modifies sources.lists and resolv.conf so that the chroot system is usable, and then presents a nice menu for the user to select which package groups to add.

  • SteveSi

    My free Easy2Boot Project may be what you are looking for. For Linux livecd isos you just copy over the ISO file and it will boot 99% of them (over 100 tested so far). Easy2Boot will also boot Windows Install ISOs and allow you to install Windows to a hard disk directly from the ISO. It also has automatic F6 mass storage floppy generation, so you can install XP from an install ISO to an AHCI or SCSI target system from an unmodified MS XP install ISO. It also will cope with ISOs like Hirens Boot CD and Ophcrack. Easy2Boot also can support booting of linux livecd's with persistence too (e.g. Backtrack 5, Ubuntu, Fedora, etc.) by adding a .mnu file (example files are supplied in the download).

  • John T

    For Linux Live USB drives, I'd recommend using Pen Drive Linux. They tell you how to make pretty much every distribution bootable from a pen drive, and they link you to the tools needed.

    For Windows-based bootable USB drives, you'll need to add the bootmgr compatible code with bootsect.exe, then you can simply copy an entire Windows CD/DVD to the USB drive. Guide for Windows 7 found here.

  • Fake Name

    If you want to get really fancy, the Sandisk Cruzer U3 emulates a USB CD-ROM drive for it's "U3" utilities, in addition to being a standard thumbdrive (yes, it shows up as two different USB devices).

    Of course, people have subsequently figured out how to install custom ISOs into the virtual CD device.

    In any event, it's really awesome, because it is even recognized by the BIOS as a CD-Drive.

  • Luke

    For Linux distros specifically, I've used LiLi(Linux Live USB Creator). It's pretty user-friendly and optimized specifically for Linux Live images.

    From their website:

    Free and Open-source

    LinuxLive USB Creator is a completely free and open-source software for Windows only. It has been built with simplicity in mind and it can be used by anyone. All you have to do is to pick up a Linux in the list and give it a try. No reboot needed

    No reboot needed

    Are you sick of having to reboot your PC to try Linux? No need with LinuxLive USB Creator. It has a built-in virtualization feature that lets you run your Linux within Windows just out of the box!

    Supports many Linux distributions

    Wow! Did you see that never-ending list? They are almost all there: Ubuntu, Fedora, Debian, OpenSUSE, Mint, Slax, CentOS, ArchLinux, Gentoo, PCLinuxOS, Sabayon, BackTrack, Puppy Linux ..

    Persistence

    Having a Live USB key is better than just using a Live CD because you can even save your data and install software. This feature is called persistence (available only on selected Linux).

    SmartClean & SmartDownload

    SmartClean uninstalls properly any previous Live USB installations and SmartDownload lets you download any supported Linux in 2 clicks automatically selecting the best mirror to download from.SmartClean also lets you clean your USB key in 1 click.

    And a lot more !

    Intelligent processing: LiLi works with many Linux, even if they are not officially supported

    Hidden installation: LiLi hides the Linux installation, your USB key stays clean

    File integrity: tells you if your ISO is corrupted

    Keeps your data on your USB device (formats only if needed)

    Intelligent formatting: can format disks bigger than 32 GB

    Auto-update: automatic updates when new Linux distributions are available

    Also works with .IMG files (experimental)

  • Jim Thio

    http://www.isotousb.com/

    Another software I am using. I used unetbootin but when I restart what I see is not interface for heroncd but interface for unetbootin.

  • Simon

    YUMI is a MultiBoot Live USB Creator that can be used to quickly and easily build custom bootable USB Flash Drives containing multiple Live Linux distributions, Windows installers, Antivirus tools, system diagnostic, and troubleshooting software of your choosing.

    More info can be found here:

    http://www.pendriveapps.com/yumi-multiboot-live-usb-creator/

  • Franck Dernoncourt

    WiNToBootic for Windows:

    WiNToBootic is a freeware that allows you an easy creation of bootable Windows USB hard or flash disk from an ISO image, CD/DVD or Folder. This product is focused on creation of boot disks based on Microsoft Windows NT 6.x OS family (Vista, 7, 8, Server 2008, Server 2012).

    enter image description here


  • Related Question

    How can I keep multiple live/bootable ISO images on a single USB drive?
  • Keck

    I am looking to create a USB flash drive that I can put multiple live CD ISO images on and select which boots from startup. The ideal candidate supports Linux and Windows-based ISO images, and is relatively simple. It also must have some reasonable process for adding and removing an ISO image from the drive/list.

    Things that I'm not looking for in this specific question:

    • UBCD4Win or other swiss-army knife live CDs. The point is to boot any one of multiple CDs, not to boot a (certainly useful) utility CD.
    • Installing a single live CD to a USB drive. I'd like to have multiple ISO images, selectable at startup.

    I don't have a specific purpose in mind, possibilties include a single drive with a Knoppix variant, Ubuntu desktop, UBCD4Win for DOS, the Offline NT Password Cracker, etc.

    Flexible and easy to use are the name of the game!


  • Related Answers
  • Brandon Skari

    This is an interesting question. I can see it being very useful to have a single USB "master" LiveCD, instead of having so many different DVDs and pen-drives scattered around.

    There seem to be a number of different approaches to this, all of them doable:

  • Peter Mortensen

    YUMI – Multiboot USB Creator (Windows) also allows you to do it. Once set up, all you have to do is put the ISO image file on the drive.