LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Boot splash image (https://www.linuxquestions.org/questions/slackware-14/boot-splash-image-183903/)

Menestrel 05-20-2004 07:42 PM

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. )

Thymox 05-20-2004 08:30 PM

If you fancy a go at it, head here:
http://www.bootsplash.org/

brenton 05-21-2004 01:37 AM

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 :)

chemtraX 05-21-2004 02:49 AM

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..

brenton 05-21-2004 03:02 AM

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.

Menestrel 05-21-2004 10:32 AM

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 ? )

brenton 05-21-2004 05:46 PM

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 :)

brenton 05-22-2004 12:06 AM

I've updated my theme with a new install file. Hopefully it's complete :)

Menestrel 05-22-2004 04:08 AM

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 ? :p

brenton 05-22-2004 04:34 AM

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.

MustangCSA 05-22-2004 05:46 AM

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?

brenton 05-22-2004 07:13 AM

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".

MustangCSA 05-22-2004 08:18 AM

I checked it again and I am almost positive my kernel configuration is right. I'm not sure what else could have gone wrong.

MustangCSA 05-22-2004 08:01 PM

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.

jong357 05-22-2004 08:43 PM

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..


All times are GMT -5. The time now is 10:54 AM.