-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
To anyone having a similar issue:
(13/24) Generating signed EFI boot files
Generating EFI images...
stat: cannot statx '/boot/initramfs-linux-hardened-fallback.img': No such file or directory
/usr/bin/arch-secure-boot: line 78: 5603254272 + + section_alignment - (5603254272 + ) % section_alignment: arithmetic syntax error: operand expected (error token is ") % section_alignment")
This is caused by mkinitcpio not generating fallback images by default anymore (see v40 changelog).
The easiest fix is to simply enable back fallback images generation by editing /etc/mkinitcpio.d/*.preset and making sure the following entries are set:
PRESETS=('default', 'fallback')
...
fallback_image=...
Once you're done, just reinstall your kernels to trigger mkinitcpio as well as arch-secure-boot, for me it was:
sudo pacman -S linux-hardened linux-lts
max-baz
Metadata
Metadata
Assignees
Labels
No labels