Re: Issues with single user mode on FreeBSD-14 and RPi4

From: Sad Clouds <cryintothebluesky_at_gmail.com>
Date: Wed, 27 Mar 2024 17:12:10 UTC
On Wed, 27 Mar 2024 17:57:15 +0100
Gian Piero Carrubba <gpiero@rm-rf.it> wrote:

> * [Wed, Mar 27, 2024 at 02:53:04PM +0000] Sad Clouds:
> >OK boot -s
> >.. kernel loads
> >Dual Console: Serial Primary, Video Secondary
> >
> >and the above is the last message, then it sits there, no login prompt,
> >no response from keyboard.
> 
> I think this should work:
> 
> OK set console=vidconsole,comconsole
> OK boot -s
> 
> Cheers,
> Gian Piero.
> 

Hello, thanks for the suggestion, but this did not help to resolve the
issue. By trial and error, I managed to resolve it by commenting out

boot_serial="YES"

from /boot/loader.conf and I now get a login prompt with "boot -s"

I copied /boot/loader.conf from the official FreeBSD RPi image. Not
sure why this setting messes things up with single user mode.

This is what my /boot/loader.conf looks like now:

hw.usb.template=3
umodem_load="YES"
# Multiple console (serial+efi gop) enabled.
boot_multicons="YES"
#boot_serial="YES"
# Disable the beastie menu and color
beastie_disable="YES"
loader_color="NO"