Kernel Newbies archive mirror
 help / color / mirror / Atom feed
From: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
To: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Boot log before panic
Date: Fri, 9 Feb 2024 15:43:07 -0800	[thread overview]
Message-ID: <CAC+QLdSWa=KFB6SViZe72j3pL5O+kFqkukp1E_FEck0xuMOjKg@mail.gmail.com> (raw)
In-Reply-To: <CAC0Z3Jvus90mKuJA6VbRe4_32yySfkZCF4qbJOqv8ZyTB3C5FA@mail.gmail.com>

How you access the log depends on the Linux distribution you're using
(whether its systemd based or not).

If you have journalctl, you can get the last boot log with

$ journalctl -k -b 1
(-k is to get get dmesg logs)

HTH,
-mandeep

On Fri, Feb 9, 2024 at 2:12 PM Abdulrasaq Lawani
<abdulrasaqolawani@gmail.com> wrote:
>
> Hi all,
>
> Please, how do I locate the logs for a system boot that had a kernel panic before booting was completed?
>
> Best regards,
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2024-02-09 23:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-09 22:11 Boot log before panic Abdulrasaq Lawani
2024-02-09 23:43 ` Mandeep Sandhu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC+QLdSWa=KFB6SViZe72j3pL5O+kFqkukp1E_FEck0xuMOjKg@mail.gmail.com' \
    --to=mandeepsandhu.chd@gmail.com \
    --cc=abdulrasaqolawani@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).