ARM

Finnix, the LiveCD for system administrators
Jump to: navigation, search

As of version 111, Finnix includes armhf downloads, which can be used to boot Finnix on certain ARM systems. ARM support is currently categorized as a "technology preview" and is not officially supported by Finnix or targeted for a release with each Finnix release.

The current targeted reference platform for Finnix's armhf support is the Versatile Express A9 platform, as emulated by QEMU. This allows you to quickly and easily boot a Finnix armhf system to test/evaluate.

Usage

Download the latest Finnix armhf release, which is distributed as an ISO. Mount the ISO temporarily and copy the contents of boot/armhf/ (currently linux, initrd.xz and vexpress-v2p-ca9.dtb) to the same directly as the ISO. Unmount the ISO.

Install qemu-system-arm. On Debian-based distributions, this is done as:

$ sudo apt-get install qemu-system-arm

Then simply run:

$ qemu-system-arm -display none -machine vexpress-a9 -m 256 \
  -kernel linux -initrd initrd.xz -dtb vexpress-v2p-ca9.dtb \
  -append "console=ttyAMA0,115200" -serial stdio \
  -drive file=finnix-armhf.iso,id=cd0,format=raw \
  -device virtio-blk-device,drive=cd0

This will boot Finnix and redirect the emulated serial console to the running terminal. It will be usable as a running Finnix system, but be careful as Ctrl-C will quit qemu-system-arm itself.

Other standard QEMU options are available. For example, with an extra disk and tun network support:

$ qemu-system-arm -display none -machine vexpress-a9 -m 256 \
  -kernel linux -initrd initrd.xz -dtb vexpress-v2p-ca9.dtb \
  -append "console=ttyAMA0,115200" -serial stdio \
  -drive file=finnix-armhf.iso,id=cd0,format=raw \
  -device virtio-blk-device,drive=cd0 \
  -drive file=other-data.img,id=disk0,format=raw \
  -device virtio-blk-device,drive=disk0 \
  -netdev tap,id=hostnet0,ifname=finnix-armhf,script=no,downscript=no \
  -device virtio-net-device,netdev=hostnet0,id=net0

Setting up the finnix-armhf tun device and making it usable is outside the scope of this guide.

Raspberry Pi 2

Finnix for armhf does not officially support the Raspberry Pi 2, though it has been confirmed as working with it, when combined with a third-party >= 3.18 kernel with Raspberry Pi 2 support. The original Raspberry Pi uses an ARMv6 CPU, and is not and will never be compatible with Finnix.

TODO

Demo

A live SSH demo is available for Finnix armhf. Please see the Demos page for more information.