Re: serial console device, and installboot vs. /boot.cfg

Martin Husemann <[email protected]> Thu, 8 Feb 2024 11:34:58 +0100
Newsgroups gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
You can use consdev in /boot.cfg and it works for me (but with a different
syntax):

--8<--
consdev=com0
menu=Native amd64:boot hd0e:/netbsd
menu=Native single user:boot hd0e:/netbsd -s
menu=Native old kernel:boot hd0e:/netbsd.old
menu=Boot prompt:prompt
default=2
timeout=10
-->8--

The "consdev" command is independend from menu, otherwise you would see the
menu on the framebuffer and only switch to serial once you selected one
of the options.

You can still enable getty on ttyE0...ttyE3 (or whatever) or run xdm on
ttyE5, independant of the serial console.

For 10: there should be no relevant differences.

Martin