Monday, March 23, 2026

Re: active console question

22.03.2026 23:46, Brian Brombacher пишет:
> You can spawn a login prompt on com0 through /etc/ttys and avoid changing boot.conf. Enable tty00 in /etc/ttys.
>
> That's the best dual support you'll get.
>
i'm afraid, this will not help me to fix filesystem errors, which i get
time to time because of power outage.

it's the main reason i wanted second console.

>> On Mar 22, 2026, at 3:48 PM, Stuart Henderson <stu.lists@spacehopper.org> wrote:
>>
>> On 2026-03-22, Andrew Daugherity <andrew.daugherity@gmail.com> wrote:
>>>> I use
>>>>
>>>> ~ $ cat /etc/boot.conf
>>>> stty com0 115200
>>>> set tty com0
>>>> ~ $
>>> You can configure a serial console in boot.conf, and switch back to
>>> the default local console by holding the Ctrl during bootup to skip
>>> loading the conf file (on i386 & amd64 at least, not sure about other
>>> arches). From boot(8):
>>>
>>> boot.conf processing can be skipped, and the automatic boot
>>> cancelled, by holding down either Control key as boot starts.
>> You've got to be very lucky with timing on some machines.
>>
>>
>> --
>> Please keep replies on the mailing list.
>>

No comments:

Post a Comment