Find the answer to your Linux question:
Results 1 to 10 of 10
currently have Grub 0.97 installed to duo-boot XP and Masterkey linux. Am trying to apply a splash screen background to the grub menu, but despite numerous "how to" guides and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! nathanrt's Avatar
    Join Date
    Jan 2008
    Location
    Coventry, UK
    Posts
    5

    Thumbs down GRUB Splash screen not showing


    currently have Grub 0.97 installed to duo-boot XP and Masterkey linux.

    Am trying to apply a splash screen background to the grub menu, but despite numerous "how to" guides and step by steps, it won't show a background. The grub menu stays in the plain old B&W text format

    Here's how the menu.lst file currently looks:
    Code:
     
    
    # GRUB configuration file '/boot/grub/menu.lst'.
    # generated by 'grubconfig'.  Thu Jan 24 10:54:00 2008
    #
    # The backup copy of the MBR for drive '/dev/hda' is
    # here '/boot/grub/mbr.hda.3355'.  You can restore it like this.
    # dd if=mbr.hda.3355 of=/dev/hda bs=512 count=1
    #
    # Start GRUB global section
    #timeout 30
    Splashimage=(hd0,1)/root/boot/grub/splash.xpm.gz
    #color light-gray/blue black/light-gray
    # End GRUB global section
    # Other bootable partition config begins
    
      title Windows XP
      rootnoverify (hd0,0)
      makeactive
      chainloader +1
    # Other bootable partition config ends
    # Linux bootable partition config begins
      title Masterkey Linux
      root (hd0,1)
    
      kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal
    # Linux bootable partition config ends
    regarding the
    Code:
    Splashimage=(hd0,1)/root/boot/grub/splash.xpm.gz
    line, I have tried it zipped and unzipped, but to no avail.
    I've also tried this line at the top of the file, again, no use!

    Linux (and the background image) is stored on hda2 (XP is hda1)

    Can anyone see/suggest anything i'm doing wrong??
    Any ideas or thoughts would be a help!!!


    Thanks
    Ned

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Did you create splash image yourself?
    Let say, Image name is Picture.jpg. Convert it using convert command.
    Execute this
    Code:
    convert Picture.jpg -resize 640x480 -colors 14 splash2.xpm
    gzip splash2.xpm
    mv splash2.xpm.gz /boot/grub/
    Add this code in grub.conf file.
    Code:
    splashimage=(hd0,1)/grub/splash.xpm.gz
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! nathanrt's Avatar
    Join Date
    Jan 2008
    Location
    Coventry, UK
    Posts
    5
    Been through that step many a time (sorry, been trying so many different ways was difficult to get it all in my first post) but thanks for such a quick response!!

    Have however found out that slackware grub might not support splashimage, so am going to look into this !!!

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    You might want to take a look at the Splashy Project. I know that it has official support for Slackware.
    oz

  6. #5
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    I've had a grub splashimage on Slackware 12, so it does support it. The only problematic thing I can see is in the path to the splash image in your menu.lst.
    Code:
    splashimage=(hd0,1)/root/boot/grub/splash.xpm.gz
    Try getting rid of the /root so it looks like this:
    Code:
    splashimage=(hd0,1)/boot/grub/splash.xpm.gz
    and see how it goes.

  7. #6
    Just Joined! nathanrt's Avatar
    Join Date
    Jan 2008
    Location
    Coventry, UK
    Posts
    5
    Ok, have tried that but to no avail.

    HOWEVER....

    I now have no GRUB screen, just a small flashing cursor (I can still pick an OS by using the up and down cursors)

    I've now tried a different image, and, annoyingly, that works!!

    So all i can think is that somewhere along the line i've not made the picture to the full requirements of GRUB, so will have a double check of that and see where it leads!
    Thanks for the help so far guys!

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You have to convert picture in a GRUB supported format only. Check post #2.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Just Joined! nathanrt's Avatar
    Join Date
    Jan 2008
    Location
    Coventry, UK
    Posts
    5
    Quote Originally Posted by devils_casper View Post
    You have to convert picture in a GRUB supported format only. Check post #2.
    Yeah am aware of that, think it's a case of checking things like max no. of colours, layer depth etc.

    Pretty sure it was all ok, but the fact that no end of other pictures i try work and my one doesnt, it's a bit of a headache!

  10. #9
    Just Joined!
    Join Date
    Oct 2008
    Posts
    1
    Quote Originally Posted by nathanrt View Post
    currently have Grub 0.97 installed to duo-boot XP and Masterkey linux.

    Am trying to apply a splash screen background to the grub menu, but despite numerous "how to" guides and step by steps, it won't show a background. The grub menu stays in the plain old B&W text format

    Here's how the menu.lst file currently looks:
    Code:
     
    
    # GRUB configuration file '/boot/grub/menu.lst'.
    # generated by 'grubconfig'.  Thu Jan 24 10:54:00 2008
    #
    # The backup copy of the MBR for drive '/dev/hda' is
    # here '/boot/grub/mbr.hda.3355'.  You can restore it like this.
    # dd if=mbr.hda.3355 of=/dev/hda bs=512 count=1
    #
    # Start GRUB global section
    #timeout 30
    Splashimage=(hd0,1)/root/boot/grub/splash.xpm.gz
    #color light-gray/blue black/light-gray
    # End GRUB global section
    # Other bootable partition config begins
    
      title Windows XP
      rootnoverify (hd0,0)
      makeactive
      chainloader +1
    # Other bootable partition config ends
    # Linux bootable partition config begins
      title Masterkey Linux
      root (hd0,1)
    
      kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal
    # Linux bootable partition config ends
    regarding the
    Code:
    Splashimage=(hd0,1)/root/boot/grub/splash.xpm.gz
    line, I have tried it zipped and unzipped, but to no avail.
    I've also tried this line at the top of the file, again, no use!

    Linux (and the background image) is stored on hda2 (XP is hda1)

    Can anyone see/suggest anything i'm doing wrong??
    Any ideas or thoughts would be a help!!!


    Thanks
    Ned
    change Splashimage=(hd0,1)/root/boot/grub/splash.xpm.gz
    to
    #Splashimage=(hd0,1)/root/boot/grub/splash.xpm.gz

  11. #10
    Just Joined! nathanrt's Avatar
    Join Date
    Jan 2008
    Location
    Coventry, UK
    Posts
    5

    Thumbs up

    whoops, sorry folks! forgot i had posted here!!!

    Solved the problem in the end (in 9 months, you'd hope i would!!)

    Turns out the problem was with my image itself and the program we had used to make it.... was saving some additional information to it that GRUB didnt like!

    Thanks for everyone's help though

    **PROBLEM SOLVED**

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •