Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gensplash-How-to with progressbar!!!!!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Wed Aug 25, 2004 5:58 pm    Post subject: Reply with quote

snekiepete, any solution for my problem? i posted grub as you told me to and also dmesg if that was of any help.

i have not done nay reverse patching of fbsplash or bootsplash because i dont know how to do that. if thats the problem, then please explain how to do it.
Back to top
View user's profile Send private message
snaj
n00b
n00b


Joined: 25 Aug 2004
Posts: 11

PostPosted: Wed Aug 25, 2004 6:06 pm    Post subject: Reply with quote

I'm reading this topic and don't see any explanation how to enable progressbar :?
I'm using Slackware + 2.6.8.1 + mine patchset http://snaj.fm.interia.pl/ and unfortunatelly gensplash :/ Till now I was using bootsplash with progressbar - it worked excellent.
Now I :

1. Patched the kernel (marked options : logo, 224logo, vesafb and other like when using bootsplash).
2. Install splashutil
3. bootsplash2gensplash current (mine bootsplash) and appeared /etc/splash/current with confs and images.
4. splash_geninitramfs -g /usr/src/linux/usr/initramfs_data.cpio.gz -r 1024x768 current
5. make etc.
6. In lilo.conf : vga=790 append="splash=silent"
7. reboot and only litle penguin in the corner on the screen, no splash :?

What should I do more, what should I write in script to enable progressbar and this image, how to change splash without recompiling ?!
Notice that I'm not using gentoo !!

Sorry for my excellent English ;] I'm really angry :/
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 6:10 pm    Post subject: Reply with quote

snaj wrote:
I'm reading this topic and don't see any explanation how to enable progressbar :?
I'm using Slackware + 2.6.8.1 + mine patchset http://snaj.fm.interia.pl/ and unfortunatelly gensplash :/ Till now I was using bootsplash with progressbar - it worked excellent.
Now I :
1. Patched the kernel (marked options : logo, 224logo, vesafb and other like when using bootsplash).
2. bootsplash2gensplash current (mine bootsplash) and appeared /etc/splash/current with confs and images.
3. splash_geninitramfs -g /usr/src/linux/usr/initramfs_data.cpio.gz -r 1024x768 current
4. make etc.
5. In lilo.conf : vga=790 append="splash=silent"
6. reboot and only litle penguin in the corner on the screen, no splash :?

What should I do more, what should I write in script to enable progressbar and this image, how to change splash without recompiling ?!
Notice that I'm not using gentoo !!

Sorry for my excellent English ;] I'm really angry :/


I wish I could help you more, but I am not familiar with slackware's init scripts......did you check the /usr/docs for any possibilities?
Back to top
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Wed Aug 25, 2004 6:15 pm    Post subject: Reply with quote

i love gentoo forums, even slack people come here for help. just cant find solution for my problem.
Back to top
View user's profile Send private message
snaj
n00b
n00b


Joined: 25 Aug 2004
Posts: 11

PostPosted: Wed Aug 25, 2004 6:28 pm    Post subject: Reply with quote

gensplash is include in -ckX - it's not dedicated only for gentoo :evil:
And this is why not only gentoo users want to know how enable this THING.
I'm asking here because spock writes here and he is the cause ;] of gensplash.

Slack scripts don't matter. It's almost the same (scripts in splashutils and its parameters). Show me all changes you had to make in gentoo scripts to enable splash, progressbar, to choose splash .
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 6:51 pm    Post subject: Reply with quote

rush_ad wrote:
snekiepete, any solution for my problem? i posted grub as you told me to and also dmesg if that was of any help.

i have not done nay reverse patching of fbsplash or bootsplash because i dont know how to do that. if thats the problem, then please explain how to do it.


I have posted a little howto on page one of this post for reversing / patching the kernel.

here is how to get the kernel I use if you're interested.....

Code:
# emerge ck-sources


this emerges the current ck-sources 2.6.8.1-ck4
this kernel has reiser4 btw.

then link it to /usr/src/linux
Code:
# ln -s /usr/src/linux-2.6.8.1-ck4 /usr/src/linux


then start some cool patching stuff
Code:
# cd /usr/src/linux
# wget http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/fbsplash-0.9-r5-2.6.8-rc3.patch.bz2
# bzcat fbsplash-0.9-r5-2.6.8-rc3.patch.bz2 | patch -Rp1

-----> this removes the old fbsplash patch
Code:
# wget http://dev.gentoo.org/~spock/projects/vesafb-tng/vesafb-tng-0.9-rc4-2.6.8.1.patch

-----> I like the vesafb-tng stuff, this is it.
Code:
# cat vesafb-tng-0.9-rc4-2.6.8.1.patch | patch -p1

