# Rocky 9.6 - Raspberry cannot boot after dnf update

**URL:** <https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773>\
**Category:** Special Interest Groups\
**Created:** [June 12, 2025, 1:53pm UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773 "2025-06-12T13:53:26Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephan57160](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/stephan57160/32/5499_2.png) [@Stephan57160](https://forums.rockylinux.org/u/Stephan57160)\
**Post date:** [June 12, 2025, 1:53pm UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/1 "2025-06-12T13:53:26Z")

</div>

Hi there,

Install an SD card with Rocky 9.6 and boot a Raspberry 3B+ or a 4B with it.  
All is fine and the RPI work just fine.

Then, call `dnf update -y` and reboot.  
Then, the RPI is no more able to boot:

- 3B+ will show a black screen
- 4B will show “firmware not found”

I digged a bit and found that `kernel-rpi-firmware-6.6.77-7.el9.altarch.aarch64.rpm` comes with the update. Its content show the following:

```auto
[root@prod-049-arm64 ~]# rpm -qplv ./kernel-rpi-firmware-6.6.77-7.el9.altarch.aarch64.rpm | head
-rw-r--r-- 1 root root 1594 Jan 27 14:41 /boot/efi/LICENCE.broadcom
-rw-r--r-- 1 root root 52476 Jan 27 14:41 /boot/efi/bootcode.bin
-rw-r--r-- 1 root root 29 Feb 18 12:29 /boot/efi/config.txt
-rw-r--r-- 1 root root 7330 Jan 27 14:41 /boot/efi/fixup.dat
-rw-r--r-- 1 root root 5459 Jan 27 14:41 /boot/efi/fixup4.dat
-rw-r--r-- 1 root root 3232 Jan 27 14:41 /boot/efi/fixup4cd.dat
-rw-r--r-- 1 root root 8457 Jan 27 14:41 /boot/efi/fixup4db.dat
-rw-r--r-- 1 root root 8457 Jan 27 14:41 /boot/efi/fixup4x.dat
-rw-r--r-- 1 root root 3232 Jan 27 14:41 /boot/efi/fixup_cd.dat
-rw-r--r-- 1 root root 10300 Jan 27 14:41 /boot/efi/fixup_db.dat
...

```

the firmware and all come under `/boot/efi` which is normal for a standard Raspbian,  
but the Rocky 9.x raspberry images are built with the firmware under `/boot`.

Got 2 workarounds, so far:

- If ever `/boot/efi` is present, move its content to `/boot/.` (under testing).
- Exclude this package from DNF update mechanism (tested OK) :

```auto
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=False

exclude=kernel-rpi-firmware-6.6.77-7.el9.altarch.aarch64

```

---

<div class="post-metadata">

**Author:** ![Stephan57160](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/stephan57160/32/5499_2.png) [@Stephan57160](https://forums.rockylinux.org/u/Stephan57160)\
**Post date:** [June 12, 2025, 3:02pm UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/2 "2025-06-12T15:02:02Z")

</div>

1st workaround is confirmed working.  
If you ever have this installed, move /boot/efi/\* to /boot and RPI is able to reboot.

---

<div class="post-metadata">

**Author:** ![Stephan57160](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/stephan57160/32/5499_2.png) [@Stephan57160](https://forums.rockylinux.org/u/Stephan57160)\
**Post date:** [June 12, 2025, 4:25pm UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/3 "2025-06-12T16:25:17Z")

</div>

My guess is that this particular package is supposed to come only on Rocky 10, not Rocky 9.x  
If it’s removed from the servers/mirrors, all should be fine.

my 2 cents.

---

<div class="post-metadata">

**Author:** ![ChrisR](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/chrisr/32/3556_2.png) [@ChrisR](https://forums.rockylinux.org/u/ChrisR)\
**Post date:** [June 13, 2025, 2:49am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/4 "2025-06-13T02:49:53Z")

</div>

Rocky 9 has been rock solid on my Raspberry Pi 3 for years. No problems with any updates at all. Then yesterday it did nearly the same thing thing to me. After the `dnf update` it’s dead. I can’t even get any video with the card plugged in after the update either. I decided to just reimage with Rocky 10, but I get the same thing there as well. Just for grins to makes sure it wasn’t my Pi at fault I imaged it with Raspberry Pi OS, and it booted up with no problems. Something goofy may be going on with the current 9.6 / 10 images for Raspberry Pi. At least when it comes to these models. The Rocky 10 [README](https://dl.rockylinux.org/pub/sig/10/altarch/aarch64/images/README.txt) link on the main downloads page is currently broken too.

---

<div class="post-metadata">

**Author:** ![codedude](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@codedude](https://forums.rockylinux.org/u/codedude)\
**Post date:** [June 13, 2025, 2:54am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/5 "2025-06-13T02:54:09Z")

</div>

The Rocky 10 raspberry pi image wont work on a pi 3 as it requires an mbr disk layout and as of 10, its gpt. There’s currently an issue with the kernel-rpi-firmware package. The best fix is the one suggested above. 1. copy the contents of /boot/efi to /boot and reboot. Also, blocking it from further dnf updates is a good workaround as well. We’re working on a better fix with no ETA at this point.

---

<div class="post-metadata">

**Author:** ![codedude](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@codedude](https://forums.rockylinux.org/u/codedude)\
**Post date:** [June 13, 2025, 2:55am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/6 "2025-06-13T02:55:19Z")

</div>

Thanks for reporting this with your workaround.  
No, it is indeed meant for RL9. part of the problem is, there’s a newer rpi kernel that that firmware package matches too. I’ve yet to confirmed why the newer firmware package got installed as the name changed and nothing requires it that i can see.

We’re currently working on a fix but unfortunately dont have an ETA.

---

<div class="post-metadata">

**Author:** ![ChrisR](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/chrisr/32/3556_2.png) [@ChrisR](https://forums.rockylinux.org/u/ChrisR)\
**Post date:** [June 13, 2025, 3:02am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/7 "2025-06-13T03:02:30Z")

</div>

Thanks for the quick response. That’s good to know. I’ll reinstall with the 9 image, and perform this workaround before doing the `dnf update`.

Side question. Where are the requirements for Rocky 10 posted for the Raspberry Pi? As mentioned earlier, README link is broken.

---

<div class="post-metadata">

**Author:** ![codedude](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@codedude](https://forums.rockylinux.org/u/codedude)\
**Post date:** [June 13, 2025, 3:05am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/8 "2025-06-13T03:05:06Z")

</div>

10 will work on Raspberry Pi 4 and newer.

---

<div class="post-metadata">

**Author:** ![ChrisR](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/chrisr/32/3556_2.png) [@ChrisR](https://forums.rockylinux.org/u/ChrisR)\
**Post date:** [June 13, 2025, 3:09am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/9 "2025-06-13T03:09:06Z")

</div>

Hazard of running nearly 10 year old $25 hardware I suppose. 😀  
Completely understandable due to the GPT requirement.

Keep up the great work and thanks again!

---

<div class="post-metadata">

**Author:** ![codedude](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@codedude](https://forums.rockylinux.org/u/codedude)\
**Post date:** [June 13, 2025, 3:13am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/10 "2025-06-13T03:13:25Z")

</div>

No problem at all. When it just works, there’s no reason to throw it out. I suspect one could generate an image for 10 that would work on a pi 3, but itd take a bit of work. We use kiwi to generate our images. As of 10, gfdisk isnt available and thus gpt disks are easiest. I’m not saying mbr isnt possible, just will take a bit of extra work. kiwi descriptions are [here](https://git.resf.org/sig_core/rocky-kiwi-descriptions/src/branch/r10)

---

<div class="post-metadata">

**Author:** ![Stephan57160](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/stephan57160/32/5499_2.png) [@Stephan57160](https://forums.rockylinux.org/u/Stephan57160)\
**Post date:** [June 13, 2025, 8:53am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/11 "2025-06-13T08:53:42Z")

</div>

Ok.  
If you need some external tester, just ping me here.

---

<div class="post-metadata">

**Author:** ![ChrisR](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/chrisr/32/3556_2.png) [@ChrisR](https://forums.rockylinux.org/u/ChrisR)\
**Post date:** [June 13, 2025, 1:20pm UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/12 "2025-06-13T13:20:32Z")

</div>

Thanks for finding and sharing this workaround.

---

<div class="post-metadata">

**Author:** ![Stephan57160](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/stephan57160/32/5499_2.png) [@Stephan57160](https://forums.rockylinux.org/u/Stephan57160)\
**Post date:** [June 13, 2025, 1:32pm UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/13 "2025-06-13T13:32:28Z")

</div>

Glad to see this helped not only me 😉

---

<div class="post-metadata">

**Author:** ![dajy](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@dajy](https://forums.rockylinux.org/u/dajy)\
**Post date:** [June 17, 2025, 4:39am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/14 "2025-06-17T04:39:59Z")

</div>

You are my savior, Thank you sir.

I found this workaround after I extracted and cut my micro SD card which was not booted…

---

<div class="post-metadata">

**Author:** ![Stephan57160](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/stephan57160/32/5499_2.png) [@Stephan57160](https://forums.rockylinux.org/u/Stephan57160)\
**Post date:** [July 8, 2025, 8:01am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/15 "2025-07-08T08:01:52Z")

</div>

Some information, regarding this issue.

The team found a solution and we can safely call `dnf update` again.

On my side:

- I tested DNF UDPATE on a PI4 where the workarounds were applied. Even when I remove the `exclude` : `dnf update` + `reboot` is OK.
- I also tested a freshly installed 9.2 on a PI4 : `dnf update` + `reboot` is OK too.

---

<div class="post-metadata">

**Author:** ![ChrisR](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/chrisr/32/3556_2.png) [@ChrisR](https://forums.rockylinux.org/u/ChrisR)\
**Post date:** [July 8, 2025, 11:31am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/16 "2025-07-08T11:31:32Z")

</div>

That’s great news! Thanks for the update.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [September 6, 2025, 11:32am UTC](https://forums.rockylinux.org/t/rocky-9-6-raspberry-cannot-boot-after-dnf-update/18773/17 "2025-09-06T11:32:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
