From Fedora Project Wiki
(Using Appliance-Tools on an ARM Host)
(Download the Fedora 20 Disk Image)
Line 13: Line 13:
 
  unxz Fedora-Minimal-armhfp-20-1-sda.raw.xz
 
  unxz Fedora-Minimal-armhfp-20-1-sda.raw.xz
  
If needed install virt-tools to extract the boot files and expand the disk image to make room for our remix image.
+
If needed install 'libguestfs-tools' to extract the boot files and expand the disk image to make room for our remix image.
 +
 +
sudo yum install -y libguestfs-tools
 +
virt-copy-out -a Fedora-Minimal-armhfp-20-1-sda.raw /boot .
 +
qemu-img resize ./file.img +10G # change this value to your desired size, it will need to be adequate for your disk image
 +
 
 +
Use QEMU to boot the new disk image using the vexpress-a15 dtb allowing for increased RAM usage.
  
 
== Using an Existing Disk Image ==
 
== Using an Existing Disk Image ==

Revision as of 15:35, 19 March 2014

Warning.png
Draft
This is a work in progress and has not been thoroughly tested. Use at your own risk!

Creating a Fedora Remix for ARM

Fedora Guidelines

Using Appliance-Tools on an ARM Host

To create a disk image remix for Fedora you will need to run 'Appliance-Tools' on an ARM host. For those without ARM hardware, this can be completed using QEMU and A15 emulation which can utilize more RAM. If you have ARM hardware you can safely ignore the QEMU portions.

Download the Fedora 20 Disk Image

First download the Minimal disk image for Fedora 20 and unpack.

wget http://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/armhfp/Fedora-Minimal-armhfp-20-1-sda.raw.xz
unxz Fedora-Minimal-armhfp-20-1-sda.raw.xz

If needed install 'libguestfs-tools' to extract the boot files and expand the disk image to make room for our remix image.

sudo yum install -y libguestfs-tools
virt-copy-out -a Fedora-Minimal-armhfp-20-1-sda.raw /boot .
qemu-img resize ./file.img +10G # change this value to your desired size, it will need to be adequate for your disk image

Use QEMU to boot the new disk image using the vexpress-a15 dtb allowing for increased RAM usage.

Using an Existing Disk Image