TTL Console Setup
- In Proxmox GUI change display to Serial terminal 0
- add hardware in proxmox gui for serial port (0)
- edit grub
nano /etc/default/grub
Replace the following
GRUB_TERMINAL_OUTPUT="console"
with
GRUB_TERMINAL="serial console"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
Edit the line GRUB_CMDLINE_LINUX
Preconfig example
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/almalinux-swap rd.lvm.lv=almalinux/root rd.lvm.lv=almalinux/swap rhgb quiet"
add console=tty0 console=ttyS0,115200n8 to the end
console=tty0 console=ttyS0,115200n8
example
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/almalinux-swap rd.lvm.lv=almalinux/root rd.lvm.lv=almalinux/swap console=tty0 console=ttyS0,115200n8"
Its important to know we removed rhgb quiet from GRUB_CMDLINE_LINUX
Which is
rhgb= graphical boot splash — won't work without a displayquiet= hides boot messages — you'll want to see them for troubleshooting
4. Rebuld grub
grub2-mkconfig -o /boot/grub2/grub.cfg
5. Enable TTY on boot
systemctl enable serial-getty@ttyS0.service
6. Shutdown or stop the VM completely
7. Then start back up and test.