Skip to content

Instantly share code, notes, and snippets.

@ryanj
Last active August 29, 2015 14:15
Show Gist options
  • Save ryanj/ec734b00f7f781c92650 to your computer and use it in GitHub Desktop.
Save ryanj/ec734b00f7f781c92650 to your computer and use it in GitHub Desktop.
How to get Fedora21 minimal runing on the RaspberryPi 2.0

Fedora21 minimal on RPi-2

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

  1. Download the experimental Fedora spin:
curl -O http://www.digitaldreamtime.co.uk/Fedora/Pi2B-Minimal-armhfp-21-5-20150211-1.img.xz
  1. Extract the image
xz -d Pi2B-Minimal-armhfp-21-5-20150211-1.img.xz
  1. Write the image to an SD card:
sudo dd if=Pi2B-Minimal-armhfp-21-5-20150211-1.img of=/dev/sdb bs=1M
  1. Resize the target partition
sudo sync
sudo gparted /dev/sdb # use it to resize the partition
sudo resize2fs /dev/sdb3 # to expand the fs
sudo sync
  1. 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!

@ryanj
Copy link
Author

ryanj commented Mar 10, 2015

good stuff here - http://blog.hypriot.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment