CXM's land

Pve Virtual Serial Config

  • Add virtual serial to QEMU config through host console
1
2
# id in your pve panel
qm set [id] -serial0 socket
  • Enable serial forward (notice the Wiki page show /etc/init not use for systemd anymore since modern linux )
1
systemctl enable --now [email protected]
  • Edit grub
1
2
# in /etc/default/grub change the GRUB_CMDLINE_LINUX parameter to
GRUB_CMDLINE_LINUX="quiet console=tty0 console=ttyS0,115200"
  • Update grub config
1
2
3
4
# debian based
update-grub
# redhat based
grub2-mkconfig --output=/boot/grub2/grub.cfg
  • Result

Tested on Proxmox VE 8.2.2