serial terminal on OVMF and SystemD Boot

pakyrs

Active Member
Jan 12, 2020
22
0
41
45
Hi All,

Does anyone know how to configure the serial terminal to work with SystemD Boot? I am testing an Arch VM on OVMF/UEFI and the new Arch scripts default to a SystemD boot EFI loader.

Basically, I would need something to take action on the emulated serial TTY, like so in GRUB:

sed -i 's/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="quiet console=tty0 console=ttyS0,115200"/' /etc/default/grub

Any help is pretty much appreciated, I checked the Proxmox wiki (which only talks about GRUB) and didn't see anything on the forum about it.
https://pve.proxmox.com/wiki/Serial_Terminal
https://help.ubuntu.com/community/SerialConsoleHowto#Server_Setup

Many thanks!!

Pasquale
 
Does anyone know how to configure the serial terminal to work with SystemD Boot? I am testing an Arch VM on OVMF/UEFI and the new Arch scripts default to a SystemD boot EFI loader.
haven't checked the arch-docs on the topic - but at least on debian - the kernel commandline is read from /etc/kernel/cmdline - see `man 8 kernel-install`

I hope this helps