Help with VM uefi settings

pinkywafer

New Member
Jul 27, 2022
2
0
1
Hi. I have a proxmox VM which works fine. At boot, it brings up a grub menu to select which OS to boot (current and previous version - for recovery in case an update fails) The usual delay times out, then first option is auto booted.
This is exactly the behaviour I want. BUT...
I want to pass a serial port through to the VM, so I've added:
Serial: /dev/ttyS0
The problem here is that if i go into the VM eufi the serial port is configured at the wrong baud rate (i need 19200) and is configured for console control and access.
As a result the VM will not auto boot as the menu timeout is interrupted by the serial port.

If I reconfigure the eufi through the menu, that boot auto-boots fine, but the settings do not persist, so I'm stuck at the moment with a choice of either let the VM auto boot, or have serial port access.
Is there any way around this. I need the VM to boot without interaction, but I want serial access as well.
Why are the eufi options i change not saved?
Thanks
 
Good question, I've only done this with legacy bios (and grub) and it works like a charm there. I don't see any point in using uefi for virtualized systems, whichs adds overhead without any benefit (for me).

Could you please share the settings you've done so far?