Saturday, August 29, 2020

Re: Can I boot without GPU ("headless")?

On 28/08/2020 20:27, Henry W. Peterson wrote:

>
> Could I be booting the system had I said yes (without actually using the port, again, I would use ssh)?
>
> If so, can I change this after installation?
>
> If not, is there anything I can do to be able to boot without the graphics card?
>
> Thank you.
>


Not 100% sure if this answers you question, but I boot a qemu instance
of OpenBSD/amd64 6.6 with serial console enabled:

-daemonize -display none -nodefaults \
-serial mon:telnet:127.0.0.1:6666,server,nowait \

and vga driver disabled:

- vga none -nodefaults \

And then I have this in boot.conf

$ cat /etc/boot.conf
stty com0 9600
set tty com0

and ttys:

$ grep tty00 /etc/ttys
tty00 "/usr/libexec/getty std.9600" vt220 on secure


I can then access the VM via either telnet (to the virtualized serial
console) or ssh.


--
Ottavio Caruso

No comments:

Post a Comment