The other option would be to boot into a live environment, enter a chroot
environment from there, and inspect the last boot’s logs.
How to chroot
-
Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.
-
Write/copy/
dd
the ISO to a USB thumb drive. -
When done, boot with the above mentioned USB thumb drive into the live environment.
-
Once booted, open a terminal and enter the following command to enter the
chroot
environment:
manjaro-chroot -a
- If you have more than one Linux installation, select the correct one to use from the list provided.
When done, you should now be in the chroot
environment.
But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart.
Finding errors for specific boot
journalctl --priority=warning..crit --no-pager --boot=-1
Where:
- The
--priority=warning..err
argument limits the output to warnings and errors only; - and the
--no-pager
formats the output nicely for use here, on the forum; - the
--boot=-1
argument limits the output to log messages from the previous boot. This can be adjusted to-2
for the boot before that,-3
to the boot before that, and so on and so forth.