Bugzilla – Bug 1194891
yast2 should configure grub to use serial console in addition
Last modified: 2022-01-19 20:19:36 UTC
When installing with a terminal command line of eg "console=ttyS0 console=tty" the kernel outputs to ttyS0 as well as the regular graphics console. The latter is the default and primary output. The setting is carried over to the installed system where systemd automatically launches a getty on ttyS0 then.
What's missing is grub. Grub too can output to the graphical console as well as serial at the same time. Yast only looks at the last console= setting though so misses to configure grub for multiple outputs:
If several console parameters are present, grub can be configured to also have multiple outputs, like this:
Ludwig - if you check bug why we use just the last one, it is because of https://bugzilla.suse.com/show_bug.cgi?id=870514#c2 So does it mean it is no longer valid and we should check for any possible serial console?
The original issue might have been that yast configured grub to *exclusively* listen on ttyS0. What I'm suggesting is to have grub do *both* serial and graphical at the same time. Grub accepts input from both channels at the same time. Ie that would sill allow openQA to move around in the graphical menu and edit the command line there.
OK, then it makes sense for me to properly configure grub terminal and set serial console in grub.