Add serial adapter to log to file?

Coldfirex

New Member
Sep 14, 2023
4
1
3
Howdy,
In Vmware there is a way to add a serial adapter to a VM and have it output data to a file. Is this possible through Proxmox? I just see how to add a serial adapter, but not configure it to save to a file.
This is required for debugging an OS that outputs to serial for its syslog.
Thanks!
 
You can do it via extended -args option:

qm set $VMID -args "-chardev file,id=char0,mux=on,path=/tmp/serial.$VMID.log,signal=off -serial chardev:char0"
That is one way, yes. There is also the option to add serial0 via the GUI which uses a socket. You can then access it via qm terminal <vmid> and do what you want with it.
 
Thanks all. I am very new to Proxmox.
Something like this screenshot from ESXi's GUI would be super awesome.Screenshot 2023-09-14 142630.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!