Howto write a flash image to disk?

Preparation

First you need to download the image you want to flash on your USB key, compact flash, or SD card. This could be either one the IPFire flash images or the ISO image. To find out which one is the right one you want to use, please checkout out the installation guide.

Note that all data on the flash card or USB key will be overwritten!

Secondly, choose a method below that works with your operating system.

Microsoft Windows

Win32 Disk Imager

This method uses the Win32 Disk Imager and works for Windows XP/Vista/7/8.

  1. Download the newest version of Win32 Disk Imager
  2. Install Win32 Disk Imager
  3. Plug-in the USB drive you want to use
  4. Open Win32 Disk Imager
  5. Click the blue folder to open a file dialog
  6. Change the file type from “Disk Images (*.img *.IMG)” to “*.*”
  7. Find and select the IPFire ISO or image file (maybe you need to uncompress first with 7zip for example - all the flash and arm images have type “*.gz”)
  8. Select the correct “Device” (the USB drive)
  9. Do not click Read!
  10. Click “Write”
  11. Done!

After writing, Windows may not recognize the file system on the USB drive and may offer to format the USB drive. This is normal, so do not format the USB drive. Windows may also report low capacity (around 150MB) even if the USB drive had higher capacity. This is normal, you can easily restore the full capacity later if you need it.

Linux and other *nixes

Which device is my USB drive?

One method of finding out is open a Linux Terminal and use the command:

lsblk

Using dd

umount /dev/sdX

Change “sdX” to correspond with your USB drive.

Then execute the following commands:

dd if=/path/to/ipfire-2.15.i586-full-core86.iso of=/dev/sdX bs=1M
eject /dev/sdX