how to hide boot messages in background and replace it with termatrix digital rain in freebsd14.2 ?

dear all :
i have idea, when freebsd14.2 boot, much more messages will appear, can we use termatrix digital rain to replace it ,and hide boot messages ?
when system boot ready and prompt login . i can press "ctl +c" to terminate termatrix program , then login. thanks.
 
Theoretically yes, reality probably not.

There'd need to be some type of application created like freedesktop's Plymouth that can be loaded supper early in Stage Three. It would need to interact with graphics without graphics drivers loaded and "hold" it until user interaction occurred. Seems like a lot of work for not really much gain.
 
I agree with lethedata.
Think about it:
You want to cover important information about the crucial boot process, just for some pure optical and not only completely useless but even contraproductive fiddle-faddle.

Even if I cannot read that fast as the bootmessages fly by, at least I get a feeling if everything is as usual, or I'd better take a closer look at dmesg.

Maybe you're used to such by commercial systems like Windows, or MacOS. But try to figure out, why they started it.

I can imagine a talk in early development departements somehow like that:
"What do we do with boot messages?"
"What do you mean?"
"Well, if our customers see those we'll get lots of support inquiries and complains by confused users because of their system might be broken."
"Oh, come on! Those messages show directly what was successfully loaded...-"
"- yeah, and a buttload of error messages because of all the not detected hardware within a general all purpose boot process."
"Yes, of course. But they know, what kind of hardware they have, and what not."
"Dude, most of our customers cannot tell a printer from a disk drive!"
"Good point. So, what to do?"
"....hmmm..."
"Cover it! Place some nice colorful hood over it, so they are not seen."
"Capital idea! It's blank, makes an clean impression of solid, and 'you don't need to care'."
"We could show our logo..."
"...or blather gassy on it..."
 
In /boot/loader.conf you can set:

boot_verbose="YES" for MORE boot messages
boot_mute="YES" for LESS boot Messages

and

autoboot_delay=3 for 3 seconds

in /etc/rc.conf you can set :

rc_startmsgs="NO"


this will deliver you from experiencing more than 70% of the boot messages,
and you will than need to investigate /var/run/dmesg.boot log and or /var/log/messages log to see them .
 
Hi,

Hm... I know it's not what you're asking for, but this is what I would do to achieve something inspired by your question...
Beware : playing with boot and login processes can be dangerous and make your computer unsusable
  • add some colors to boot process messages :
Edit /boot/loader.conf.local and add :
Code:
kern.vt.color.0.rgb="#000000"
kern.vt.color.15.rgb="0,255,0"
for green text
  • set up tty autologin :
Create a new entry in /etc/gettytab (replace yourusername ):

Code:
Pcal|Pcal console:\
  :al=yourusername:ht:np:sp#9600:

Tell the system to use it for tty0 in /etc/ttys :

Code:
ttyv0 "/usr/libexec/getty Pcal" xterm onifexists secure
  • use your shell rc file to start termatrix or cmatrix on startup when X is not running, and lock the terminal for security reason with vlock :
Mine is .zshrc :

Code:
XPID=`/usr/bin/pgrep Xorg`
if [[ -z $XPID ]]
then
termatrix && vlock
else
echo ""
fi

So the computer boots, you see green and white boot messages, you are automatically logged in on tty0 and it starts termatrix, then you hit Q or Ctrl+C, type your password and manually start X from tty0...

my 2cts
Cheers
 
Hi,

Hm... I know it's not what you're asking for, but this is what I would do to achieve something inspired by your question...
Beware : playing with boot and login processes can be dangerous and make your computer unsusable
  • add some colors to boot process messages :
Edit /boot/loader.conf.local and add :
Code:
kern.vt.color.0.rgb="#000000"
kern.vt.color.15.rgb="0,255,0"
for green text
  • set up tty autologin :
Create a new entry in /etc/gettytab (replace yourusername ):

Code:
Pcal|Pcal console:\
  :al=yourusername:ht:np:sp#9600:

Tell the system to use it for tty0 in /etc/ttys :

Code:
ttyv0 "/usr/libexec/getty Pcal" xterm onifexists secure
  • use your shell rc file to start termatrix or cmatrix on startup when X is not running, and lock the terminal for security reason with vlock :
Mine is .zshrc :

Code:
XPID=`/usr/bin/pgrep Xorg`
if [[ -z $XPID ]]
then
termatrix && vlock
else
echo ""
fi

So the computer boots, you see green and white boot messages, you are automatically logged in on tty0 and it starts termatrix, then you hit Q or Ctrl+C, type your password and manually start X from tty0...

my 2cts
Cheers
Dear

Fuzzbox

: thanks for your help . study it. thanks. have a good day ...thanks for all people ..
 
i have idea, when freebsd14.2 boot, much more messages will appear, can we use termatrix digital rain to replace it ,and hide boot messages ?
Yes, and no... Yes, the kernel actually supports so called "slash screens" which can fully cover up the boot process. You can see as much in the kernel build configuration:

GENERIC said:
# syscons is the legacy console driver, resembling an SCO console
device vga # VGA video card driver
device splash # Splash screen and screen saver support
device sc
See? So if we then check /boot/defaults/loader.conf we come across this tidbit:
Code:
###  Splash screen configuration  ############################                                                                splash_bmp_load="NO"            # Set this to YES for bmp splash screen!
 splash_pcx_load="NO"            # Set this to YES for pcx splash screen!
 splash_txt_load="NO"            # Set this to YES for TheDraw splash screen!
 vesa_load="NO"                  # Set this to YES to load the vesa module
 bitmap_load="NO"                # Set this to YES if you want splash screen!
 bitmap_name="splash.bmp"        # Set this to the name of the file
 bitmap_type="splash_image_data" # and place it on the module_path
 splash="/boot/images/freebsd-logo-rev.png"  # Set boot_mute=YES to load it
And if I then check my backup kernel... lo and behold:
Code:
peter@bsd:/boot/kernel.bck $ ls *splash*
splash_bmp.ko   splash_pcx.ko   splash_txt.ko
peter@bsd:/boot/kernel.bck $
These are the actual kernel modules that could make this happen.

Now, the bad news is that you're looking for an animation and as far as I'm aware BMP and PCX are fully static. However... mention of "TheDraw" up there also caught my attention because "back in the day" (way, way back) I used that critter to make ANSI drawings & animations for my BBS. I looked it up but couldn't find it in the ports collection, but I did dig up editors/tetradraw... and hold your horses: graphics/duhdraw which, as I suspected, is indeed a successor.

I'm not 100% sure, but theoretically (!) it should be possible to set up an ANSI animation of some sorts and have that play out during boot time. The kernel most definitely supports this, as can be seen above.

Hope this can help!
 
Yes, and no... Yes, the kernel actually supports so called "slash screens" which can fully cover up the boot process. You can see as much in the kernel build configuration:


See? So if we then check /boot/defaults/loader.conf we come across this tidbit:
Code:
###  Splash screen configuration  ############################                                                                splash_bmp_load="NO"            # Set this to YES for bmp splash screen!
 splash_pcx_load="NO"            # Set this to YES for pcx splash screen!
 splash_txt_load="NO"            # Set this to YES for TheDraw splash screen!
 vesa_load="NO"                  # Set this to YES to load the vesa module
 bitmap_load="NO"                # Set this to YES if you want splash screen!
 bitmap_name="splash.bmp"        # Set this to the name of the file
 bitmap_type="splash_image_data" # and place it on the module_path
 splash="/boot/images/freebsd-logo-rev.png"  # Set boot_mute=YES to load it
And if I then check my backup kernel... lo and behold:
Code:
peter@bsd:/boot/kernel.bck $ ls *splash*
splash_bmp.ko   splash_pcx.ko   splash_txt.ko
peter@bsd:/boot/kernel.bck $
These are the actual kernel modules that could make this happen.

Now, the bad news is that you're looking for an animation and as far as I'm aware BMP and PCX are fully static. However... mention of "TheDraw" up there also caught my attention because "back in the day" (way, way back) I used that critter to make ANSI drawings & animations for my BBS. I looked it up but couldn't find it in the ports collection, but I did dig up editors/tetradraw... and hold your horses: graphics/duhdraw which, as I suspected, is indeed a successor.

I'm not 100% sure, but theoretically (!) it should be possible to set up an ANSI animation of some sorts and have that play out during boot time. The kernel most definitely supports this, as can be seen above.

Hope this can help!
dear

ShelLuser: thanks. now i have used freebsd14.2 . so we used VT , so splash has been disable. thanks. study...​

 
Back
Top