Change ASCII art and 'Welcome to FreeBSD' text on bootloader?

GarthaNetworking

New Member


Messages: 2

#1
Hello,
I am new to FreeBSD and I do not know a lot about it.
I would like to know how to change the ASCII art and the 'Welcome to FreeBSD' text on the bootloader.
Is there a way?

-Gabe
 

jpierri

Member

Thanks: 8
Messages: 26

#3
To show a text on console before the user has logged in you should edit /etc/issue.
It is not well documented on FreeBSD but I know it works, at least, on 11.2 and CURRENT.

figlet-example.jpg

And you can use misc/figlet to easily do something like this.
 

ShelLuser

Son of Beastie

Thanks: 1,377
Messages: 2,935

#4
I would like to know how to change the ASCII art and the 'Welcome to FreeBSD' text on the bootloader.
Look into /boot/defaults/loader.conf to see some of the options you can overrule (don't edit the file though, edit /boot/loader.conf instead).

Anyway, the logo is made through /boot/logo-xxxx.4th (the default being used is logo-orbbw.4th) whereas the text is defined in /boot/brand-fbsd.4th and the whole menu is set up in /boot/loader.4th, all of which are text files so they can be edited.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,225
Messages: 27,200

#6
Code:
dice@armitage:~ % grep "Welcome to FreeBSD" /boot/*.4th
/boot/menu.4th:         drop s" Welcome to FreeBSD"
 
Top