This guide assumes that your SD slot is available at /dev/sdb
. Make sure to substitute the correct value for your own SD device (or you might wipe out one of your hard disks)!! USE AT YOUR OWN RISK
- Download the experimental Fedora spin:
curl -O http://www.digitaldreamtime.co.uk/Fedora/Pi2B-Minimal-armhfp-21-5-20150211-1.img.xz
- Extract the image
xz -d Pi2B-Minimal-armhfp-21-5-20150211-1.img.xz
sudo dd if=Pi2B-Minimal-armhfp-21-5-20150211-1.img of=/dev/sdb bs=1M
sudo sync
sudo gparted /dev/sdb # use it to resize the partition
sudo resize2fs /dev/sdb3 # to expand the fs
sudo sync
- Put that disk in your Pi
Plug it in and turn it on!
Ethernet, HDMI, and keyboard should all be working. Login with root:fedora
and run initial-setup
to change the root password, add user accounts, and set your timezone. Your hostname can be set with hostnamectl set-hostname --static mypi.localdomain
.
Next steps? Help me figure out how to install Docker and Go!
I installed the F22 docker packages from koji http://koji.fedoraproject.org/koji/buildinfo?buildID=610075
Updated Go packages are also available: http://koji.fedoraproject.org/koji/buildinfo?buildID=612641
The packages seem to install cleanly, but SELinux isn't available, and when I try to start Docker it fails with
FATA[0000] Error running DeviceCreate (CreatePool) dm_task_run failed
, as described here : moby/moby#6325I checked to see if my kernel has support for
DM_THIN_PROVISIONING
and found the following:It sounds like I may need to find an updated kernel (or find updated modules to match my current kernel), or rebuild my kernel to include
CONFIG_DM_THIN_PROVISIONING
(and possiblyCONFIG_OVERLAY_FS
as well).