Karan Singh

Code Never Lies, Comments Sometime Do !!

Home Lab Setup : Fedora 27 on Raspberry PI 3

| Comments

face-recogination

You know why you are here, so without further due, lets begin

  • Downlaod Fedora Media Writer for Mac OS X
  • (optioal) you could either download Fedora Server/Workstation from https://arm.fedoraproject.org/ OR directly use Fedora Media Writer which will download the required image and flash to the Memory card.
  • Insert memory card in memory card reader and plug that into your Macbook
  • Open Fedora Media Writer application, select “Custome Image” option, choose Fedora ARM image and flash Fedora OS to the memory card
  • Once flashing is done, insert the memory card to your raspberry-pi
  • Connect display cable, Keyboard and network cable
  • Connect power cable which will auto start your PI
  • Wait for Fedora-27 to boot for the fist time
  • On initial setup CLI screen, provide necessary information (as shown below) and continue
1
2
3
4
5
6
7
8
Initial setup of Fedora 27 (Twenty Seven)

 1) [x] Language settings                 2) [!] Time settings
        (English (United States))                (Timezone is not set.)
 3) [ ] Network configuration             4) [!] Root password
        (Not connected)                          (Password is not set.)
 5) [!] User creation
        (No user will be created)
  • Login to your Fedora-27 CLI with the the user credentials you have set
  • Now if your memory card is of higher capacity, we should expand the root filesystem so that the OS can consume the remaining capacity on the memory card.
  • Check your memory card logical name by executing lsblk and df -h
  • Grow your root / partion using growpart /dev/mmcblk0 4, here /dev/mmcblk0 is your memory card logical path and 4 is the root partition number.
  • Finally expand the xfs filesystem by xfs_growfs / command
  • Verify network connectivity ip a ping 8.8.8.8
  • Reboot your RPI, and relogin
  • If you have internet connectivity to RPI, upgrade packages to the latest dnf upgrade -y
  • Reboot
  • Fedora Server comes with very cool Administration Console, visit https://RPI-IP:9090 and use your OS login credentials
  • Use your RPI as you like

Troubleshooting

  • While booting if RPI is hanging on u-boot screen, then type boot command on u-boot prompt. If you are planning to use RPI remotely then do not let keyboard connected, otherwise when you reboot your RPI, it will wait for keyboard input. This seems to be a bug with Fedora-27 or maybe RPI firmware, i haven’t found a solution yet. But this is the workaround i used do not let your keyboard connected. You could always connect it later.

Comments