Introduction
Just the other day I updated all my packages through yay -Syu
(like pacman -Syu
but also updates aur packages).
And after a reboot, it entered a boot loop…
I believe this had happened to most arch users, and most of the time its just because we broke the dependencies of some packages after the upgrade.
So here’s how I saved boot failure after yay -Syu
.
Manually boot from grub (optional)
follow this guide1 to boot your linux from grub (generates log).
The grub command line can also be entered from your bootable usb drive.
|
|
chroot to your system
manjaro-chroot is provide in manjaro-tools-base
package, and is already installed in your live system.
|
|
check your boot log
|
|
fix any problems
find any suspicious errors in the boot log, and search it on the web, see how to fix them.
for me, a package from aur was causing the problem, and I tried to fix it, but no luck.
So I just uninstalled it!
reboot
success!