July 26, 2022

Serial Terminal in Proxmox

Serial terminal Configuration on the host Add a virtual serial port to the VM qm set <VMID> -serial0 socket (or) echo "serial0: socket" >> /etc/pve/qemu-server/<VMID>.conf Configuration on the guest Configure the terminal Enable a serial console systemctl enable serial-getty@ttyS0.service systemctl start serial-getty@ttyS0.service Instruct grub2 to send the boot messages on the serial port by editing /etc/default/grub and adding: GRUB_CMDLINE_LINUX="quiet console=tty0 console=ttyS0,115200" run update-grub afterward. Allow password-less root login on the serial console TIPS Read more

Powered by Hugo & Kiss.