Console stopped during installation (redirected to VGA?)

Started by nydidric, January 26, 2024, 06:40:31 AM

Previous topic - Next topic
Quote from: Patrick M. Hausen on May 15, 2024, 05:09:29 PM
Can you install, though? What happens once you explicitly enable the serial console in the UI?

install works via VGA. After install and before all of my tests, I did Settings -> Administration -> Console1: EFI and Console2: Serial.

Or is there another setting in the UI?

No, that is exactly the setting.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I think the "white" output on the VGA display is all related to hardware initialization as where the "grey" output is the shell? If yes, is there some way to route the shell output?

Sorry, no idea. What happens if you set console 1: serial, console 2: none?

I have no experience with "EFI" consoles - at least not to my knowledge. I know VGA and serial and that is that.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

May 16, 2024, 03:19:32 PM #19 Last Edit: May 16, 2024, 04:33:09 PM by Hobby-Student
QuoteWhat happens if you set console 1: serial, console 2: none?
can't test it now, but I did test it and I think the output stopped at
Dual Console: Serial Primary, Video Secondary

Some googling directed me to /etc/ttys needs something like this - with no clue if this is compatible to opnsense in the current version:
ttyu0   "/usr/libexec/getty bootupcli"  cons25  on     secure

perhaps it's not ttyu0 but ttyv0?! Will try as soon as possible.

honestly, this one was easy to solve, but hard to find everything :o

Somewhere I read (I think it was the FreeBSD forum) something about "BSD can't connect to serial console if booting UEFI and not disabling Legacy redirection". The BIOS can't disable Legacy output, so the only option is to not boot UEFI.


OPNsense configured with 1 console --> Serial

BIOS:
Enabling Out-of-Band Console Redirection
CSM Module --> everything set to "Legacy (only)"

boot loader now configures itself to console Serial (the boot menu item 5)

VGA is going blank after boot initializes (you know, after the boot loader menu) and console is printing all output and doesn't hang.

@nydidric can you please test this and mark the thread as solved?