The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 5,602     Votes:  0     ✅ Solution
Tags: boot   startup   19.10   log  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1202642
Title: Where is the output from startup scripts stored in Ubuntu 19.10?
ID: /2020/01/13/Where-is-the-output-from-startup-scripts-stored-in-Ubuntu-19.10_
Created: January 13, 2020    Edited:  January 19, 2020
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


The problem has been around since Ubuntu 16.04:

Answers there also recommend journalctl but buried in comments:

I confirm that when configuring GRUB_CMDLINE_LINUX_DEFAULT="" in
/etc/default/grub than boot.log is not written. When using
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" than boot.log is again
written. I use Ubuntu 19.04. – adrhc Jun 9 ‘19 at 11:21

When I first started using 16.04 I recall /var/log/boot.log was empty but I didn’t care enough to investigate. I looked after reading this question and now it is populated. There was a bug that has since been fixed:

There may have been a bug regression in 19.10 or the sysvinit package is not installed. On my 16.04 installation I have this:

$ apt list | grep sysv | grep installed

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    sysv-rc/xenial,xenial,now 2.88dsf-59.3ubuntu2 all [installed]
    sysvinit-utils/xenial,now 2.88dsf-59.3ubuntu2 amd64 [installed]

To those that do not know, the advantage of /var/log/boot.log over journalctl -b is the color formatting that mirrors the console boot messages:

boot.log.png

⇧ How NVIDIA On-Demand option works in NVIDIA X Server Settings? Refresh rate of 60 not available for 4K resolution  ⇩