On Mon, 2021-03-08 at 22:47 +0000, Christopher Baines wrote: > Vincent Legoll <vincent.leg...@gmail.com> writes:
> > > often I'll be unable to SSH in > > > > Couldn't you get a console from a virtual serial port from the VM ? > > Maybe, I also want to look at getting the serial port output logged > to a file (if that's even possible). Hello, this runs a qemu image with serial output in a log file: Add to grub.cfg in the hurd image: + serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1 + terminal_input serial + terminal_output serial - multiboot /boot/gnumach.gz root=device:hd0s1 -s --crash-debug + multiboot /boot/gnumach.gz root=device:hd0s1 console=com0 -s --crash- debug Running with graphic and serial console, log file in serial.log: qemu-system-x86_64 -chardev stdio,id=char0,logfile=serial.log,signal=off -serial chardev:char0 -- enable-kvm -m 2048 hurd-cross-serial.img Note: The mailer wraps the command lines. Thanks!