Getting logs might be simple. To do so, boot into a live environment, from there enter a
chroot environment, and obtain the logs from there:
How to chroot
Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.
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
- 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
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.
chroot environment, run thee following to obtain the logs:
journalctl --boot=-1 --priority=warning..err --no-pager
--boot=-1 will limit all output to messages from the previous boot;
--priority=warning..err limits the messages to be only warnings and errors; and
--no-pager formats the output nicely for use here, on the forum.
When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:
Or three (3) tilde signs, like this:
This will just cause it to be rendered like this:
eget nisl elit id
arcu erat varius
cursus sem quis eros.
Instead of like this:
Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.
Thereby increasing legibility thus making it easier for those trying to provide assistance.
For more information, please see:
If your language isn’t English, please prepend any and all terminal commands with
LC_ALL=C. For example:
This will just cause the terminal output to be in English, making it easier to understand and debug.