You are not logged in.

#1 2022-11-07 18:20:39

selnunsne
Member
Registered: 2022-11-07
Posts: 3

[SOLVED] How to view logs from early userspace

I am getting some large and scary message at some point in early userspace but it scrolls off-screen too quickly for me to see it.

How can I view the logs from early userspace to see what the error was?

Last edited by selnunsne (2022-11-08 23:03:22)

Offline

#2 2022-11-07 18:34:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,900

Re: [SOLVED] How to view logs from early userspace

Does your system have a good old fashioned serial port?  If so, you can set up a serial terminal. https://wiki.archlinux.org/title/workin … al_console and capture the data with a separate computer.

Or, grab your phone and use the camera to record it.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-11-07 20:15:34

selnunsne
Member
Registered: 2022-11-07
Posts: 3

Re: [SOLVED] How to view logs from early userspace

It's a laptop so I don't think so. It has USB of course. Could I use my Android phone as the serial terminal?

Camera might work if I can pick out the frame in a video.

Thanks for the hints.

Offline

#4 2022-11-08 23:02:58

selnunsne
Member
Registered: 2022-11-07
Posts: 3

Re: [SOLVED] How to view logs from early userspace

Phone camera worked. Something about the root not being mounted rw. I fixed it.

Thanks for the suggestion. Marking solved. smile

Offline

#5 2022-11-11 03:57:49

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 168

Re: [SOLVED] How to view logs from early userspace

You can pass "rd.log" to kernel command line and see early logs in journal and dmesg. See mkinitcpio variables.

Offline

Board footer

Powered by FluxBB