Project

General

Profile

Actions

Bug #11776

closed

Overwrite /boot.config and /boot/loader.conf when you use a serial console pfsense installation.

Added by André Cirne over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hardware / Drivers
Target version:
-
Start date:
04/03/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
All

Description

Function setup_loader_settings (https://github.com/pfsense/pfsense/blob/8b424bca02372246210fba3cf36045a704c11ae3/src/etc/inc/pfsense-utils.inc#L1224) setups /boot.config and /boot/loader.conf according to the hardware in use. It uses a list of known hardware to know if it needs to activate "vidconsole" and "comconsole" or only "comconsole". By default, if it's unknown hardware, this function enables "vidconsole" and "comconsole".

This function will overwrite any change that you make to the files, including adding "vidconsole" and "comconsole" when you use a serial console pfsense installation. So, if your device doesn't support "vidconsole" and it isn't specified in the setup_loader_settings, pfsense won't boot.

Pfsense should have a way to override this behavior, if necessary, to support a bigger number of devices.

Actions

Also available in: Atom PDF