Discussion:
[gentoo-user] Configuring fbsplash
(too old to reply)
Grimaldy Soto
2005-10-28 19:40:11 UTC
Permalink
Good Day.

Guys i wanna configure so i can see a beautiful background when my machine
is upload it..

I'm using the gensplash in 5 easy steps to do this, but there are something
that i wanna know..

For example i'm using the 2.6.13-r6 Sources Kernel , i remembered that i
active the framebuffer support, so i suppossed that i don't need to
reconfigure and compile the kernel again..

If not please let me know.

Anyway i wanna know a way of to know if i need reconfigure the kernel
again..
i've emerge splashutils and also livecd 2005.1 bootsplash theme the which is
the one that i wanna configure, i did #mount /boot
later this
Create an initramfs image for fbsplash:
# splash_geninitramfs -v -g /boot/fbsplash-emergence-1024x768 -r 1024x768
emergence

and also this

# splash_geninitramfs -v -g /etc/fbsplash-livecd-2005.1 -r 1024x768
livecd-2005.1

But whichever command do i used i received the same error or warning

o creating directory structure..
o copying /sbin/splash_helper..
o copying themes..
- emergence
warning: config file for theme 'emergence' , resolution 1024x768 does not
exist!
o creating initramfs image..
-----------------
o creating directory structure..
o copying /sbin/splash_helper..
o copying themes..
- default
warning: config file for theme 'default' , resolution 1024x768 does not
exist!
o creating initramfs image..


I have in /etc/splash
the folder livecd-2005.1 and the emergance too


Could somebody please help me??

Regards

I'm reading right now
http://gentoo-wiki.com/HOWTO_fbsplash

But i cannot find help

--
"We must agree that the beauty of a work of art will always remain a
mystery, in other words, we can never be absolutely sure 'how it's made.'
We must at all costs preserve this magic which is peculiar to music and to
which, by its nature, music is of all arts the most receptive."
-Claude Debussy-
Richard Fish
2005-10-28 22:30:12 UTC
Permalink
Post by Grimaldy Soto
Good Day.
Guys i wanna configure so i can see a beautiful background when my
machine is upload it..
I'm using the gensplash in 5 easy steps to do this, but there are
something that i wanna know..
For example i'm using the 2.6.13-r6 Sources Kernel , i remembered that
i active the framebuffer support, so i suppossed that i don't need to
reconfigure and compile the kernel again..
It depends. If you just want a nice splash screen while the init
scripts are running, you should not need to recompile, as long as you
have framebuffer console support enabled. In this case, you can add
"quiet" to your kernel command line options to supress the kernel
messages, so you have a couple of seconds to look at "Starting Linux"
before the splash screen appears. Note that you do _not_ need an
initramfs for this work, just a usable framebuffer device, resolution,
and bit-depth. The "rc-update -a splash boot" step should give you a
splash screen at this point. FYI, I have found that 32-bit depths work
best.

If you want the splash to appear as early as possible (while the kernel
is initializing), you first need to determine which "sources" you are
running. Vanilla-sources does not contain the fbsplash support that is
required, so you may need to reconfigure/rebuild with gentoo-sources or
suspend2-sources. This is also the case where you need the initramfs.

The important kernel options are:

CONFIG_FB=y
CONFIG_FB_VESA=y
CONFIG_FB_VESA_TNG=y (if you want vesafb-tng, which I highly recommend)
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB_SPLASH=y

Someone else will have to help with the initramfs errors. I had to
build my initramfs manually for reasons not related to fbsplash.

HTH,
-Richard
--
gentoo-***@gentoo.org mailing list
Stroller
2005-10-28 22:40:09 UTC
Permalink
Post by Grimaldy Soto
Anyway i wanna know a way of to know if i need reconfigure the kernel
again..
i've emerge splashutils and also livecd 2005.1 bootsplash theme the
which is the one that i wanna configure,...
"bootsplash" != "splash".

Bootsplash was depreciated quite quickly, I think, and the current
splashutils are based on framebufferTNG in current kernels. You want
splash-themes-gentoo & splash-themes-livecd. I think the error you're
seeing may be because you're trying to run splash_geninitramfs on the
wrong kind of source files?

I'm afraid I'm struggling to read your message well, BTW. It would help
enormously if you said "I have followed precisely the instructions at
http://gentoo-wiki.com/HOWTO_fbsplash and step 2.4.x works great but at
step 2.4.y I get this error".

Stroller.
--
gentoo-***@gentoo.org mailing list
Holly Bostick
2005-10-29 14:30:15 UTC
Permalink
Grimaldy Soto schreef:
<snip>
Post by Grimaldy Soto
i've emerge splashutils and also livecd 2005.1 bootsplash theme the
which is the one that i wanna configure, i did #mount /boot later
this Create an initramfs image for fbsplash: # splash_geninitramfs -v
-g /boot/fbsplash-emergence-1024x768 -r 1024x768 emergence
and also this
# splash_geninitramfs -v -g /etc/fbsplash-livecd-2005.1 -r 1024x768
livecd-2005.1
But whichever command do i used i received the same error or warning
o creating directory structure.. o copying /sbin/splash_helper.. o
copying themes.. - emergence warning: config file for theme
'emergence' , resolution 1024x768 does not exist! o creating
initramfs image.. ----------------- o creating directory structure..
o copying /sbin/splash_helper.. o copying themes.. - default
warning: config file for theme 'default' , resolution 1024x768 does
not exist! o creating initramfs image..
I have in /etc/splash the folder livecd-2005.1 and the emergance too
First of all, I think your command is incorrect:

splash_geninitramfs --help
splash_geninitramfs/splashutils-1.1.9.10
Usage: splash_geninitramfs [options] [--all|theme ...]

Main operation modes:
-g, --generate=IMG generate an initramfs image with all necessary files
-a, --append=IMG append a theme and helper files (if necessary)
to an initramfs image
-c, --copy=DIR copy all necessary files into the specified directory;
DIR should point to the root directory of an initramfs
-h, --help show this help message

Options:
-r, --res=RES copy data for specific resolutions only; RES is a
comma-separated list of the resolutions for which the
images
are to be copied
-v, --verbose verbose output
--no8bpp ignore 8bpp images (can save a lot of space)

basically, you're saying

(run) splash_geninitramfs (and that program should) -v (erbosely)
-g(enerate an image called) /etc/fbsplash-livecd-2005.1 (which isn't
going to do you much good, in /etc, but whatever; least of our problems
at this point, but it should be in /boot, since this is the initramfs
itself, not where its looking for the files to be included in the
initramfs) (at a) -r(esolution of) 1024x768 (using the theme files for
the theme) livecd-2005.1

What is of concern to me is that splash_geninitramfs cannot find the
theme files to create the initramfs. Obviously, the splash will not work
in this case, because there's no theme for splash to display (the
initramfs is not correctly created).

So the first thing we need to know is why that might be.

What version of splashutils are you using? Is this an upgrade from a
pre-1.0 version?

Did you actually install the correct theme package:

* media-gfx/splash-themes-livecd

Available versions: 2004.3 2005.0 2005.1
Installed: 2005.1
Homepage: http://www.gentoo.org/
Description: Gentoo theme for gensplash consoles


or did you install the incorrect theme package

* media-gfx/bootsplash-themes-livecd
Available versions: 2004.0 2004.1 2004.2-r4 ~2004.3-r1
Installed: none
Homepage: http://www.gentoo.org/
Description: Gentoo theme for bootsplash consoles


It's also possible that you have a kernel problem (incompletely
configured)-- while you clearly need framebuffer support, there is also
a setting


# Logo configuration
#
# CONFIG_LOGO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
==>CONFIG_FB_SPLASH=y

which only becomes available if all other related settings are correctly
set... but it's possible that splash_geninitramfs may not work correctly
if it is not set (or not available).

What I would try is

1. unmerge all splash theme packages;

2. delete all leftover theme folders left in /etc/splash

3. check my /usr/src/linux symlink and make sure it was pointing to the
correct kernel;

4. re-emerge splashutils

5. emerge the theme packages again

6. set the 'default' symlink in /etc/splash to point to my preferred
theme if not emergence.

Then I would start with the http://gentoo-wiki.com/HOWTO_fbsplash and go
through it step by step, making sure that my kernel config was correct,
and recompiling the kernel if it was not. If I recompiled the kernel, I
would also re-emerge splashutils (again) so that it was compiled against
the correctly compiled kernel rather than the incorrectly compiled one).

The Wiki instructions do work, and they are to the best of my knowledge,
quite complete (which is why they work).

Your error output suggests that something on your system is improperly
installed (the idea that splashutils can't find its own theme files is a
strong indication), so the best thing to do would be to start "clean"
(or as clean as possible) and proceed carefully from there.

Hope this helps,
Holly
--
gentoo-***@gentoo.org mailing list
Michael Crute
2005-10-29 20:00:19 UTC
Permalink
Post by Grimaldy Soto
Good Day.
Guys i wanna configure so i can see a beautiful background when my machine
is upload it..
I'm using the gensplash in 5 easy steps to do this, but there are
something that i wanna know..
For example i'm using the 2.6.13-r6 Sources Kernel , i remembered that i
active the framebuffer support, so i suppossed that i don't need to
reconfigure and compile the kernel again..
If not please let me know.
Anyway i wanna know a way of to know if i need reconfigure the kernel
again..
i've emerge splashutils and also livecd 2005.1 bootsplash theme the which
is the one that i wanna configure, i did #mount /boot
later this
# splash_geninitramfs -v -g /boot/fbsplash-emergence-1024x768 -r 1024x768
emergence
and also this
# splash_geninitramfs -v -g /etc/fbsplash-livecd-2005.1 -r 1024x768
livecd-2005.1
But whichever command do i used i received the same error or warning
o creating directory structure..
o copying /sbin/splash_helper..
o copying themes..
- emergence
warning: config file for theme 'emergence' , resolution 1024x768 does not
exist!
o creating initramfs image..
-----------------
o creating directory structure..
o copying /sbin/splash_helper..
o copying themes..
- default
warning: config file for theme 'default' , resolution 1024x768 does not
exist!
o creating initramfs image..
I have in /etc/splash
the folder livecd-2005.1 and the emergance too
Could somebody please help me??
Regards
I'm reading right now
http://gentoo-wiki.com/HOWTO_fbsplash
But i cannot find help
If you follow the howto on the wiki you should get it working easily. I used
that howto following the roll your own kernel build version (I never use
genkernel) on about a dozen machines with varying hardware configurations
and have always had success, it just takes some work sometimes.

-Mike

--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation

Linux, because reboots are for installing hardware.
"In a world without walls and fences, who needs windows and gates?"
Loading...