Unable to boot after install - Systemd-boot failed
System details
i7 6700k, 1080ti, Asus Maximum VIII Extreme
What's wrong?
After installing Omarchy unable to boot. I get through limine, but then get the following error
../systemd/src/boot/efi-log.c:98@efi_assert: systemd-boot: Assertion 'BS->AllocatePages(type,memory_type, n_pages, &addr) == EFI_SECCESS' failed at ../systemd/src/boot/util.h:92@xmalloc_pages, halting.
Attempted to fix by doing omarchy-update of the system through a liveboot and going into the system. Also attempted to do omarchy-reinstall, neither helped
Also tried reducing down the size of the omarchy_linux.efi by removing a few small things like thunderbolt support which I don't need and remaking it with limine-mkinitcpio but that only made a minor difference and the omarchy_linux.efi was still over 300 MB (Tested this due to different issue I saw on SystemD repo SystemD Issue #35026 )
Realised I forgot to mention. This was on Omarchy v3.4.2 because the download for the v3.5.0 ISO still doesn't work.
Just tried installing a few other distros incase it was my machine messing with SystemD.
No issues there. Only breaks this way with Omarchy
Thanks for the detailed report. The error comes from the boot stub inside the UKI, which halts when the firmware will not hand it enough memory to load the image. A UKI over 300 MB is the likely trigger. Other distributions on the same machine boot much smaller images, which fits that explanation.
What made the image that large on an NVIDIA machine is a known cause that has been fixed since v3.4.2. The installer early-loads the proprietary nvidia_drm driver, but the initramfs also kept the kms hook. That hook pulled in nouveau along with every firmware blob nouveau declares, roughly 100 MB of GSP firmware for a driver that never runs. #6791, shipped in v4.0.0, drops the kms hook when nvidia_drm is early-loaded and NVIDIA owns every display controller (etc/mkinitcpio.conf.d/omarchy_hooks.conf). A migration then rebuilds the UKI for existing installs. This applies to a GTX 1080 Ti on the 580xx driver just as it does to newer cards. On the RTX 4090 where it was measured, the UKI went from 256 MB to 144 MB. Removing thunderbolt support could not make a difference of that size.
It has one condition that matters on your board. If the i7-6700K's integrated graphics is enabled in the firmware, it shows up as a second display controller. In that case kms is kept on purpose and the image does not shrink. I could not reproduce this, because the failure lives in your motherboard's firmware and our test machines don't have it. So whether the smaller image boots on your machine is something only you can check.
If you can, please try a fresh install from the current ISO (v4.0.4, from omarchy.org) and tell us:
- Whether it boots past Limine.
- The output of
lspci -nn | grep -Ei 'vga|3d|display', from the installed system or a live boot. - The size of the UKI:
sudo ls -l /boot/EFI/Linux/.
If the Intel graphics shows up in step 2 and you don't use it, disabling it in the firmware setup and rebuilding with sudo limine-mkinitcpio should drop the image to the smaller size.
I diagnosed this from Omarchy's source and history and ran nothing. Codex Medium reviewed it independently, reached the same mechanism and the same iGPU condition, and found no further fix missing on quattro. Its independence from my reasoning is not guaranteed. This is waiting on your answer.