LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-13-2008, 07:06 PM   #1
smurfed
LQ Newbie
 
Registered: Aug 2007
Distribution: Custom Slack 12.0
Posts: 20

Rep: Reputation: 0
LiveCD and Bootsplash help


Hi again,

So, I'm in the process of building a liveCD for my customised Slackware install, and have had some pretty good success so far, with only a few minor glitches that have more or less been worked out.

Insofar the CD is almost complete except for a few things that need to be finalised. One thing that I am having trouble with at the moment is getting my bootsplash to work on the liveCD. The CD (or DVD in my case) works fine, it's booting, loading, and working all from a live environment, which is good news. I just need to incorporate a bootsplash and I'll be nearly done. I have bootsplash working wonderfully on the installed HDD, startup and shutdown screens, progressbar, and all that fun stuff. I just need to find out a way to throw that into the live environment.

So, does anyone out there know how to incorporate a bootsplash into a LiveCD? I'm running the 2.6.24 kernel and the 6.2.0 version of LiveCD on Slackware 12.

In short:
* I have bootsplash running on my HDD
* I have my LiveCD(DVD) booting and working
* Help with how to incorporate bootsplash into the live environment is needed (Such as config file locale, command strings, etc... ).

Any assistance or pointers you could supply would be greatly appreciated ^_^

Cheers,
- Smurfed
 
Old 02-14-2008, 01:41 PM   #2
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
I'm not familiar with LiveCD, so this may be non sequitur, but in general, the things that can interfere with bootsplash are the /proc file system and initrd and, of course, the lilo config if you use lilo.

The /proc file system needs to be mounted read-write to get bootsplash running, I'm not sure if that happens when using LiveCD.

You have bootsplash with progress bars already running on the HD so you must know that the /etc/rc.d/rc.? files need to be modified to update the progress bar, and that the initrd.gz file needs the bootsplash image embedded.

I also haven't tried the 2.6.24 patch for bootsplash, but again, you have it running on the HD (with the same kernel, I assume) so you must have the right options enabled there (the VESA framebuffer, especially).

Updating the initrd is quite different in the 2.6 kernels than it is with the older ones... the outdated instructions for bootsplash say to simply append the image to the existing initrd.gz file. That doesn't work for me at all with 2.6 kernels, I make an initrd after a kernel update with:

cd /boot
rm initrd.gz
rm -rf initrd-tree

mkinitrd -c -k 2.6.23.16 -f ext3 -r /dev/hdc1

Modify the above for your kernel and root device -- also, I recommend not configuring the kernel file system support as modules, I get problems doing that with SATA drives. However, if you do have that sort of kernel configuration, you can specify the file system module in the mkinitrd command line by adding a -m ext3 (or whatever file system you use).

Once that is done add the image to the initrd-tree directory with (for example):

splash -s -f /etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg > /boot/initrd-tree/bootsplash

Then run mkinitrd again with no command line options to create the initrd.gz file.

Re-run lilo, if you use it. Make sure you have a compatible vga line in that file (791 works well for me).

Check dmesg after boot if bootsplash doesn't work, it should have some pertinent information.

If all else fails, you can try falling back to the old method of simply appending the bootsplash image to the initrd.gz file (create an initial directory as above, then run mkinitrd with no options, skipping embedding the bootsplash image, then run splash again, but append it to the initrd.gz file).

Hope this helps...

Last edited by raconteur; 02-14-2008 at 01:42 PM.
 
Old 02-18-2008, 06:47 PM   #3
smurfed
LQ Newbie
 
Registered: Aug 2007
Distribution: Custom Slack 12.0
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for your input raconteur. I haven't actually worked on it since the original post (a busy weekend of paying attention to something other than Linux for once... )

But I'm back at work now and am just about to give it another crack. Hopefully all goes well this time.

Cheers for the advice,
- Smurfed
 
Old 02-21-2008, 12:29 AM   #4
smurfed
LQ Newbie
 
Registered: Aug 2007
Distribution: Custom Slack 12.0
Posts: 20

Original Poster
Rep: Reputation: 0
Alright, I finally have bootsplash working on my LiveCD 8)

All I had to do was cat my pre-existing bootsplash file into the initrd created by the LiveCD scripts

cat /path/to/bootsplash >> /path/to/livecd/initrd.gz

Cheers,
- Smurfed
 
  


Reply



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 alibaba Linux - Software 3 05-03-2007 12:04 AM
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 12:31 PM
bootsplash? mushmaster Linux - Software 7 02-14-2005 04:26 PM
bootsplash himm SUSE / openSUSE 8 12-07-2004 03:43 AM
bootsplash 2.4.21 chrismiceli Linux - General 1 08-01-2003 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:27 PM.

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