Results 1 to 2 of 2

Thread: Setting Up a Splash Screen for GRUB

  1. #1
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882

    Setting Up a Splash Screen for GRUB

    by Trickster

    (Transferred from the wiki by Peter)

    Warning: I assume no responsibility for any effects this information might have on you or your system. Use at your own risk.

    I use Slackware as my distro of choice. However, Slackware does not come with the option to use Grub as a boot loader; instead it uses Lilo (not that there is anything wrong with LILO.) LILO is good and reliable. It is also, on my opinion, quite ugly. So is GRUB. However, some time ago, Paulo Cesar Pereira de Andrade wrote a patch for GRUB that allows the use of a splashimage (see here) Some distributions have incorporated this patch into the version of GRUB they use. This patch won't ever be incorporated into the Main GRUB tree for a couple of reasons: it is only a 14-color-640*480 patch, the current code for GRUB has some experimental VESA code on it (see here), and the GRUB maintainer doesn't see a splashscreen as a priority at the moment (see here).
    This tutorial uses [ftp=ftp://alpha.gnu.org/gnu/grub/]GRUB 0.92[/ftp] and the 0.92 patch submitted by Richard Downing. At the moment of writing this PET, the current version of GRUB is 0.93, and there appears to be a patch for this version here. However, I have not tried it.

    • Download the source for GRUB 0.92 and decompress it. Download the patch ad put it inside the grub-0.92 directory. Decompress the patch. Apply it. patch -Np1 -i 01-grub-0.92-vga-nodeprecated.patch


    • Run the usual installation commands: ./configure, make and su -c "make install"


    • Create an image to use as a splashimage, or get one from here. The image should be 14 colors, 640*480 pixels. The file type should be .xpm, and you can gz'ip it. You can find more info on how to create this images here. Copy the image to /boot/grub/


    • Create a menu.lst file. You can find a good tutorial on GRUB here. Here is what my menu.lst file looks like:

    Code:
    # root (hd0,2)
    # kernel /boot/vmlinuz ro root=/dev/hda3 noinitrd
    # boot=/dev/hda
    default=0
    timeout=10
    splashimage=(hd0,2)/boot/grub/splash.xpm.gz
    title Slackware 9
    root (hd0,2)
    kernel /boot/vmlinuz ro root=/dev/hda3 hdc=ide-scsi hdd=ide-scsi vga=791
    title Rescue (Slackware 9 Stock)
    root (hd0,2)
    kernel /boot/vmlinuz-rescue ro root=/dev/hda3 hdd=ide-scsi hdc=ide-scsi
    vga=791
    title Windows XP
    rootnoverify (hd0,0)
    chainloader +1
    Make sure the splashimage section points to the correct image.

    • Install GRUB on the MBR. su -c grub, root (hd0,2) (substitute (hd0,2) for the hard drive and partition where your / is located.), setup (hd0)


    • Keep your rescue disk at hand, cross your fingers and reboot your machine.

    Bibliography

    http://archive.linuxfromscratch.org/...2/10/0039.html
    http://www.mail-archive.com/bug-grub.../msg06525.html
    http://archive.linuxfromscratch.org/...2/09/0084.html
    http://people.debian.org/~ingo/grub/
    http://ruslug.rutgers.edu/~mcgrof/grub-images/
    http://www.gnu.org/software/grub/


    Special thanks to McGrof and Luis Rodriguez for all the Grub info, the LFS and Debian mailing list contributors and to PBHarris for his Grub Pet.
    Send any comments to rudeboy__athotmail.com, and any flames to /dev/null.

  2. #2
    Newbie D.Brumn's Avatar
    Join Date
    Oct 2009
    Location
    United States
    Posts
    2

    Setting Up a Splash Screen for GRUB

    This is great stuff. Do you happen to still have the images for these?

Similar Threads

  1. Splash-screen for Beer lovers
    By Compunuts in forum General Chat
    Replies: 1
    Last Post: 09-20-2005, 10:48 PM
  2. GRUB GRUB GRUB GRUB "Whats Going on?"
    By Gaweph in forum Linux - General Topics
    Replies: 13
    Last Post: 03-26-2004, 05:14 PM
  3. RH7.3 boot splash screen
    By LiNuts in forum Redhat / Fedora
    Replies: 5
    Last Post: 09-06-2002, 02:04 AM
  4. Redhat 7.3 boot splash screen
    By LiNuts in forum Linux - General Topics
    Replies: 6
    Last Post: 08-22-2002, 10:37 AM
  5. Lilo Splash screen
    By gmoreno in forum Linux - General Topics
    Replies: 10
    Last Post: 02-16-2002, 08:12 PM

Bookmarks

Posting Permissions

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