Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4814

Pidora / Fedora • Headless (mostly) Fedora CoreOS on RPi4 - A Brief Updated How To

$
0
0
Hello,
making my way through many tutorials as Headless (mostly) Fedora CoreOS on RPi4 - A Brief How To (updated 9 Oct) - Raspberry Pi Forums and libgpiod, I can say, things a bit easier now, you don't even need a Federoa Desktop or Server running.
At least until the very first boot and being able to log in:
  1. devicetree not working with EDK2
  2. U-Boot do to
  3. wifi still to be included in ignition
  4. pass through hardware (GPIO HAT, Bluetooth)
I provisioned 100% on Raspberry Pi OS, without any Fedora OS running, using Podman Images.

my procedure from Producing an Ignition Config :: Fedora Docs instead Getting started | Butane, see https://github.com/coreos/butane/issues/573

Code:

podman run --interactive --rm --security-opt label=disable \       --volume ${PWD}:/pwd --workdir /pwd quay.io/coreos/butane:release \       --pretty --strict config.bu > config.ign
than as described on Provisioning Fedora CoreOS on the Raspberry Pi 4 :: Fedora Docs
  1. CoreOS Install

    Code:

     FCOSDISK=/dev/sda STREAM=stable # or `next` or `testing` echo $FCOSDISK echo $STREAM sudo podman run --pull=always --privileged --rm \     -v /dev:/dev -v /run/udev:/run/udev -v .:/data -w /data \     quay.io/coreos/coreos-installer:release \     install -a aarch64 -s $STREAM -i config.ign $FCOSDISK           
  2. UEFI Firmware

    Code:

     FCOSEFIPARTITION=$(lsblk $FCOSDISK -J -oLABEL,PATH  | jq -r '.blockdevices[] | select(.label == "EFI-SYSTEM")'.path) mkdir /tmp/FCOSEFIpart sudo mount $FCOSEFIPARTITION /tmp/FCOSEFIpart pushd /tmp/FCOSEFIpart VERSION=v1.38  # use latest one from https://github.com/pftf/RPi4/releases sudo curl -LO https://github.com/pftf/RPi4/releases/download/${VERSION}/RPi4_UEFI_Firmware_${VERSION}.zip sudo unzip RPi4_UEFI_Firmware_${VERSION}.zip sudo rm RPi4_UEFI_Firmware_${VERSION}.zip popd sudo umount /tmp/FCOSEFIpart    

Statistics: Posted by PackElend — Thu Jan 02, 2025 7:05 pm



Viewing all articles
Browse latest Browse all 4814

Trending Articles