-
Edit the /etc/default/grub file. Append the console=ttyS0 statement to the grub config file at the end of the GRUB_CMDLINE_LINUX line: console=tty0 console=ttyS0,115200
-
Create the grub.cfg file: BIOS: grub2-mkconfig -o /boot/grub2/grub.cfg EFI: grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
-
Enable a getty login service for ttyS0 with the systemctl command: systemctl enable [email protected]
-
Add a Serial port (serial0) to the VM in the "Hardware" tab.
-
Shut down and start the server back up
Last active
October 22, 2024 18:40
-
-
Save Oddly/efdd7bb9dba8cb85d48d28a761f8eef2 to your computer and use it in GitHub Desktop.
Setup a tty on Debian VM on Proxmox for xterm.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment