Skip to content

Conversation

@sbaeurle
Copy link

@sbaeurle sbaeurle commented Jan 7, 2026

Include instructions found in https://discussion.fedoraproject.org/t/fcos-unusually-slow-on-raspberry-pi-3b/40635/16 into the documentation.

Commands verified locally with 3 RPi 3B+ running FCOS

@hrismarin
Copy link
Contributor

I would suggest that instead of changing the title section to Provisioning Fedora CoreOS on the Raspberry Pi 4/3, to create a new section dedicated to Raspberry Pi 3 and title it, for example Provisioning Fedora CoreOS on the Raspberry Pi 3.

Otherwise it looks good.


[source, bash]
----
sudo gdisk
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it would be better to script this somehow, like by piping configuration through sfdisk or something?

Then it's less interactive (less chance for things to go wrong).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll come up with a small script for this

@hrismarin
Copy link
Contributor

FWIW, I've mentioned a few times that I have a Python script that automatically provision FCOS on RPi 4 using EDK2 or U-Boot approaches. I can provide it if anyone is interested.

Confirm any questions with: Y
----

During the first boot, CoreOS overwrites the partition table, thus requiring a second creation of the hybrid MBR
Copy link
Member

@dustymabe dustymabe Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I wouldn't expect this but I guess maybe the growing of the root partition somehow undoes the changes you made.

Can you try booting an instance with an extra kernel parameter to disable the growfs from happening:

[dustymabe@media ~]$ cat /tmp/foo.sh 
#!/bin/bash                                                            
# Create dropin for disabling # ignition-ostree-growfs.service
DROPIN_CRED=$(base64 -w 0 <<EOF
[Service]
ExecStart=
ExecStart=echo "skipping ignition-ostree-growfs.service"
EOF
)
echo "systemd.set_credential_binary=systemd.unit-dropin.ignition-ostree-growfs.service:${DROPIN_CRED}"
[dustymabe@media ~]$ bash /tmp/foo.sh 
systemd.set_credential_binary=systemd.unit-dropin.ignition-ostree-growfs.service:W1NlcnZpY2VdCkV4ZWNTdGFydD0KRXhlY1N0YXJ0PWVjaG8gInNraXBwaW5nIGlnbml0aW9uLW9zdHJlZS1ncm93ZnMuc2VydmljZSIK

So the kernel parameter would then be:

systemd.set_credential_binary=systemd.unit-dropin.ignition-ostree-growfs.service:W1NlcnZpY2VdCkV4ZWNTdGFydD0KRXhlY1N0YXJ0PWVjaG8gInNraXBwaW5nIGlnbml0aW9uLW9zdHJlZS1ncm93ZnMuc2VydmljZSIK

When you do this you should get a CLHM warning about the root filesystem being smaller than recommended:

Fedora CoreOS 43.20260106.dev.0

############################################################################
WARNING: The root filesystem is too small. It is strongly recommended to
allocate at least 8 GiB of space to allow for upgrades. From June 2021, this
condition will trigger a failure in some cases. For more information, see:
https://docs.fedoraproject.org/en-US/fedora-coreos/storage/

You may delete this warning using:
sudo rm /etc/motd.d/60-coreos-rootfs-size.motd
############################################################################

Tracker: https://github.com/coreos/fedora-coreos-tracker
Discuss: https://discussion.fedoraproject.org/tag/coreos

[core@cosa-devsh ~]$ 

@sbaeurle
Copy link
Author

FWIW, I've mentioned a few times that I have a Python script that automatically provision FCOS on RPi 4 using EDK2 or U-Boot approaches. I can provide it if anyone is interested.

i did combine all commands in the docs into a simple bash script as well. maybe i can add the mentioned sfdisk automation

@hrismarin
Copy link
Contributor

FWIW, I've mentioned a few times that I have a Python script that automatically provision FCOS on RPi 4 using EDK2 or U-Boot approaches. I can provide it if anyone is interested.

i did combine all commands in the docs into a simple bash script as well. maybe i can add the mentioned sfdisk automation

I don't have a Raspberry Pi 3 and won't be able to test it.

I wrote mine a while ago and it's about 150 lines long, so it's not suitable for inclusion in the docs. It automatically downloads EDK2 or U-Boot files (depending on the option) and copies them to the appropriate directories on the SD card, without requiring elevated privileges, i.e. sudo. However, as I mentioned, it is written in Python and cannot be used on CoreOS “out of the box”.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants