OPNsense Forum

English Forums => General Discussion => Topic started by: spetrillo on April 07, 2022, 05:18:46 PM

Title: Boot Messages - Log File?
Post by: spetrillo on April 07, 2022, 05:18:46 PM
Morning all,

When my firewall boots up I see some messages that are highlighted but it scrolls way too quickly for me to make sense out of these. Where can I find the boot messages to review?

Thanks,
Steve
Title: Re: Boot Messages - Log File?
Post by: Patrick M. Hausen on April 07, 2022, 05:53:41 PM
Type ˋdmesgˋ at a command prompt.
Title: Re: Boot Messages - Log File?
Post by: gege29 on July 26, 2023, 11:33:29 AM
Sorry to "resurrect" this thread but I just wanted to add my 5cents as I had the same need and dmesg didn't show all the messages that happen on main console upon boot, rather only kernel messages.

For example you may want to see the scripts that are executed upon boot from /usr/local/etc/rc.syshook.d/<subdir>/

Perhaps somebody has a better approach but I could only check that doing Scroll Lock on main console and pageup/pagedown. 

Hope this helps!
Title: Re: Boot Messages - Log File?
Post by: franco on July 27, 2023, 09:40:49 AM
Nowadays on 23.1.x we do have kernel messages in the system log which also adds the messages printed by init during bootup. We also have a boot log which records the internal call stack of our subsystems during bootup.


Cheers,
Franco