------> adds vesafb-tng
Code:
# wget http://dev.gentoo.org/~spock/projects/gensplash/fbsplash-0.9-r6-2.6.8.1.patch

-----> the latest fbsplash patch, as of this date anyway
Code:
# cat fbsplash-0.9-r6-2.6.8.1.patch | patch -p1

-----> adds new fbsplash patch

this will most likely have an error patching sysctl.h, no prob, just do:

Code:
# nano -w /include/linux/sysctl.h


find this line
Code:
KERN_HZ_TIMER=65,   /* int: hz timer on or off */


and immediately below it add this, leave all other lines intact.......

Code:
KERN_FBSPLASH=66,      /* string: path to splash_helper */



then :

Code:
# make menuconfig


select the options described in this post including the ones in device drivers--->block devices

Code:
# make, mount and copy your bzImage to /boot

# emerge splashutils

# run the geninitramfs command for your resolution (use "default" instead of "emergence" for the end of the line as described above by me)

# change your grub.conf accordingly


here is an example of my grub line

Code:
kernel /2.6.8.1-ck4-Snekie1 root=/dev/hdb3 elevator=cfq video=vesafb:ywrap,1280x1024-32@85 splash=silent
initrd /boot/fbsplash-emergence-1280x1024


thats exactly how I did it just about 30 mins ago, hope this helps.
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Wed Aug 25, 2004 6:53 pm    Post subject: Reply with quote

snaj, try changing your append line to something like this:
Code:

append="video=vesafb:ywrap,1024x768-32@60 splash=silent"

and don't forget to run lilo afterwards
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 6:59 pm    Post subject: Reply with quote

snaj wrote:
gensplash is include in -ckX - it's not dedicated only for gentoo :evil:
And this is why not only gentoo users want to know how enable this THING.
I'm asking here because spock writes here and he is the cause ;] of gensplash.

Slack scripts don't matter. It's almost the same (scripts in splashutils and its parameters). Show me all changes you had to make in gentoo scripts to enable splash, progressbar, to choose splash .


I never meant to imply that it was only for gentoo, I just don't know that much about other distros....

as far as script changes, emerge splashutils does all this so I am not sure exactly how to help, but I will try just let me know what information would help the most, copies of the files, whatever and I will get them to you. maybe it's time I tried slack......for some fun.....

:D


here are the /sbin files that emerge splashutils creates:

/sbin/splash
/sbin/splash-functions.sh
/sbin/splash_helper
/sbin/splash_util

and then it uses /etc/conf.d/splash for some config stuff.
Back to top
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Wed Aug 25, 2004 7:00 pm    Post subject: Reply with quote

thanks a lot snekiepete. you ave taken so much time to write everything out.

well i'm trying out what you said. but while its compiling, please tell me if i should emerge splashutils after booking into new ck-sources or while i'm compiling ck-sources from my love-sources?

ok may be that was confusing. so, should i emerge splashutils running ck-sources or running any kernel?
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 7:03 pm    Post subject: Reply with quote

snaj,

have you thought about or tried reversing fbsplash and adding back in the bootsplash patch?
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 7:04 pm    Post subject: Reply with quote

rush_ad wrote:
thanks a lot snekiepete. you ave taken so much time to write everything out.

well i'm trying out what you said. but while its compiling, please tell me if i should emerge splashutils after booking into new ck-sources or while i'm compiling ck-sources from my love-sources?

ok may be that was confusing. so, should i emerge splashutils running ck-sources or running any kernel?


emerge splashutils after compiling the kernel, you can also run the geninitramfs command as well. ----as always make sure /boot is mounted
Back to top
View user's profile Send private message
snaj
n00b
n00b


Joined: 25 Aug 2004
Posts: 11

PostPosted: Wed Aug 25, 2004 7:15 pm    Post subject: Reply with quote

snekiepete wrote:
snaj,

have you thought about or tried reversing fbsplash and adding back in the bootsplash patch?

I'm thinking :) And I'm really close to get rid of gensplash - if nobody give me clear, working solution.

It's strange that somebody includes (Kovalis) new feature and there is no clear explanation how to use in on all (or most popular) distros :/ Or this solution exist but is quite well hidden :/
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 7:28 pm    Post subject: Reply with quote

snaj wrote:
snekiepete wrote:
snaj,

have you thought about or tried reversing fbsplash and adding back in the bootsplash patch?

I'm thinking :) And I'm really close to get rid of gensplash - if nobody give me clear, working solution.

It's strange that somebody includes (Kovalis) new feature and there is no clear explanation how to use in on all (or most popular) distros :/ Or this solution exist but is quite well hidden :/


I have to say you have a good point there. The /sbin/splash_util is the one that controls the progressbar:

from the README:

Quote:
/sbin/splash_util - the fbsplash control utility, use this program to control
the fbsplash behaviour; this program is meant to be used
directly by the user and by the system scripts (which
will be the case if your distro's initscripts have
support for a boot-up progressbar, etc).


I also noticed a patch located here that you used to have to run from /sbin to get the progressbar a couple of weeks ago in gentoo

http://dev.gentoo.org/~spock/projects/gensplash/archive/splashutils-0.9-pre03-rc-scripts-1.5.1.patch

maybe this helps?

Something I just noticed, and you should try...

link /etc/splash/current to /etc/splash/default

and run the geninitramfs command again like you did in the post above except use default, I had troubles doing this when I tried using the themename for some reason, but when I used the default it worked.

also di you try other options for the vga= like 791, or 792?
Back to top
View user's profile Send private message
Shiner_Man
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 180

PostPosted: Wed Aug 25, 2004 8:01 pm    Post subject: Reply with quote

snekiepete wrote:
To convert a bootsplash theme:

copy the theme to /etc/splash
copy the config file(s) that you want to use up one level and change the name.

Code:
# cp /etc/bootsplash/themes/NEWTHEME /etc/splash/NEWTHEME
# cp /etc/splash/NEWTHEME/config/bootsplash-<RESOLUTION>.cfg /etc/splash/NEWTHEME/<RESOLUTION>.cfg


edit the config to use the pictures in the appropriate places. They are located in /etc/splash/NEWTHEME/images

Code:
# nano -w /etc/splash/NEWTHEME/<RESOLUTION>.cfg




in this file you will see something like:

Code:
pic=/etc/bootsplash/themes/NEWTHEME/images/verbose-<RESOLUTION>.jpg


change all these lines to something like this:

Code:
pic=/etc/splash/NEWTHEME/images/verbose-<RESOLUTION>.jpg


Yup that does the trick. If I have some freetime I'll try and convert as many existing bootsplash themes into this new format so we can get an ebuild for gensplash themes.

Thanks.
_________________
My Site
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 8:27 pm    Post subject: Reply with quote

I just ran across this script that does it from bootsplash themes in /etc/bootsplash


Thanks Spock...............



Code:
# /usr/bin/bootsplash2fbsplash <themename_located_in_/etc/bootsplash>


example:

Code:
# /usr/bin/bootsplash2fbsplash livecd.2004.2
Back to top
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Wed Aug 25, 2004 8:47 pm    Post subject: Reply with quote

snekiepete said
Quote:
emerge splashutils after compiling the kernel, you can also run the geninitramfs command as well. ----as always make sure /boot is mounted


but do i have to be running the kernel i want to use gensplash with?
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Wed Aug 25, 2004 8:48 pm    Post subject: Reply with quote

no. it will do what it has to do as long as you have /us/src/linux pointing to your new kernel
Back to top
View user's profile Send private message
snaj
n00b
n00b


Joined: 25 Aug 2004
Posts: 11

PostPosted: Wed Aug 25, 2004 9:31 pm    Post subject: Reply with quote

Anyway I did as you said. http://snaj.fm.interia.pl/ I made patch that removes gensplash and installs bootsplash !

But xMule is working -> no reboots soon ;]
Back to top
View user's profile Send private message
^DoCtOr^
n00b
n00b


Joined: 31 Jul 2003
Posts: 12

PostPosted: Wed Aug 25, 2004 10:52 pm    Post subject: Reply with quote

snekiepete wrote:

then start some cool patching stuff
Code:
# cd /usr/src/linux
# wget http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/fbsplash-0.9-r5-2.6.8-rc3.patch.bz2
# bzcat fbsplash-0.9-r5-2.6.8-rc3.patch.bz2 | patch -Rp1

-----> this removes the old fbsplash patch
Code:
# wget http://dev.gentoo.org/~spock/projects/vesafb-tng/vesafb-tng-0.9-rc4-2.6.8.1.patch

-----> I like the vesafb-tng stuff, this is it.
Code:
# cat vesafb-tng-0.9-rc4-2.6.8.1.patch | patch -p1

------> adds vesafb-tng
Code:
# wget http://dev.gentoo.org/~spock/projects/gensplash/fbsplash-0.9-r6-2.6.8.1.patch

-----> the latest fbsplash patch, as of this date anyway
Code:
# cat fbsplash-0.9-r6-2.6.8.1.patch | patch -p1

-----> adds new fbsplash patch


Well, enabling bootup logo didn't exactly solved my problem, although I do see a nice penguin up there 8) . Question, do I need to do the patching stuff as above if I am running gentoo-dev-sources 2.6.8-r2? Thanks a lot.
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Wed Aug 25, 2004 11:15 pm    Post subject: Reply with quote

