bootsplash...again


Forum: X and Fluxbox
Topic: bootsplash...again
started by: kreon28

Posted by kreon28 on May 29 2007,15:51
Hi,

I think I've got a problem with bootsplash.
During boot instead of nice splash-picture , there is only little tux on top of the screen.
I patched the kernel, installed bootsplash (the way it is written at bootsplash.org), got AquaMatrix theme(copied image files to /usr/share/bootsplash/themes/AquaMatrix/images)  and made initrd.splash (splash -sf /etc/bootsplash/themes/matrix/config/bootsplash-1024x768.cfg > /boot/initrd.splash)
Then I edited grub
Code Sample
title DSL with XFree86
kernel /boot/linux-24 root=/dev/hda4 splash=silent vga=791 initrd /boot/initrd.splash


Did I miss something ?

Posted by curaga on May 29 2007,16:08
The penguin overrides bootsplash.. If it's on, the pic is off..

And that initrd is supposed to be on it's own line:
Quote
title DSL with XFree86
kernel /boot/linux-24 root=/dev/hda4 splash=silent vga=791
initrd /boot/initrd.splash

Posted by kreon28 on May 29 2007,16:43
Yep. You are right once again  :D
Now it works, but question:
What about that progress bar problem. I read here that progress bar doesn't work with DSL. Any news about that?

Posted by curaga on May 30 2007,07:20
For progress bar you need to mess with the init files.. Someone said that 'cause it isn't possible on the Livecd now.

Add this to the end of "functions" (a file in /etc/init.d)
Quote
progressbar()
    {

         if [ $# != 1 ]
         then
              echo "Usage: progressbar {progress}"
              exit 1
         fi

         echo "show $(( 65534 * $1 / 100 ))" > /proc/splash

    }


Then see the order of init scripts (ls /etc/rcsysinit.d) they are numbered from 0 to 100. Obviously low number is used first, then higher. At the end of each script add
Quote
progressbar 40
Where 40 is the % of full bar..

Posted by kreon28 on May 30 2007,10:17
Quote (curaga @ May 30 2007,03:20)
Then see the order of init scripts (ls /etc/rcsysinit.d) they are numbered from 0 to 100. Obviously low number is used first, then higher. At the end of each script add
Quote
progressbar 40
Where 40 is the % of full bar..

hmmm...I have folders such as /etc/rc0.d , rc1.d etc..and then rcS.d.
But these are folders, so where to put that "progressbar"

P.S. In /etc/default/ I have file rcS - maybe you have talked about this one?

Posted by curaga on May 30 2007,11:18
Yes.. rcS.d not rcsysinit.d.. The directory that is.

That "progressbar" call is to be
Quote
At the end of each script

Posted by kreon28 on May 30 2007,14:51
Quote (curaga @ May 30 2007,07:18)
Yes.. rcS.d not rcsysinit.d.. The directory that is.

That "progressbar" call is to be
Quote
At the end of each script

Well, it is not working :(
I added your script to /etc/init.d/dsl-functions
and then....
In /etc/rcS.d I've got 3 files:
S00knoppix-autoconfig
S01dsl--config
S35devpts.sh

At the end of S00knoppix-autoconfig I put "progressbar 30",  
next file "progressbar 60"
and last file :"progressbar 100"
(without quotes)

P.S. during boot DSL writes error about /etc/init.d/default/rcS
"progressbar - command not found" or something like that

Posted by curaga on May 30 2007,15:47
Oh. So Robert hasn't made those scripts call dsl_functions. Just add
Quote
. /etc/init.d/dsl_functions
to the beginning of any script that doesn't have it yet..

This is awful lot of messing.. That's also why progress bar isn't advertised much..
Anyway I have it working, and you'll get it too!

Posted by kreon28 on May 30 2007,16:12
Yep. It was that :)
What about shutdown scripts - just to have progressbar during shutting down of computer?

P.S Of course we should add /etc/init.d/dsl-functions :)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.