Proxmox Host Console over Serial Port

M_D

New Member
Dec 21, 2025
15
2
3
I have a Proxmox server with a single discrete GPU, and the CPU does not have an iGPU - the only video output from the box is via the discrete GPU.

And I want to pass it through to a VM. Which leaves me in the precarious position that if, for example, I misconfigured Proxmox in the Web UI, and lost network access - I cannot access the PVE console, because the only system video output is passed through to a VM, and am therefore stuck - which is a situation I would rather avoid.

However, my server does have a DB9 serial port - since the PVE console is text-based, is there a way to configure Proxmox to run it's console on the serial port? I have found various guides about adding a serial port to a VM (not what I want), and one other guide referencing grub on the host - but I think I am using systemd-boot, not grub for PVE host.

Is this possible?
 
Ja, es ist definitiv möglich, die Proxmox-Konsole so zu konfigurieren, dass sie an einer seriellen Schnittstelle ausgeführt wird. Da Sie systemd-boot verwenden, unterscheidet sich der Vorgang geringfügig von GRUB, kann jedoch weiterhin konfiguriert werden. Sie müssen die Kernelparameter ändern, um die Ausgabe der seriellen Konsole zu aktivieren. Hier ist eine Schritt-für-Schritt-Anleitung:Systemd-Boot-Konfiguration bearbeiten:Suchen Sie die EFI-Systempartition Ihres Proxmox-Hosts (normalerweise / boot / efi) und öffnen Sie die entsprechende Loader-Konfigurationsdatei. Dies befindet sich normalerweise in /boot/efi/loader/entries .Passen Sie die Kernel-Optionen an:Fügen Sie die folgenden Parameter am Ende der Kernel-Befehlszeile hinzu:konsole=tty0 Konsole=ttyS0,9600n8Ersetzen Sie ttyS0 durch das für Ihr Setup geeignete serielle Gerät (z. B. ttyS1) und aktualisieren Sie die Baudrate (in diesem Fall 9600), um sie an Ihre seriellen Verbindungseinstellungen anzupassen.Serielle Einstellungen in Proxmox aktualisieren:Um sicherzustellen, dass die Proxmox-Konsole über die serielle Schnittstelle erreichbar ist, müssen Sie auch die Konfiguration von / etc/issue anpassen, um die Anmeldeaufforderung an die serielle Konsole auszugeben. Hängen Sie Snatch Casino weiterklicken so etwas an Ihren Getty-Service für den jeweiligen Port an.Neustart und Test:Starten Sie nach dem Speichern der Änderungen Ihren Proxmox-Host neu. Sie sollten jetzt die Konsolenausgabe an Ihrer seriellen Schnittstelle sehen. Verwenden Sie ein Tool wie Screen oder Minicom auf einem angeschlossenen Computer, um es zu überwachen.Dieser Ansatz sollte die Proxmox-Konsole an der seriellen Schnittstelle voll funktionsfähig machen. Wenn Sie auf Probleme stoßen oder Anpassungen benötigen, überprüfen Sie die Hardwarekompatibilität und die Baudrateneinstellungen. Fühlen Sie sich frei zu erreichen, wenn etwas unklar ist!
 
Last edited:
Thank you for the instructions! I will certainly give this a try when I have some time.

Just a couple of questions to clarify:

- I assume this configuration won't remove the standard video output to the GPU - E.G if I mess up the serial console, I still have video output (and of course network access)?

- When you say "Append something like this to your getty service for the specific port", what are you saying I should append to the getty service exactly?

- Finally, I am using dual SSD's for the Proxmox OS, in a ZFS RAID1 mirror. I believe the EFI partition is sync'd between the disks, so if one fails, it will still boot (although I have yet to test this on this host). If I edit the /boot/efi/loader/entries file, will the changes automatically propagate to the mirror EFI partition on the other disk, or must this be done manually?