wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


installation:howto_flash_arm_image

How-to flash ARM image to SD Card?

Preparation

Obtain the IPFire image from IPFire downloads. Locate the arm heading and click on the Flash Image to download the needed file.

Important!
All data on the SD card will be overwritten!

Then choose a method below for the desktop operating system.

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

  • Open a terminal
  • Insert the USB drive
  • You will have to unmount the USB drive, to be able to write to it. Do so with the command:
umount /dev/sdX

Change “sdX” to correspond with your USB drive.

Then execute the following commands:

xzcat /path/to/ipfire-2.21.2gb-ext4.armv5tel-full-core123.img.xz | sudo dd bs=1M of=/dev/sdX
#   -or-
xzcat /path/to/ipfire-2.21.2gb-ext4.aarch64-full-core123.img.xz | sudo dd bs=1M of=/dev/sdX
 
eject /dev/sdX


MacOS

Which device is my USB drive?

  • Open a terminal
  • Insert the USB drive
diskutil list

Change “diskX” to correspond with your USB drive.

To write to the USB drive it will need to be unmounted. Do so with the command:

diskutil unmountdisk /dev/diskX

Then execute the following commands:

xzcat /path/to/ipfire-2.21.2gb-ext4.armv5tel-full-core123.img.xz | sudo dd bs=1m of=/dev/diskX
#   -or-
xzcat /path/to/ipfire-2.21.2gb-ext4.aarch64-full-core123.img.xz | sudo dd bs=1m of=/dev/diskX
 
sync
 
diskutil eject /dev/diskX

It will take ~16 minutes to flash the image to the SD Card.


Etcher

This method will work with Windows, Linux, Mac, etc.

What is Etcher?

Etcher is a free and open-source image burner with support for Windows, OS X, and GNU/Linux. It makes USB and SD card image burning as simple and fast as possible. Etcher provides a one-stop universal and cross-platform solution for burning images to SD cards and USB drives in a safe and easy way.

  1. Obtain the Etcher application from Etcher downloads.
  2. Obtain the IPFire image from IPFire downloads.
    • Locate the arm heading and click on the Flash Image to download the needed file.
  3. Launch the Etcher application.
  4. Click Select Image and locate the ipfire-2.21.2gb-ext4.armv5tel-full-core124.img.xz file (usually located in the Download folder).
    • The compressed .img.xz file will work as-is and without decompressing.
  5. Insert a blank SD card and click Select Drive if needed.
  6. Click Flash!

It will take 3 to 4 minutes for Etcher to flash the image to the SD Card and verify the image.

Links:
Burn SD Cards with Etcher

installation/howto_flash_arm_image.txt · Last modified: 2018/12/17 22:51 by Jon