Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Gentoo progress bar on bootsplash

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
32 posts
  • 1
  • 2
  • Next
Author
Message
bimbo_solar
n00b
n00b
User avatar
Posts: 9
Joined: Wed Nov 12, 2003 2:13 am

Gentoo progress bar on bootsplash

  • Quote

Post by bimbo_solar » Wed Nov 12, 2003 4:49 am

Well, this is my first post, and my first guide in linux, I hope I can make it really easy to follow... as that's the only gold I'm looking forward to get...

I've wrote this because I've seen many ppl wondering how to actually get the progrress bar to work with their gentoo bootsplash... there are several guides about this, but not all of them are for gentoo nor easy to follow...

The first thing you need to do is read the "The Gentoo Framebuffer, Bootsplash & Grubsplash How-To" and follow the easy steps to make the bootsplash work in gentoo, after doing this get back to this guide and follow the steps to make the progress bar work in silent mode.

I'll list the programs you'll need for this to work:
Bootsplash Progress Bar Patch, you can get it here
A bootsplash theme with progress bar enabled, I recommend using the bootsplash-animations , but of course you can get more at www.bootsplash.org
And of course, the bootsplash package (explained on the bootsplash how-to)

After getting this, to setup you bootsplash progress bar patch (which I'll call bpbp), extract it anywhere you want, and then as root type ./install.sh or sh install.sh (from the terminal of course)
Then, extract the files of bootsplash theme in "etc/bootsplash/yourtheme/animations" (make the animations dir), now copy the "animations.cfg" file from the src directory (in the bpbp directory) to "/etc/bootsplash/yourtheme/config".

Now edit "/etc/conf.d/bootsplash.conf" to use the preferences you need.

And finally, just enter your boot loader config file and add this line:
append="silent"
NOTE: your don't have to change anything of what is said in the bootsplash how-to, just add this line in the kernel image config in your boot loader.

This is it, just follow the easy steps I put, and you'll have a nice bootsplash with progress bar in silent mode (with no lines in it).

I've taken all of this info from the "bootsplash progress bar patch" page, trying to explain everything you need, step by step to make it a super newbie guide... really easy to follow, hope you like it =)

EDGAR MERINO
Last edited by bimbo_solar on Thu Nov 13, 2003 7:51 pm, edited 1 time in total.
look at the light... look at bimbo solar
Top
MooktaKiNG
Guru
Guru
User avatar
Posts: 326
Joined: Mon Nov 11, 2002 2:30 pm
Location: London, UK
Contact:
Contact MooktaKiNG
Website

  • Quote

Post by MooktaKiNG » Wed Nov 12, 2003 4:37 pm

I have baselayout 1.8.6.10-r1, and that patch didn't work.

I kinda used the /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh, /etc/init.d/halt.sh files from the patch and created my own for my baselayout.

I just realised that you can't seem to attach files in posts.

so i guess if anyone wants the files that i created, listed above, just pm/email me. also if anyone has some webspace that they can lend, for other people to download this file then please also pm/email me.

Also i couldn't get the truetype fonts in the bootsplash for some reason. Except for the text, everything else seems to be working.


PS: i'm not going to take this any further, i'm just gonna give these files to anyone who wants it. This is a very basic patching and i'm not really good at it. I'm sure there's a lot of mistakes.
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Top
kKDu
Apprentice
Apprentice
User avatar
Posts: 187
Joined: Mon Aug 18, 2003 7:56 pm

  • Quote

Post by kKDu » Wed Nov 12, 2003 7:42 pm

epm package (emerge epm)
Why is this needed?
A bootsplash theme with progress bar enabled
I like the theme from the liveCD. Is there an easy way to get it?
Top
bimbo_solar
n00b
n00b
User avatar
Posts: 9
Joined: Wed Nov 12, 2003 2:13 am

  • Quote

Post by bimbo_solar » Wed Nov 12, 2003 9:38 pm

About what MooktaKiNG said about the baselayout 1.8.6.10-r1, I have the same version and it patches the file with no problems, jsut choose to use the patch for baselayout 1.8.6.11 when prompt for it, and it'll work fine.

About the epm package, the issue has been fixed... it is the rpm workalike for Gentoo... makes things easy to uninstall (for me) to only use "epm -e package" instep of "emerge -C package", but you can make the progress bar work without the epm pkg.

EDGAR MERINO[/quote]
look at the light... look at bimbo solar
Top
MooktaKiNG
Guru
Guru
User avatar
Posts: 326
Joined: Mon Nov 11, 2002 2:30 pm
Location: London, UK
Contact:
Contact MooktaKiNG
Website

  • Quote

Post by MooktaKiNG » Wed Nov 12, 2003 10:29 pm

Actually there are a LOT of difference between the patch they sent, which i think is 1.8.6.9, which i used. I got all these errors in the start, i still booted fine. But all these errors came up about runscript .sh, which i checked and there is a LOT of extra stuff thats going in the new one.

Anyway, maybe you never looked at the boot with verbose, or maybe your just lucky :D:D

I got the errors and if anyone also get these errors and want the edited version of the files i mensioned before, please get it contact.
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Top
someguy
Guru
Guru
Posts: 433
Joined: Thu Jul 10, 2003 2:13 am
Location: (-_-) .::OH_WELL::. (-_-)

  • Quote

Post by someguy » Fri Nov 14, 2003 10:33 am

it didnt work on mine i had to unmerge bootsplash and move my /sbin/runscript.sh~ to /sbin/runscript.sh i was getting sbin/rc: error: line 450: splash_update:command not found
baselayout 1.8.6.10-r1
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Top
MooktaKiNG
Guru
Guru
User avatar
Posts: 326
Joined: Mon Nov 11, 2002 2:30 pm
Location: London, UK
Contact:
Contact MooktaKiNG
Website

  • Quote

Post by MooktaKiNG » Fri Nov 14, 2003 3:25 pm

You didn't have to unmerge bootsplash. The only reason you got these errors is that the patch for the progress bar replaces the /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh, /etc/init.d/halt.sh files.

It didn't work becuase the patch is a bit outdated now.

Thats why i made the post :)

