View previous topic :: View next topic |
Author |
Message |
idella4 Retired Dev
Joined: 09 Jun 2006 Posts: 1600 Location: Australia, Perth
|
Posted: Thu Jul 06, 2006 5:52 pm Post subject: bootup splash[solved] |
|
|
This is perhaps the icing on the cake.
I have gentoo booting up fine; I type from the gentoo.
It would be nice to have the gentoo slpash image whil;e going through bootup.
The instructions from grub say just add a slpashimage statement in the menu.lst entry.
It doesn;t seem to work.
What I observe is that it seems to be controlled with initrd scripts.
Frankly I found it a pleasnt relief not to have to have one when doing a custom kernel.
Just how do you setup the splashimage on boot-up when gentoo is booted from ANOTHER LINUX GRUB menu.lst? _________________ idella4@aus
Last edited by idella4 on Sat Jul 08, 2006 6:05 pm; edited 1 time in total |
|
Back to top |
|
|
w00ter n00b
Joined: 04 Mar 2005 Posts: 57 Location: Groningen, Netherlands
|
Posted: Thu Jul 06, 2006 6:20 pm Post subject: |
|
|
Basically you don't. You need to set it up properly once in both your menu.lst (at your current booting kernel entry) and kernel configuration. You only have 1 menu.lst and that's all you use. Furthermore there is an excellent howto on how to enable all the right stuff in your kernel to make bootsplash happen for you. Have a looksee here: http://gentoo-wiki.com/HOWTO_Framebuffer:Bootsplash:Grubsplash |
|
Back to top |
|
|
idella4 Retired Dev
Joined: 09 Jun 2006 Posts: 1600 Location: Australia, Perth
|
Posted: Thu Jul 06, 2006 6:35 pm Post subject: |
|
|
wooter
ok sounds good.
what I didn't mention id the framebuffer factor. I have to look at it a bit more but frame buffers are a source of trouble
when you have an nvidia graphics card.
I had to reconfigure the kernel and turn off framebuffer aspects just to boot up again.
shall post tomorrow _________________ idella4@aus |
|
Back to top |
|
|
w00ter n00b
Joined: 04 Mar 2005 Posts: 57 Location: Groningen, Netherlands
|
Posted: Thu Jul 06, 2006 6:47 pm Post subject: |
|
|
I haven't gotten any troubles with my nvidia card. Most important thing is to choose the right options when configuring the kernel. The howto will take care of that |
|
Back to top |
|
|
idella4 Retired Dev
Joined: 09 Jun 2006 Posts: 1600 Location: Australia, Perth
|
Posted: Fri Jul 07, 2006 11:07 am Post subject: |
|
|
ooh so close.
the packages are in. I keep missing something.
the nvidia kernel is in.
the kernel settings are adjusted, X has been redone.
I got everything except the intended image at bootup.
Someone with it working can prob. spot it fairly easily.
here is /boot
Code: |
-rw-r--r-- 1 root root 1039596 Jun 18 15:48 System.map-2.6.16
-rw-r--r-- 1 root root 1055788 Jul 7 18:19 System.map-2.6.16-gentoo-r9
-rw-r--r-- 1 root root 1070006 Jul 1 03:32 System.map-2.6.16-gentoo-r9-0
-rw-r--r-- 1 root root 1070006 Jul 4 00:29 System.map-2.6.16-gentoo-r92
lrwxrwxrwx 1 root root 1 Jun 7 13:12 boot -> .
-rw-r--r-- 1 root root 44716 Jul 7 18:18 config-2.6.16-gentoo-r9
-rw-r--r-- 1 root root 43420 Jun 8 15:40 config-2.6.16-gentoo-r9-0
-rw-r--r-- 1 root root 762163 Jul 7 18:34 fbsplash-gentoo-1280x1024
drwxr-xr-x 2 root root 4096 Jul 4 01:27 grub
-rw-r--r-- 1 root root 0 Jul 7 18:28 initrd-1280x1024
-rw-r--r-- 1 root root 2373059 Jul 1 14:39 kernel-1.6.16.-gentoo-r9-0
-rw-r--r-- 1 root root 3450665 Jul 7 18:18 kernel-2.6.16-gentoo-r9
-rw-r--r-- 1 root root 2377576 Jul 5 00:43 kernel-2.6.16-gentoo-r92
|
yes there's a bit of repetition at the moment. They are spares in case of the dreaded boot up problems. They will go later.
now remember the mbr's grub points to another system's grub list, namely SUSE's in this case.
here is the entry for the gentoo
Code: | # For booting GNU/Gentoo
title Gentoo Linux 2.6.16-r9
root (hd1,3)
kernel /boot/kernel-2.6.16-gentoo-r9 root=/dev/hdb4 video=vesafb:1280x1024-16@60,ywrap,mtrr vga=0x31A splash=verbose
initrd /boot/fbsplash-gentoo-1280x1024
splashimage=(hd1,3)/boot/grub/splash.xpm.gz
|
I've tried a few variations.
On bootup, there is an image that appears. The standard tux penguin a la knoppix in the top left corner, about 4 x 4 cm..
I suppose the little tux has displaced an instance of the splash.
What adjustment does it take to get a full background splash image? _________________ idella4@aus |
|
Back to top |
|
|
w00ter n00b
Joined: 04 Mar 2005 Posts: 57 Location: Groningen, Netherlands
|
Posted: Fri Jul 07, 2006 4:15 pm Post subject: |
|
|
As far as I know that little tux has got to go. I think that's the bootlogo you're not supposed to have. From the howto:
For any kernel do NOT enable the following options or else you risk bootsplash not working or framebuffer corruption when switching VTs (then check screenshots).
Furthermore I haven't gotten 1280x768 to work yet. Only 1024x768. Also your initrd-1280x768 is zero bytes. I guess you have skipped a step in the fabulous howto. So my advice is: go through it more carefully and it will work for you. |
|
Back to top |
|
|
idella4 Retired Dev
Joined: 09 Jun 2006 Posts: 1600 Location: Australia, Perth
|
Posted: Fri Jul 07, 2006 4:45 pm Post subject: |
|
|
w00ter
hmm yes. That is the little tux you refer to.
At boot I am getting a 1280 x 1024 resolution allright for text display.
The entry of 0 bytes is a foiled attempt of the second option to install an initrd.
But w00ter, you said ....... do NOT enable the following options .....
but then you didn't say which options.
The whole thing has taken second place to the nvidia card.
I posted a separate query under kernel hardware.
You said you have an nvidia card.
Take a look at the post and you might be in a position to help straighten that one out instead.
It's late now. Shall try again tomorrow. _________________ idella4@aus |
|
Back to top |
|
|
BRPXQZME Apprentice
Joined: 23 Mar 2006 Posts: 163 Location: Centreville, VA
|
Posted: Fri Jul 07, 2006 11:36 pm Post subject: |
|
|
w00ter wrote: | As far as I know that little tux has got to go. I think that's the bootlogo you're not supposed to have. From the howto:
For any kernel do NOT enable the following options or else you risk bootsplash not working or framebuffer corruption when switching VTs (then check screenshots).
Furthermore I haven't gotten 1280x768 to work yet. Only 1024x768. Also your initrd-1280x768 is zero bytes. I guess you have skipped a step in the fabulous howto. So my advice is: go through it more carefully and it will work for you. | 1280x768? What is that? I have 1280x800 working fine (with radeonfb, YMMV), although it took a little out-of-the-box thinking to realize that if you don't specify a silent picture, radeonfb gets confused and sets the framebuffer to 1280x1024 until the init script gets around to setting verbose mode. Don't know how it'd work with vesafb, though.
Quote: | But w00ter, you said ....... do NOT enable the following options .....
but then you didn't say which options. | He's referring to where it says that in the wiki. The tux bootup logo doesn't hurt anything for me, but then again he gets clobbered a split second after he shows up when fbsplash kicks in, so I disabled it.
I don't have too much understanding of what is or isn't working for, so I'll just say what is working for me (note that I'm using a non-standard widescreen framebuffer!): Quote: | boing ~ # cd /etc/splash/vgcats/
boing vgcats # ls
1280x800.cfg images
boing vgcats # ls images/
verbose-1280x800-256.png verbose-1280x800.jpg
boing vgcats # cat 1280x800.cfg
state=1
pic=/etc/splash/vgcats/images/verbose-1280x800.jpg
silentpic=/etc/splash/vgcats/images/verbose-1280x800.jpg
pic256=/etc/splash/vgcats/images/verbose-1280x800-256.png
silentpic256=/etc/splash/vgcats/images/verbose-1280x800-256.png
version=2
tx=0
ty=0
tw=1280
th=800
fgcolor=7
bgcolor=0
boing vgcats # splash_geninitramfs -g /boot/fbsplash-vgcats-1280x800 vgcats
boing vgcats # cat /boot/grub/grub.conf
default 0
timeout 3
splashimage=(hd0,4)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.17-no2
root (hd0,4)
kernel /vmlinuz-2.6.17-no2 root=/dev/hda7 video=radeonfb:ywrap,accel,mtrr,1280x800-32 splash=verbose,theme:vgcats
initrd /fbsplash-vgcats-1280x800
title=Windoze XP Home SP2
rootnoverify (hd0,1)
makeactive
chainloader +1
boing vgcats # | It took me a year of experimenting on-and-off before I finally got this combo to work 100% the way I wanted it to, so don't feel disappointed if you have difficulties doing the same for your own machine _________________ Firefox is spelled F-i-r-e-f-o-x - only the first letter capitalized (i.e. not FireFox, not Foxfire, FoxFire or whatever else a number of folk seem to think it to be called.) The preferred abbreviation is "Fx" or "fx".
FF = Final Fantasy. |
|
Back to top |
|
|
idella4 Retired Dev
Joined: 09 Jun 2006 Posts: 1600 Location: Australia, Perth
|
Posted: Sat Jul 08, 2006 6:04 pm Post subject: |
|
|
by jove I think I've got it.
Code: |
#For booting GNU/Gentoo
title Gentoo Linux 2.6.16-r9
root (hd1,3)
kernel /boot/kernel-2.6.16-gentoo-r9 root=/dev/hdb4 video=vesafb:ywrap,mtrr,1280x1024-16@76 splash=verbose,theme:emergence
initrd /boot/fbsplash-emergence-1280x1024
#splashimage=(hd1,3)/boot/grub/splash.xpm.gz
|
_________________ idella4@aus |
|
Back to top |
|
|
|