Graphic daemon

I got FreeBSD 15.0-CURRENT. It opens the login screen in text mode but sometimes before the login screen was graphic. I want to keep it graphic. My laptop is a lenovo T420.
 
This is probably not particularly related to 15-CURRENT but likely to the fact that from 14.2-RELEASE upwards (stable/14, main (CURRENT), including stable/13) the console is text only mode when legacy BIOS.


What does sysctl machdep.bootmethod show?

If BIOS, it can be reverted to graphics mode by undoing the changes and
Code:
 # cd /usr/src/stand
 # make  && make install
 
Last edited:
I will install STABLE. Sorry.
stable/13 hasn't the modification merged, yet. From the commit log
This should be merged back into stable/14 and stable/13 so it's in the
next release for each of these. That way we have only one release (13.4)
with the other defaults.

stable/14, 14.2-RELEASE, 15.0-CURRENT are text only, no graphics in console, unless a custom boot loader is used.
 
But the red daemon was real.
It's gone.
The red daemon (FreeBSD logo) graphics version was present since 14 I believe, then the FreeBSD developers decided to remove graphics from legacy BIOS loader on 14.2 to make room for GZIP and BZIP2 compression support.

However, you can have it back. Populate /usr/src, apply below patch (or edit manually)
Diff:
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 22373f8c7af1..7270b928d1c5 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -129,7 +129,6 @@ __DEFAULT_YES_OPTIONS = \
     LLD_IS_LD \
     LLVM_COV \
     LLVM_CXXFILT \
-    LOADER_BIOS_TEXTONLY \
     LOADER_GELI \
     LOADER_KBOOT \
     LOADER_LUA \
@@ -212,6 +211,7 @@ __DEFAULT_NO_OPTIONS = \
     LLVM_ASSERTIONS \
     LLVM_BINUTILS \
     LLVM_FULL_DEBUGINFO \
+    LOADER_BIOS_TEXTONLY \
     MALLOC_PRODUCTION \
     OFED_EXTRA \
     OPENLDAP \
diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile
index c2037772fc76..a4aa3a3c4d45 100644
--- a/stand/i386/loader/Makefile
+++ b/stand/i386/loader/Makefile
@@ -7,8 +7,8 @@ LOADER_CD9660_SUPPORT?= yes
 LOADER_EXT2FS_SUPPORT?=        no
 LOADER_MSDOS_SUPPORT?= no
 LOADER_UFS_SUPPORT?=   yes
-LOADER_GZIP_SUPPORT?=  yes
-LOADER_BZIP2_SUPPORT?= yes
+LOADER_GZIP_SUPPORT?=  no
+LOADER_BZIP2_SUPPORT?= no

 .include <bsd.init.mk>
Code:
 # cd /usr/src/stand
 # make && make install

The following image is a 14.2-RELEASE VirtualBox VM in BIOS mode with the modified code installed, showing from the loader prompt the output of /var/run/os-release and VESA BIOS VBE frame buffer information:

142-graphics_console.png
 
Back
Top