Fedora 22 on Raspberry Pi 2

Download one of the remix from http://arm.fedoraproject.org/

Download kernel

cd /tmp/
git clone -depth 1 https://github.com/raspberrypi/firmware.git

I am using LXDE:

xzcat Fedora-LXDE-armhfp-22-3-sda.raw.xz | dd of=/dev/mmcblk0 bs=4M
fdisk /dev/mmcblk0

change first partition type to B

If you like, expand /dev/mmcblk0p3 to utilize all space and use resize2fs /dev/mmcblk0p3 to expand filesystem

mkfs.vfat /dev/mmcblk0p1
mkdir /tmp/sdcard
mount /dev/mmcblk0p3 /tmp/sdcard
mount /dev/mmcblk0p1 /tmp/sdcard/boot
cat >/tmp/sdcard/boot/config.txt

#uncomment to overclock the arm. 700 MHz is the default.

arm_freq=700

# NOOBS Auto-generated Settings:

hdmi\_force\_hotplug=1
config\_hdmi\_boost=4
overscan_left=24
overscan_right=24
overscan_top=16
overscan_bottom=16
disable_overscan=0
core_freq=250
sdram_freq=400
over_voltage=0
^d
cat >/tmp/sdcard/boot/cmdline.txt
dwc\_otg.lpm\_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait
^d

Copy Firmware

cp firmware/boot/* /tmp/sdcard/boot/
rm -rf /tmp/sdcard/lib/modules/*
cp -rvi firmware/modules/*-v7+ /tmp/sdcard/lib/modules/

Modify fstab

blkid /dev/mmcblk0p1

copy UUID from results

vi /tmp/sdcard/etc/fstab

Update boot UUID with new one

Change ext to vfat

Remove noatime

umount /tmp/sdcard/boot
umount /tmp/sdcard
rmdir /tmp/sdcard

Insert Card in RaspBerry Pi 2 and boot.

Follow on screen first setup for fedora.

 Share!