How to check errors on boot?

Issues related to applications and software problems and general support
Post Reply
Woistmeinauto
Posts: 15
Joined: 2020/08/04 06:45:47

How to check errors on boot?

Post by Woistmeinauto » 2020/08/06 07:27:04

As i stated on my other topic i get emergency shell at boot.
Which commands do i need to run to see a full log and also which boot parameters?

I remove quiet and when i get to emergency shell i run
journalctl --catalog --boot
is there anything else i can do?

Thraex
Posts: 45
Joined: 2019/05/14 19:50:28

Re: How to check errors on boot?

Post by Thraex » 2020/08/06 12:07:56

I usually check dmesg and logs in /var/log/, or run journalctl with various flags. Mostly I start with what changed before the system booted to emergency so I have a general idea of where to look though.

User avatar
TrevorH
Forum Moderator
Posts: 29985
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to check errors on boot?

Post by TrevorH » 2020/08/06 12:13:22

If you're dropped to emergency mode, before you do anything else, use Shift-PgUp to scroll up the console output to see what the error(s) were that caused the problem. If you switch away from the console then you lose the ability to scroll back up the output.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 8 - General Support”