xcat-core icon indicating copy to clipboard operation
xcat-core copied to clipboard

GRUB_CMDLINE_LINUX missing console=tty0

Open kcgthb opened this issue 3 years ago • 1 comments

Hi!

Using xCAT 2.16.2 to deploy CentOS 7.9 stateful images, for nodes with serialport and serialspeed set in the nodehm table, I realized that the generated GRUB kernel command-line is missing the console=tty0 argument, resulting in no video output.

When the node is being deployed, the kernel correctly get both console=tty0 console=ttyS0,115200 option in the /tftpboot files, but once the node reboots, the generated /etc/default/grubfile only has:

[...]
GRUB_TERMINAL="serial console"
GRUB_SERIAL_COMMAND="serial --speed=115200"
GRUB_CMDLINE_LINUX="console=ttyS0,115200"
[...]

Is that expected? How could I make sure to have both console=tty0 and console=ttyS0,115200 setup in the GRUB configuration?

Thanks!

kcgthb avatar Jun 25 '21 23:06 kcgthb

I also encountered this problem in version 2.16.5, is there a solution for this?

iGeorgeX avatar Apr 20 '23 18:04 iGeorgeX