If you still want those files that i made, pm/email me.
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Top
Lolo-
n00b
n00b
Posts: 62
Joined: Sun Aug 04, 2002 6:40 pm
Location: SQY (France)
Contact:
Contact Lolo-
Website

  • Quote

Post by Lolo- » Fri Nov 14, 2003 8:17 pm

it seems to work even with baselayout 1.8.6.12
wonderful !
Top
Jefklak
l33t
l33t
Posts: 818
Joined: Sun Oct 26, 2003 10:47 am
Location: Belgium
Contact:
Contact Jefklak
Website

  • Quote

Post by Jefklak » Sun Nov 16, 2003 1:10 pm

Doesnt work here for .12 ... :(
Top
oiper
Guru
Guru
User avatar
Posts: 316
Joined: Thu May 01, 2003 7:39 pm
Location: Alabama, US
Contact:
Contact oiper
Website

no go

  • Quote

Post by oiper » Mon Nov 17, 2003 3:41 am

the verbose mode only. some text from silent mode tried to show up for a sec though.
www.bearscanfly.org - Because hiking is cool
Top
sms
n00b
n00b
User avatar
Posts: 25
Joined: Mon Apr 14, 2003 12:06 pm
Location: Bern, Switzerland

  • Quote

Post by sms » Mon Nov 17, 2003 8:16 am

Works here with love-sources (2.6.0-test9-love3), bootsplash and baselayout 1.8.6.12.

I did a re-emerge on bootsplash and baselayout after patching, because the /sbin/rc script apparently includes progress bar support. So the patch isn't needed? I'm a bit fuzzy about what did the trick - tried a lot of different things, but it now works almost perfectly! :lol:

Only thing which isn't perfect: when shutting down or rebooting out of X the rebooting / shutting down message shows on my X Desktop twice, then shuts down (splash screen visible for about 2 sec's).

Maybe this is because xdm takes a long time to kill itself. Have to try shutting down without xdm enabled.

sms
Top
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Tue Nov 18, 2003 8:40 am

>Works here with love-sources (2.6.0-test9-love3), bootsplash and >baselayout 1.8.6.12.

Same here but no success.

MooktaKiNG, yes please send me those scripts, will have a look to them
My mail : suselop@hotmail.com

Thanks in advance
Top
Jefklak
l33t
l33t
Posts: 818
Joined: Sun Oct 26, 2003 10:47 am
Location: Belgium
Contact:
Contact Jefklak
Website

Re: no go

  • Quote

Post by Jefklak » Tue Nov 18, 2003 10:37 am

oiper wrote:the verbose mode only. some text from silent mode tried to show up for a sec though.
same here!!
Top
oiper
Guru
Guru
User avatar
Posts: 316
Joined: Thu May 01, 2003 7:39 pm
Location: Alabama, US
Contact:
Contact oiper
Website

!!!

  • Quote

Post by oiper » Fri Nov 21, 2003 2:59 am

Suddenly! After running "lilo" again... 8O :?: It works! Beautiful! :D
www.bearscanfly.org - Because hiking is cool
Top
Jefklak
l33t
l33t
Posts: 818
Joined: Sun Oct 26, 2003 10:47 am
Location: Belgium
Contact:
Contact Jefklak
Website

  • Quote

Post by Jefklak » Fri Nov 21, 2003 1:10 pm

What the...?
Damn, im using grub :(
Top
Jazz
Guru
Guru
User avatar
Posts: 543
Joined: Sun Nov 16, 2003 10:50 pm
Location: Melbourne, Australia

  • Quote

Post by Jazz » Fri Nov 21, 2003 2:44 pm

OK !! i know this might sound a little stupid !!

But what i wanted was to get my framebuffer and bootsplash working with the progesbar ofcource !!

So i patched the 3.1.3 diff thats given on the first page !!

NOTE :- USE the 3.1.3 ONLY, else it might not work ! .. soo then i patched this to my 2.6-test9 kernel using :-
#cd /usr/src/linux
#patch -p1 < (pathtodiff).diff

Well.. then according to the guide i did all the changes... and i got the framebuffer !

Buyt while getting the progessbar working... do everything that the guide says ! EXCEPT in the section where it says to write append="silent" to the grub.conf ... Write splash=silent

That did the job for me !!

My grub.conf is as follows..

#Linux new kernel
title=Gentoo Linux (2.6-beta9) TESTING !!!!!!!
root (hd0,7)
kernel (hd0,7)/boot/kernel-2.6.0-test9-gentoo video=vesa:ywrap,mtrr vga=0x31A splash=silent
initrd (hd0,7)/boot/initrd-2.6.0-test9-gentoo


PLS NOTE !!! i made the kernel using the genkernel... as described by a guy on this thread !! BELIEVE ME it works wonders.. use it to get it working....

Bye,
Jassi
Top
MooktaKiNG
Guru
Guru
User avatar
Posts: 326
Joined: Mon Nov 11, 2002 2:30 pm
Location: London, UK
Contact:
Contact MooktaKiNG
Website

  • Quote

Post by MooktaKiNG » Sun Nov 23, 2003 7:12 pm

I just installed the latest development kernel, there's supposed to be a lot of extra feature support on my laptop, i got my framebuffer working, using the radeon module, (vesa for some reason didn't work). Now do i have to recompile bootsplash for it to work with kernel 2.6.0-mm-test9?

if i do, i have another problem. I can't seem to compile anything. I'll try and see what is causing this problem. :)
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Top
wickwire
n00b
n00b
User avatar
Posts: 71
Joined: Sat Dec 13, 2003 1:09 am

All of it works. Amazing.

  • Quote

Post by wickwire » Thu Jan 15, 2004 7:27 am

Well, I'd like to thank bimbo_solar for this post, I'm quite a beginner but after managing to get bootsplash working, I went for the progress bar. All is working now, it's unbelievable, so many thanks are in order plus the sharing of my experience with it along the way, so read on!

Kernels used:

linux-2.6.1-love2 ( love-sources) --> desktop Athlon XP
patched linux-2.6.1-mm1 ( mm-sources ) --> Compaq Presario 731PT notebook - using bootsplash-3.1.3-2.6.0-test9.diff from
http://forums.gentoo.org/viewtopic.php? ... bootsplash

After downloading both gz files from the main post, making the animations directory and unpacking the animations gz into it, I then moved on to the patch itself, when I compiled it ( had to move the uncompressed folder to my homedir), I got this:

Code: Select all

epm package (emerge epm)
Did that, went well, afterwards, tried compiling the patch again and got this:

Code: Select all

Should I proceed ? (y/n): y
 
Ok, your baselayout version is '1.8.6.10-r1'
Please choose a patch version that is close
to your baselayout version from the list below:
 
1) 1.8.5.9  2) 1.8.6.10  3) 1.8.6.7  4) 1.8.6.8-r1  5) 1.8.6.9
 
Which patch should I use ? (1-5):
I chose #5 (didn't see #2 :oops:), rebooted and got a bootsplash screen with a bar. However the bar was going too fast and the screen disappeared even before the boot was over, showing the boot with framebuffer in verbose mode with lots of warnings about rc and so on - but eventually it got to gdm, the display manager I'm using.

Tried it again. Back to the question above, this time chose #2, went well, rebooted. Got the bar again, but this time, perfect timing and no funny warnings during the boot! - checked again later going into verbose.

Then I noticed something funny when I made the first real shutdown: the picture on the bootsplash screen didn't match the one showing on the shutdown screen ( the shutdown progress bar was perfect in timing though, and no errors whatsoever too).

My Bootsplash jpg picture isn't bootsplash's default one, I changed it, and was expecting to have it also on the reboot/shutdown...

Being quite the n00b I still looked around bootsplash.conf files for separate boot/shutdown sections, couldn't find any, so I solved it with a nice trick:

My /etc/bootsplash directory:

Code: Select all

lrwxrwxrwx    1 root     root           24 Jan 15 01:31 default -> /etc/bootsplash/personal/
drwxr-xr-x    4 root     root          120 Jan 15 01:27 gentoo/
-r--r--r--    1 root     root        66372 Jan 15 05:26 luxisri.ttf
drwxr-xr-x    5 root     root          128 Jan 15 05:18 personal/
Where "gentoo" is the default folder (shouldn't be being used) and "personal" is the other one with my theme. :)

Code: Select all

cd /etc/bootsplash/gentoo/images/

Code: Select all

mv silent-1024x768.jpg silent-1024x768_old.jpg

Code: Select all

cp /etc/bootsplash/personal/images/my_1024x786_bootsplash.jpg /etc/bootsplash/gentoo/images/silent-1024x68.jpg
Then went for the shutdown and there it was, my boot picture in all its glory, shutting down the system instead of the default one, progress bar working to the fullest, just great!
Somehow, Bootsplash was using my custom picture to boot the SO and its default one to shut it down...
Ok, it was a simple thing, but just in case someone else stumbles upon this... :)

Thanks a lot everyone, gotta love these forums...!
Top
vdboor
Guru
Guru
User avatar
Posts: 592
Joined: Wed Dec 03, 2003 9:31 am
Location: The Netherlands
Contact:
Contact vdboor
Website

  • Quote

Post by vdboor » Thu Jan 15, 2004 8:01 pm

...this is so very cool :D I would almost consider rebooting. :oops:


there is just one little thing: I only see the network and halt animations. :( why doesn't it show the other animations as well?
The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer

[ screenies | Coding on KMess ]
Top
d3vlin
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Wed Apr 02, 2003 2:53 pm

  • Quote

Post by d3vlin » Fri Jan 16, 2004 11:41 am

just tried it again yesterday on 2.6.1-gentoo-r1, after leaving the bootsplash since 2.4.20 or something (I did have framebuffer compiled in though all the time).

It seemed to me that when using 2.6.1-gentoo-r1 kernel (gentoo-dev-sources) and latest bootsplash (0.6-r3) everything is patched already, even for the progress bar. I just follow the bootsplash howto on this forum and added splash=silent to my lilo config:

Code: Select all

# Linux bootable partition config begins
        image = /boot/bzImage-2.6.1-gentoo-r1
        root = /dev/hda2
        label = Gentoo-2.6.1-r1
        read-only
        append = "hdb=ide-scsi hdc=ide-scsi splash=silent"
        vga = 794
        initrd=/boot/initrd-1280x1024
# Linux bootable partition config ends
I had some very strange results on my 15" UXVGA (1600x1200 capable, radeon M9000 driven) laptop screen when using bootsplash. While framebuffer has always worked there (1280x1024), the screen turns all white and blurry when using bootsplash. Could it be that that's todo with the bootsplash screen frequency (Hz) or something? Looking for solutions here.
Top
crazedmodder
n00b
n00b
Posts: 24
Joined: Wed Oct 22, 2003 10:22 am

  • Quote

Post by crazedmodder » Sun Jan 18, 2004 5:14 pm

Is there any way to change the color of the bootsplash text and split it onto two lines?
(ie: Booting orangedeamon.crazedmods.com
Press F2 for verbose mode...)


Thank you :)
Top
grzewho
l33t
l33t
User avatar
Posts: 626
Joined: Tue Dec 31, 2002 12:30 pm
Location: /home/g

  • Quote

Post by grzewho » Sun Jan 18, 2004 9:08 pm

@crazedmodder:

yes, its very easy. all the text parameters are described in /etc/bootsplash/theme/config/resolution.cfg files

you can also modify the text by editting the /sbin/splash script to suit your needs

Code: Select all

USE="freedom -software_patents" emerge --deep --update world
Top
crazedmodder
n00b
n00b
Posts: 24
Joined: Wed Oct 22, 2003 10:22 am

  • Quote

Post by crazedmodder » Tue Jan 20, 2004 1:19 am

grzewho wrote:@crazedmodder:

yes, its very easy. all the text parameters are described in /etc/bootsplash/theme/config/resolution.cfg files

you can also modify the text by editting the /sbin/splash script to suit your needs
I'm able to change the color of the text on the VTs but the bootsplash text won't change colors.

Thanks :)
Top
grzewho
l33t
l33t
User avatar
Posts: 626
Joined: Tue Dec 31, 2002 12:30 pm
Location: /home/g

  • Quote

Post by grzewho » Tue Jan 20, 2004 9:00 am

you know that you have to update your initrd after each configuration change !

Code: Select all

USE="freedom -software_patents" emerge --deep --update world
Top
crazedmodder
n00b
n00b
Posts: 24
Joined: Wed Oct 22, 2003 10:22 am

  • Quote

Post by crazedmodder » Tue Jan 20, 2004 11:19 pm

I was doing it so often I wrote an alias for it :P I did :'( But only the color of the text on the virtual terminals change, the text on silent mode don't change. I'm going to change it to a dark image now so it's ok, thanks anyways :)
Top
Post Reply

32 posts
  • 1
  • 2
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy