Update Question 11.18 (install-splash):

- Replace answer with a link to the recently added "Boot Time Splash
  Screens" section of the FreeBSD Handbook
This commit is contained in:
Gabor Pali 2008-12-07 20:44:01 +00:00
parent 65a280fcb0
commit 540f749b26
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=33373

View file

@ -7426,49 +7426,10 @@ UserConfig&gt; <userinput>quit</userinput></screen>
</question>
<answer>
<para>&os; have a feature to allow the display of
<quote>splash</quote> screens during the boot messages. The
splash screens currently must be a 256 color bitmap
(<filename>*.BMP</filename>) or ZSoft PCX
(<filename>*.PCX</filename>) file. In addition, they must
have a resolution of 320x200 or less to work on standard VGA
adapters. If you compile VESA support into your kernel,
then you can use larger bitmaps up to 1024x768. The actual
VESA support can either be compiled directly into the kernel
with the <literal>VESA</literal> kernel config option or by
loading the VESA kld module during bootup.</para>
<para>To use a splash screen, you need to modify the startup
files that control the boot process for &os;.</para>
<para>You need to create a
<filename>/boot/loader.rc</filename> file that contains the
following lines:</para>
<programlisting>include /boot/loader.4th
start</programlisting>
<para>and a <filename>/boot/loader.conf</filename> that
contains the following:</para>
<programlisting>splash_bmp_load="YES"
bitmap_load="YES"</programlisting>
<para>This assumes you are using
<filename>/boot/splash.bmp</filename> for your splash
screen. If you would rather use a PCX file, copy it to
<filename>/boot/splash.pcx</filename>, create a
<filename>/boot/loader.rc</filename> as instructed above,
and create a <filename>/boot/loader.conf</filename> that
contains:</para>
<programlisting>splash_pcx_load="YES"
bitmap_load="YES"
bitmap_name="/boot/splash.pcx"</programlisting>
<para>Now all you need is a splash screen. For that you can
surf on over to the gallery at <ulink
url="http://www.baldwin.cx/splash/"></ulink>.</para>
<para>The detailed answer for this question can be found in
the <ulink
url="&url.books.handbook;/boot-blocks.html#BOOT-SPLASH">Boot Time Splash Screens</ulink>
section of the &os; Handbook.</para>
</answer>
</qandaentry>