Is it possible to take ANY ISO image file and make a boot USB key?

5

1

I've done this countless times with Windows 7 installations: booted the image from a USB key and installed. No problem.

I want to do this with a FreeNAS 0.7.2 live CD, but I am having the hardest time. I have the ISO. I've done the following so far using Windows 7 x64 to try to make the USB drive:

1. When the Command Prompt opens, enter the following command:
DISKPART and hit enter.
LIST DISK and hit enter.
2. Once you enter the LIST DISK command, it will show the disk number of your USB drive. In the below image, my USB drive disk number is Disk 1.
3. In this step you need to enter all the below commands one by one and hit enter. As these commands are self explanatory, you can easily guess what these commands do.
SELECT DISK 1 (Replace DISK 1 with your disk number)
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=FAT (NOTE should this be NTFS or FAT???)
(Format process may take few seconds)
ASSIGN
EXIT

I'm able to do all this with no problem. Then I take my ISO image of the LiveCD and extract it to my newly prepared USB stick. However when I try to boot from it, it tells me DISK BOOT FAILURE.

Am I missing something?

ItsPronounced

Posted 2011-03-28T01:11:08.993

Reputation: 442

I'm guessing the Freenas image has a bootloader that depends on information assumed to be in an optical disk filesystem. If you change the filesystem the bootloader may fail to load the kernel. – jiggunjer – 2016-01-04T04:35:01.390

FAT yes, NTFS no. Setting the drive active is not the same as setting it bootable. Have a look on Google for how to do this. – None – 2011-03-28T04:54:01.277

this mentod tends to work with Windows ISO's, for other ISOs such as FreeNAS or Clonezilla I would reccoumned UnetBootin as suggested in @tdi's answer. – tombull89 – 2011-03-28T07:47:25.520

Possible duplicate: http://superuser.com/questions/66948/how-do-i-place-a-bootable-iso-on-a-usb-drive

– Mechanical snail – 2011-09-06T03:48:38.257

Answers

1

There is UnetBootin that will do it for you.

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.

Darek

Posted 2011-03-28T01:11:08.993

Reputation: 886

1That is one of the first things I tried, it pops up something about a corrupted boot (?) . I would have to look it up. – ItsPronounced – 2011-03-28T18:24:07.490

1Sorry I couldn't be more descriptive at first. The exact error is Invalid or corrupt kernel image. I am trying a different USB key and redownloading the FreeNAS iso first to see if that would cause the problem. – ItsPronounced – 2011-03-29T01:14:56.993

Weird same error on a new iso and new usb drive. – ItsPronounced – 2011-03-29T01:25:52.917

same problem as drpcken. I think unetbootin just doesn't work with Freenas 7 – Malabarba – 2012-03-19T18:04:44.730