5

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?

Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
ItsPronounced
  • 564
  • 2
  • 5
  • 16
  • 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. –  Mar 28 '11 at 04:54
  • 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 Mar 28 '11 at 07:47
  • Possible duplicate: http://superuser.com/questions/66948/how-do-i-place-a-bootable-iso-on-a-usb-drive – Mechanical snail Sep 06 '11 at 03:48
  • 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 Jan 04 '16 at 04:35

1 Answers1

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.

Sathyajith Bhat
  • 61,504
  • 38
  • 179
  • 264
Darek
  • 986
  • 8
  • 16