^DoCtOr^ wrote:
snekiepete wrote:

then start some cool patching stuff
Code:
# cd /usr/src/linux
# wget http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/fbsplash-0.9-r5-2.6.8-rc3.patch.bz2
# bzcat fbsplash-0.9-r5-2.6.8-rc3.patch.bz2 | patch -Rp1

-----> this removes the old fbsplash patch
Code:
# wget http://dev.gentoo.org/~spock/projects/vesafb-tng/vesafb-tng-0.9-rc4-2.6.8.1.patch

-----> I like the vesafb-tng stuff, this is it.
Code:
# cat vesafb-tng-0.9-rc4-2.6.8.1.patch | patch -p1

------> adds vesafb-tng
Code:
# wget http://dev.gentoo.org/~spock/projects/gensplash/fbsplash-0.9-r6-2.6.8.1.patch

-----> the latest fbsplash patch, as of this date anyway
Code:
# cat fbsplash-0.9-r6-2.6.8.1.patch | patch -p1

-----> adds new fbsplash patch


Well, enabling bootup logo didn't exactly solved my problem, although I do see a nice penguin up there 8) . Question, do I need to do the patching stuff as above if I am running gentoo-dev-sources 2.6.8-r2? Thanks a lot.


i just managed it with the gentoo-dev-sources 2.6.8-r2.

you just have to follow spocks 5-step guide :wink:
http://dev.gentoo.org/~spock/projects/gensplash/gensplash-in-5-easy-steps.php

so you do not have to do this patching-thing. it is much easier than it seems :)

by the way, has anybody an idea how to enable the splash for all ttys??
Back to top
View user's profile Send private message
^DoCtOr^
n00b
n00b


Joined: 31 Jul 2003
Posts: 12

PostPosted: Wed Aug 25, 2004 11:39 pm    Post subject: Reply with quote

loemmel wrote:

i just managed it with the gentoo-dev-sources 2.6.8-r2.

you just have to follow spocks 5-step guide :wink:
http://dev.gentoo.org/~spock/projects/gensplash/gensplash-in-5-easy-steps.php

so you do not have to do this patching-thing. it is much easier than it seems :)

by the way, has anybody an idea how to enable the splash for all ttys??


Well I already followed Spock's guide and previously to no avail. :( I got only the frambuffer working but the splash wouldn't appear for anyone's sake. Still trying to look for something new. :twisted:

You might wanna try editing bootsplash.conf to get splash on all ttys. See https://forums.gentoo.org/viewtopic.php?t=49036 on how to edit 8)
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Thu Aug 26, 2004 12:30 am    Post subject: Reply with quote

The patching described above if for building a kernel that doesn't have the stuff already built in. I just put it here in case anyone wants a new and different kernel source.

Gentoo-dev-sources will probably not take any of those patches cleanly.
Back to top
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Thu Aug 26, 2004 2:06 am    Post subject: Reply with quote

^DoCtOr^ said
Quote:
Well, enabling bootup logo didn't exactly solved my problem, although I do see a nice penguin up there Cool . Question, do I need to do the patching stuff as above if I am running gentoo-dev-sources 2.6.8-r2? Thanks a lot.



snekiepete, i followd your guid directed to me on this page and all i get is the penguin. no splash. did i do anything wrong? i'm sure i didnt. any problem with my hardware? i'm using intel i810 onboard. should i use i810fb instead vesafb?
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Thu Aug 26, 2004 3:09 am    Post subject: Reply with quote

Quote:
snekiepete, i followd your guid directed to me on this page and all i get is the penguin. no splash. did i do anything wrong? i'm sure i didnt. any problem with my hardware? i'm using intel i810 onboard. should i use i810fb instead vesafb?


Actually I went back and looked at your dmesg again, it looks like you are only able to get 1024x768-8@74.

it also looks like you have both i810fb and vesafb compiled in, you might want to try i810fb, since dmesg is giving you an error with vesafb. Also you might not need vga compiled in either.

so change your grub line to use i810fb accordingly, and make sure you set geninitramfs to the resolution of your framebuffer.

and never surrender!!!!!!

[/quote]
Back to top
View user's profile Send private message
loemmel
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 227
Location: switzerland

PostPosted: Thu Aug 26, 2004 8:31 am    Post subject: Reply with quote

^DoCtOr^ wrote:

You might wanna try editing bootsplash.conf to get splash on all ttys. See https://forums.gentoo.org/viewtopic.php?t=49036 on how to edit 8)


didn't solve my problem. :cry:

did you ever try disabling the kernel bootup-logo? i didn't enable it and it works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 27, 28, 29  Next
Page 7 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum