LinuxQuestions.org
Register a domain and help support LQ
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 05-20-2004, 07:42 PM   #1
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
Boot splash image


Does slackware support a boot splash image ? I don't mean a lilo bootsplash image... but like... you know in Fedora core1 or in Gentoo, when the system scripts are run, they appear with a background image (saying press F2 for verbose mode etc. )
 
Old 05-20-2004, 08:30 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
If you fancy a go at it, head here:
http://www.bootsplash.org/
 
Old 05-21-2004, 01:37 AM   #3
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
When I first installed a bootsplash i used this guide. But it's mssing how to set up a progressbar, and the link to the bootsplash package doesn't work.

So I suggest you download my theme and have a look at the install instructions in there. It's maybe a bit less detailed than the madpenguin guide, but it's more complete i think. Good luck
 
Old 05-21-2004, 02:49 AM   #4
chemtraX
LQ Newbie
 
Registered: Nov 2003
Distribution: slackware 9.1
Posts: 12

Rep: Reputation: 0
i found this link for kernel 2.6.5 patch but it's work for me on 2.6.6

http://metawire.org/~bhaskar/kernel-patches/

brenton:
currently i'm using your theme but the progress bar didnt work..can you explain a lil' bit on this?

thanks..
 
Old 05-21-2004, 03:02 AM   #5
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Quote:
the progress bar didnt work..can you explain a lil' bit on this?
Basically you just have to add "progressbar x" (where x is a number between 0 - 100) throughout rc.S and rc.M.

Also, did you add "/etc/rc.d/rc.bootsplash" to the start of those files? I'm looking through my install doc, and I seem to have left that out, I might have to revise it. At first it was only meant as a supplement, but it's sorta halfway to a full guide now.

Check file:/usr/doc/bootsplash/samples for the sample of those files. although they don't have the "progreassbar x" line in them.

I really have to fix up my install file. Maybe make the whole thing a slackware tgz.
 
Old 05-21-2004, 10:32 AM   #6
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
first of all thanks for the quick answers. It worked.. sort of... I have the background image, when I load Slackware but I don't have the progressbar, I've inserted in rc.M and rc.S at the beginning of these files, the line: /etc/rc.d/rc.bootsplash is that correct ? but when I load Linux it keeps saying: progressbar, command not found. Any ideas why this is happening ? Also... I don't know if I should start a new thread or not... I have a radeon 9200 graphics card. Has anyone tried to use the radeon framebuffer module from the kernel 2.6.6 ? Is it functional for this type of cards ?

edit:

okai I looked in the doc files and in the sample startup scripts and now it gives me no error, but still there is no progressbar, I've uncommented the progressbar function in rc.bootsplash and added animate startup to the rc.s and rc.M scripts, also i added . /etc/rc.d/rc.bootsplash (Could you please explain why I need that first point before /etc/rc.d/rc.bootsplash ? )

Last edited by Menestrel; 05-21-2004 at 10:51 AM.
 
Old 05-21-2004, 05:46 PM   #7
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Quote:
I have a radeon 9200 graphics card. Has anyone tried to use the radeon framebuffer module from the kernel 2.6.6 ? Is it functional for this type of cards ?
Try the vesafb. I have a Geforce2 Go but rivafb won't work properly for me, so i just use vesafb.

Quote:
okai I looked in the doc files and in the sample startup scripts and now it gives me no error, but still there is no progressbar, I've uncommented the progressbar function in rc.bootsplash
Ahh ok, yeah you have to uncomment the progressbar bit (I'll go though my documentation and fix it up to make it a full guide). So now the "progressbar x" lines should work.

You said you don't have a progressbar, are you in silent mode? (Something else missing from my install doc)

You have to add append="splash=silent" to lilo

So it looks like:
Code:
image="/boot/bzImage"
	root="/dev/hda5"
	initrd="/boot/initrd"
	label="Slackware"
	vga="794"
	append="pci=noacpi pci=usepirqmask splash=silent"
	read-only
Quote:
and added animate startup to the rc.s and rc.M scripts
The animate lines are for animations, my bootsplash doesn't use any animations (yet), and not many others do either.
Quote:
also i added . /etc/rc.d/rc.bootsplash (Could you please explain why I need that first point before /etc/rc.d/rc.bootsplash ? )
Are you using kwrite? Because it's just a tab, and kwrite shows the tab by adding a little dot. The tab isn't nessecary, it just makes it easier to read.

Ok, I'm gonig to start converting my Install to a html guide
 
Old 05-22-2004, 12:06 AM   #8
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
I've updated my theme with a new install file. Hopefully it's complete
 
Old 05-22-2004, 04:08 AM   #9
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
it worked man, but I must say, in rc.S and rc.M I was inspired by your sample files where it's written ". /etc/rc.d/rc.bootsplash" with the trailing point, if I don't put that trailing point I get: progressbar: command not found. So could you tell me what that point is for ?
 
Old 05-22-2004, 04:34 AM   #10
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Ahh ok I was wrong. The . is a period, and apparently it needs to be there. If you look near the end of rc.M there's
Code:
. /etc/rc.d/rc.local
I've updated my install file again. Thanks for spotting that.
 
Old 05-22-2004, 05:46 AM   #11
MustangCSA
Member
 
Registered: Feb 2004
Location: Seattle, WA
Distribution: Debian Sid
Posts: 85

Rep: Reputation: 15
I followed your install guide to the letter but when I reboot the splash screen doesn't come up and I get some errors saying

Code:
/proc/splash: no such file or directory
Any ideas on how to correct that?
 
Old 05-22-2004, 07:13 AM   #12
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Hmm... I think the /proc/splash file is created by the kernel, So check that you've enabled "Bootup splash screen", and disabled "Bootup logo".
 
Old 05-22-2004, 08:18 AM   #13
MustangCSA
Member
 
Registered: Feb 2004
Location: Seattle, WA
Distribution: Debian Sid
Posts: 85

Rep: Reputation: 15
I checked it again and I am almost positive my kernel configuration is right. I'm not sure what else could have gone wrong.
 
Old 05-22-2004, 08:01 PM   #14
MustangCSA
Member
 
Registered: Feb 2004
Location: Seattle, WA
Distribution: Debian Sid
Posts: 85

Rep: Reputation: 15
No more ideas on how to fix this? Do you think it could maybe be the patch I used? I got bootsplash-3.1.3-2.6.5-vanilla.patch.gz from http://metawire.org/~bhaskar/kernel-patches/ I didn't have any problems installing that patch but that's the only thing I can think of that could have gone wrong. Any other ideas please.

Last edited by MustangCSA; 05-22-2004 at 08:04 PM.
 
Old 05-22-2004, 08:43 PM   #15
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Something is not right in your kernel. Either you missed something or it's built as a module...

<*> RAM disk support
(4096) Default RAM disk size [*] Initial RAM disk (initrd) support[*] VGA text console[*] Video mode selection support[*] Support for frame buffer devices (EXPERIMENTAL)[*] VESA VGA graphics console[*] Use splash screen instead of boot logo[*] Advanced low level driver options
<*> 8 bpp packed pixels support
<*> 24 bpp packed pixels support
<*> 32 bpp packed pixels support

And I suppose it could be the patch as well..... I used a 2.4.24 patch on a 2.4.25 kernel. Just changed all the refrences in the patch to corespond to my kernel version... So, I would look to your kernel before considering the patch... 10:1 it's just something you over looked....

Did you read the readme in that patch directory as well?

Oh.... It will also give you that error if you don't append "splash=silent" to your bootloader file...

And.... Make sure you stay on a 16 bit color depth.....

#Colors 640x480 800x600 1024x768 1280x1024
#---------+--------------------------------------------------------
#08 bits | 769 ------ 771 -------- 773 --------- 775
#15 bits | 784 ------ 787 -------- 790 --------- 793
#16 bits | 785 ------ 788 -------- 791 --------- 794
#24 bits | 786 ------ 789 -------- 792 --------- 795

And... When in doubt, Rebuild your initrd splash file.... If your using Lilo, you may have to remake the initrd if you've changed something in your config just like you need to rewrite your MBR if you change your config.... Just a guess... I don't use Lilo for these reasons so I can't say for sure.... This isn't the case with grub.. Only if you move your / partition do you need to remake your initrd or rewrite your MBR...

This is from my grub...

title LFS 5.1pre2 - 2.4.25 (XFS)
root (hd0,1)
kernel /boot/2.4.25 ro root=/dev/sda2 hdd-ide-scsi vga=791 splash=silent
initrd /boot/splash/initrd.splash


What else?...... After all that I would either look to your syntax in the scripts or the patch itself.... Your also running a brand new kernel and patch..... Thats a recipe for headaches in my opinion. My kernel and patch have been around for months so thats plenty of time for bugs to be reported, therefore it just works... I would also take that into consideration.... Good luck..

Last edited by jong357; 05-22-2004 at 09:22 PM.
 
  


Reply


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
Grub splash image hfawzy Linux - General 3 08-13-2005 06:16 AM
Splash image .... MikeFoo1 Linux - Newbie 5 05-04-2005 04:27 PM
grub 0.95 splash image doralsoral Linux - Software 1 11-25-2004 11:53 PM
Splash image ? BajaNick Linux - General 17 08-14-2003 03:45 AM
GRUB splash image LinuxDan Linux - Distributions 6 11-14-2002 01:12 PM


All times are GMT -5. The time now is 05:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration