Error on boot after update

Hi everyone,

After performing a full system update (sudo pacman -Syuu) yesterday, my system won’t boot properly. Upon reboot, I’m met with a black screen and the following error in red:

Systems-boot: Assertion ‘BS->AllocatePages(type, memory_type, n_pages, &addr) == EFI_SUCCESS’ failed at …/systemd/src/boot/efi/util.h:77@xmalloc_pages, halting.

I’ve been troubleshooting for a while but haven’t managed to resolve the issue. I’m running a dual-boot setup (with Windows, primarily for some school software that doesn’t work well with Wine), and it took a lot of effort to get everything configured initially. I’m not sure if this problem is due to hardware compatibility (I’m using a Lenovo ThinkPad Pro) or something I might have overlooked.

Any guidance on how to fix this would be greatly appreciated. Thanks in advance for your help!

Kind regards
Briek Wozniak

you can start by posting logs.

post your pacman log for the date of the update
cat /var/log/pacman.log | eos-sendlog
post the url in here.
post the complete contents up to this

Hi this is the link: https://0x0.st/XRQD.txt
I wasn’t sure how to get the info since the system wouldn’t boot so I used arch-chroot, I hope this still shows everything.
Thanks in advance!

this is the last pacman command I found in that log

[2024-11-27T14:46:20+0100] [PACMAN] Running ‘pacman -U /var/cache/pacman/pkg/linux-6.11.9.arch1-1-x86_64.pkg.tar.zst’

the latest kernel version is
Linux 6.12.1-arch1-1
why are you downgrading the kernel? maybe if you explained more of what you were actually doing we can help.

Apologies for the lack of information in my previous post.

Two days ago, I performed an update while trying to install some PHP packages. Initially, everything worked fine after the update. However, when I booted up my system yesterday, I encountered an error.

During my debugging process, I suspected that the issue might be related to the updated kernel, so I attempted to revert to the previous version. I’m not very experienced with these types of issues and have been relying on online searches for guidance, which might have caused further complications. I also tried reinstalling bootctl, but that didn’t resolve the issue either.

Thank you for any help or suggestions you can provide!

If you have questions you should always come in here and ask. That is why we have the forums. We want you to have the best Linux Experience you can. Being new is the time to ask before doing. To many people try to “self diagnose” when they have no experience for doing so.

what is this error? this seems to be the start of your issue.

Without knowing everything you have done its going to be more difficult to trouble shoot.

With the error i meant the: Systems-boot: Assertion ‘BS->AllocatePages(type, memory_type, n_pages, &addr) == EFI_SUCCESS’ failed at …/systemd/src/boot/efi/util.h:77@xmalloc_pages, halting.

That I got on boot.

I have no experience and no solution myself, but it seems you are not the only one coming across this:

1 Like

As @thefrog suggested you would have been better off posting the exact error message when it happened along with the hardware output of your system using the proper command before attempting to fix something you’re not even sure what the issue is and what caused it. Someone may have been able to guide you to an easy solution. I know there has been a newer systemd package recently. From the log.

[2024-10-30T12:53:03+0100] [ALPM] upgraded systemd-libs (256.6-1 -> 256.7-1)
1 Like

Would it be smart to go back one version of systemd?

I’m not sure since you have done a bunch of other things but i guess you could try if you arch-chroot and see. :person_shrugging:

1 Like

tried it but unfortunately didnt fix it.