Skip to content

Dinit output on boot to Serial Console #422

Discussion options

You must be logged in to vote

Is there something else I need to do to make dinit startup output to both the screen and serial on boot?

This can't be done since the kernel doesn't support it. Dinit outputs to the console device (/dev/console) and the kernel outputs that to only a single device, see: https://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

From there:

The last console is the one Linux uses as the /dev/console device

Kernel messages will appear on both the first virtual terminal and the serial port. Messages from the init system and the system logger will appear only on the first serial port. This can be slightly confusing when looking at the attached monitor: the machine will appear…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fictitiousexistence
Comment options

Answer selected by fictitiousexistence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants