I was having trouble with a fwupd update, so I manually moved files in boot partition.
While the firmware update worked successfully, now Secure Boot fails. After disabling SecureBoot the laptop is working fine. But I want to re-enable Secure Boot.
What is the easiest way to fix or rebuild the EFI boot partition on Silverblue so that I can reenable SecureBoot? Any pointers appreciated.
I saw this doc, however, it isn’t compatible with Silverblue since the root partition does not directly expose any binaries (they are in ostree), let alone DNF.
But then I took actions to attempt a workaround based off of a forum post which described the same issue.
It included: backing up and deleting the BOOT and Fedora EFI shim, performing fwupd update on the USB hub (which now ran successfully), and then restoring the EFI files.
However, after a reboot, it looks like SecureBoot could detect the changes were performed. I believe SecureBoot is working as expected due to my changes performed in the EFI.
Preferably, I am looking for a way to reset the state of SecureBoot. Or reformat the boot and boot/efi partitions, possibly via Anaconda. But I have not found a straight forward way to do that without a clean install.