FreeBSD Splash Screen
2009-05-13 02:35:55来源:未知 阅读 ()
FreeBSD Splash Screen
Created: 02/21/2006
General Information
FreeBSD allows for the configuration of a splash screen to replace the text displayed while booting. Often an image is preferred over plain text. Adding a splash screen will not eliminate the text that would have been displayed while booting. This text is always available by running dmesg.
Requirements
Configuration
This guide will demonstrate the configuration changes that must be made to loader that are required for a splash screen. These changes can be made in the /etc/loader.conf or in a /etc/loader.conf.local file. This guide will use /etc/loader.conf.local for all examples.
Using a Bitmap Image
Create /boot/loader.conf.local and add a line to it that will load the vesa kernel module. This can be done as root in one command:
#
echo 'vesa_load="YES"' >> /boot/loader.conf.local
Add a second line that will load the bitmap kernel module.
#
echo 'bitmap_load="YES"' >> /boot/loader.conf.local
Add a third line that will configure the bitmap image to be loaded at start up.
#
echo 'splash_bmp_load="YES"' >> /boot/loader.conf.local
By default /boot/kernel/splash.bmp is the image that will be loaded. Copy the image to /boot/kernel/splash.bmp or this setting can be changed by specifying the path to the bitmap file using bitmap_name.
#
cp /path/to/your/image.bmp /boot/kernel/splash.bmp
- or to change the default setting -
#
echo 'bitmap_name="/path/to/your/image.bmp"' >> /boot/loader.conf.local
Test by rebooting.
Using a ZSOFT PCX Image
Create /boot/loader.conf.local and add a line to it that will loader the vesa kernel module. This can be done as root in one command:
#
echo 'vesa_load="YES"' >> /boot/loader.conf.local
Add a second line that will loader the bitmap kernel module. This is needed even though a PCX image is being used.
#
echo 'bitmap_load="YES"' >> /boot/loader.conf.local
Add a third line that will configure the PCX image to be loaded at start up.
#
echo 'splash_pcx_load="YES"' >> /boot/loader.conf.local
By default /boot/kernel/splash.bmp is the image that will be loaded. To use a PCX file the bitmap_name setting needs to be changed:
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- 提示:bad kernel: arp : 内网IP地址 is on em0 but got rep 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
- OpenBSD 4.5 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash