Grub Serial Menu in virsh console

@Patrick @Patrick_mobile

Tested and confirmed. Modifying the /etc/default/grub like below makes a grub menu appear during virsh console boot now.

# Kernel console on both serial and kvm/local console
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8 rootdelay=60"
# Show grub menu on both serial and kvm/local console
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"
1 Like

Excellent. This might also help Whonix Host (when that progresses). When booting Whonix Host from iso (live mode) or installed in live mode, a script might instruct the VMs to boot in live too.

1 Like

Will add to serial-console-enable package.

Seems unrelated. Works without too?

HulaHoop via Whonix Forum:

115200n8

–speed=115200

How is speed during console output generally? Worth experimenting with
these parameters?

1 Like

Yeah should work. Its there to give a user enough time (10s) to select grub options. Let’s keep it.

1 Like

Normal. I wouldn’t change it becuase it seems to be used everywhere when I looked this feature up.

1 Like

HulaHoop via Whonix Forum:

Yeah should work. Its there to give a user enough time (10s) to select grub options. Let’s keep it.

No, rootdelay is for a kernel parameter for waiting for the root device,
web research says.

grub timeout is a separate configuration option.

1 Like