Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 11-21-2007, 06:20 AM   #1
Senior Member
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
LFS Kernel Bootsplash -- How??

Has anybody installed on their LFS system a kernel boot-splash screen? I am trying to figure out how to do it for my distro, however before I start, I want to know exactly how to proceed.

I've read several how-to documents (e.g. Slackware Linux 10.2 Bootsplash Quick Howto), however I am not certain what to do for creating the initial ramdisk image. Should I follow the instructions shown in that document, or is there more to it? I am using Grub to boot my system, and not Lilo as indicated in that particular how-to.

Please bear in mind that I have a very minimal CLFS system with only few packages installed from BLFS (X11, DHCP, cdrtools, etc). I can always install more packages, but I would prefer to keep the package-count to a minimum. The system I am using is not a desktop computer, but instead a console unit for a medical device.

Thank you in advance for your assistance.
Old 11-23-2007, 02:14 PM   #2
Senior Member
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Thanks for all of the replies.

Anyhow, here's what I found out through research:

To enable a bootsplash startup screen during the initial kernel execution:

1. Rebuild a new kernel with these options enabled:
and with this patch. The patch you need may vary. I am using kernel, and this patch worked fine.

2. Rebuild/install grub-0.97, adding the --enable-graphics configure option.

3. Build/install /sbin/splash from bootsplash-3.0.7.tar.bz2 Utility folder.
# tar xjvf bootsplash-3.0.7.tar.bz2
# cd bootsplash-3.0.7/Utility
# make splash
# cp splash /sbin
4. Obtain a bootsplash theme from this site (or any other of your choice), and install it within a “themes” directory (create it if it does not already exist):
# mkdir -p /etc/bootsplash/themes
5. Run a command similar to this:
# /sbin/splash -s -f /etc/bootsplash/themes/yourtheme/config/bootsplash-800x600.cfg > /boot/initrd.splash
6. Update Grub's menu.lst file to include a new entry, or use an existing one if you are brave:
# vi /boot/grub/menu.lst
title LinuxWithSplash root (hd0,0) kernel /boot/clfskernel- quiet rw root=/dev/hda1 vga=788 splash=silent initrd /boot/initrd.splash
7. Reboot and select the (new) entry added to the Grub menu.

a) If you already have an initrd (initial ram disk), then Step 5 above will not work for you. You will need to find an alternate way to append to your existing initrd the data necessary to kickstart the bootsplash.

b) Additional support will be needed if you require a progress bar within your theme. This support needs to be added (somehow) to the start up scripts in /etc/rc.d/init.d. If you figure this out, please let me know how!

Last edited by dwhitney67; 11-23-2007 at 02:23 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bootsplash with kernel Tux-Slack Slackware 1 07-01-2007 06:13 PM
Kernel Panic lfs LFS gbiyer Linux From Scratch 8 05-07-2006 03:48 AM
bootsplash on kernel 2.6.14 divukman Debian 6 12-10-2005 04:25 PM
bootsplash on the 2.4.26 kernel pafrica Linux - Software 1 10-27-2004 09:51 PM
creating a bootsplash for LFS ParticleHunter Linux From Scratch 6 10-20-2004 10:20 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration