LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-05-2004, 05:00 PM   #1
himm
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Rep: Reputation: 15
bootsplash


How do I fix my bootsplash? Instead of getting the SUSE logo, I'm getting a black console. I tried mk_initrd, but this is what I get:

Kernel image: /boot/vmlinuz-2.6.4-52-default
Initrd image: /boot/initrd-2.6.4-52-default
Shared libs: lib/ld-2.3.3.so lib/libc.so.6
Modules: kernel/fs/reiserfs/reiserfs.ko
Bootsplash: disabled for resolution 1280x1024

I still get the black console.

I tried uninstalling & reinstalling bootsplash and the suse-home bootsplash theme included in the cdrom, but still doesn't work.
 
Old 12-05-2004, 08:46 PM   #2
himm
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Just to add, I also tried mkinitd -s 1024x768 (my resolution) and now I get "Bootsplash: disabled for resolution 1024x768."
 
Old 12-06-2004, 03:44 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I am not sure if mkinitrd reads the resolution from menu.lst. What vga= parameter do you use? Did you try changing the resolution in grub? What did you do to lose your bootsplash?

The table for the Kernel mode numbers:

Code:
    | 640x480  800x600  1024x768 1280x1024
----+-------------------------------------
256 |  0x301    0x303    0x305    0x307   
32k |  0x310    0x313    0x316    0x319   
64k |  0x311    0x314    0x317    0x31A   
16M |  0x312    0x315    0x318    0x31B
 
Old 12-06-2004, 02:54 PM   #4
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
a quick note on bootsplash

bootsplash, as you may or may not know is a kernel hack, that actually requires you to patch your kernel to be able to display images at start-up time. I actually had to patch my kernel myself on my Slackware box, because it comes without bootsplash. For more information on the bootsplash project go to The Official Site or This Fansite

As I understand it SuSE helped to create this patch, so in order for me to further help you could you please tell me what you might have changed in order to make it stop working, or did it simply change one day?

Best of Luck
 
Old 12-06-2004, 03:05 PM   #5
himm
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
This happened when I reinstalled Windows. I had to install GRUB again. Now I get no bootsplash and no GRUB background.
Here's the menu.lst

Code:
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/boot/message
splashimage (hd0,2)/grub/background.xpm
###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
    kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a splash=silent desktop resume= showopts
    initrd (hd0,2)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    root (hd0,0)
    chainloader +1

[insert floppy, failsafe, etc. here]
 
Old 12-06-2004, 03:19 PM   #6
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
first of all make sure in menu.lst that the initrd tag is pointing to the right ramdisk. look in your /boot directory and check to see if that is indeed that name of the ramdisk or if there are more.

or another alternative is to try and use the splashtools to create a new ramdisk, I am not certain as to whether or not SuSE includes them, but since they use bootsplash they should.

so try this command

Code:
splash -s -f /path/to/themes/folder/current/config/bootsplash-1024x768.cfg > /boot/initrd.splash
if that command does not work there is a package here

Last edited by electronique; 12-06-2004 at 03:39 PM.
 
Old 12-06-2004, 04:00 PM   #7
himm
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
When running the splash command I get the initrd.splash file, but it doesn't have any size (it's 0 kb). When installing the package from the link above, I get this error:

syntax error: includeprog /sbin/splashpbm /etc/bootsplash/themes/SuSE-Home/images/silent-1024x768_left.pbm

^ This is only with the SUSE theme.
When using the themes bundled with bootsplash I get no errors. I'll reboot and see if it's actually done something.

Last edited by himm; 12-06-2004 at 04:08 PM.
 
Old 12-07-2004, 03:00 AM   #8
rdvs
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: SUSE
Posts: 15

Rep: Reputation: 1
Looking at your menu.lst,

vga=0x31a

is for 1280x1024. For 1024x768 you need

vga=0x317

This code specifies the resolution used by the bootsplash. It must be a 16 bit (64k) code, and the resolution you specify with the mkinitrd -s command must match. There is a table of codes earlier in this thread.
 
Old 12-07-2004, 03:43 AM   #9
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
Quote:
Originally posted by rdvs
Looking at your menu.lst,

vga=0x31a

is for 1280x1024. For 1024x768 you need

vga=0x317

This code specifies the resolution used by the bootsplash. It must be a 16 bit (64k) code, and the resolution you specify with the mkinitrd -s command must match. There is a table of codes earlier in this thread.
not necessarily, I use vga=834 for a 1400x1050 bootsplash screen

more on the note of the command, for SuSE your themes are in the '/etc/bootsplash/' folder you would execute

Code:
splash -s -f /etc/bootsplash/themes/SuSE/config/bootsplash-1024x768.cfg > /boot/initrd.splash
then have a look at the initrd.splash file in any text editor, if it appears as garbled nonsense or says 'Bootsplash Version 3' (or something along those lines i don't remember the exact context) it should have worked, make sure that the initrd points to the new ramdisk you just made, for example here is a snippet from my menu.lst

Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
     kernel (hd0,2) /boot/vmlinuz root=/dev/hde3 vga=0x31a splash=silent desktop resume=/dev/hde2 showopts
     initrd (hd0,2) /boot/initrd.splash
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bootsplash alibaba Linux - Software 3 05-03-2007 12:04 AM
Bootsplash speedemonV12 SUSE / openSUSE 10 01-07-2006 10:37 AM
bootsplash? mushmaster Linux - Software 7 02-14-2005 04:26 PM
Bootsplash ski3r Debian 4 10-18-2004 04:48 PM
bootsplash 2.4.21 chrismiceli Linux - General 1 08-01-2003 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration