LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2005, 10:50 AM   #1
Gorgon
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Rep: Reputation: 0
Grub splashImage


Hey,

I am using Grub 0.95 on kernel 2.4.28 and my distro is Debian... I tried to setup a splashimage by adding this lines

root (hd0,2)
splashimage=/boot/grub/splashimages/gnu.xpm.gz

into

/boot/grub/menu.lst:

but at the boot time it doesn't work...


any help would be nice, thanks!!
 
Old 01-16-2005, 11:03 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Here's a nice guide to help you out.
 
Old 01-16-2005, 11:14 AM   #3
Gorgon
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
thanks

I have tried this one before, but it didn't work... so I though may be there is an alternative route... but thanks anyways!!
 
Old 01-16-2005, 11:28 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
This guide is for Gentoo but its very thorough. It may help you out a bit.
 
Old 01-16-2005, 01:15 PM   #5
Gorgon
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
thanks Ill keep trying, I am sure it is just some small stupid mistake in my config file... thanks!!
 
Old 12-03-2005, 10:40 PM   #6
int21h
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
splashimage problem

i have the same problem in splashimage in fresh installed debian
i just want to ask you if you already solve this problem?
if yes please shared me the solousion.

thank you very much
 
Old 12-04-2005, 05:42 AM   #7
Gorgon
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,

No, sorry I couldn't solve the issue in Debian, however I installed Ubuntu and it worked perfectly. I am not sure why it didn't work at the time in Debian, but my guess is that either the splashimage I was using was not the right one or the grub version didn't have support for splashimage, as Debian tends to use more stable versions of the software.

p.s. good luck debian still ROCKS!! i am switching back to debian from Ubuntu(even though there is no splashimage )
 
Old 12-04-2005, 06:59 AM   #8
int21h
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
gorgon,

dont worry, if i found the solution i will post it.

thanks for your reply.

++++++++++++++++
to all,

for those who incounter or know the solution for this kind of problem, please help.

thank you in advance
 
Old 12-04-2005, 08:02 AM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I have created and modified several splash images and it works for the most part. If you have a fancy image with too many details, it will come out crappy, even if you use 14 colors.

# Using the Gimp:
Right click on the image and click on Image->Mode->Indexed...
In the Indexed Color Conversion dialog that appears, click on the radio button "Generate optimal Palette" and in "# of colors" enter 14. Click OK. ( The image should be only 14 colors )

# Using convert utility: ( This is my preference! )
Resize the original image to 640×480 pixels, set it to 14 colors and gzip it.

convert -size 640x480 calvin.png -resize 640x480 \
-colors 14 +dither calvin.xpm && gzip calvin.xpm


# You need to add or modify a line into your grub.conf
#splashimage=(hd1,1)/boot/grub/splash.xpm.gz
splashimage=(hd1,1)/boot/grub/calvin.xpm.gz

# I hide the menu in grub.conf so the picture shows more
default=0
timeout=15
hiddenmenu
splashimage=(hd1,1)/boot/grub/calvin.xpm.gz

# You can try several images without rebooting for each one,
# just use the different image names. For Example:
At the grub boot menu, type: c ( for command mode )
grub> root(hd1,1)
grub> splashimage /home/calvin.xpm.gz

Note: I had those images in the /home folder for testing.
 
Old 12-04-2005, 09:20 PM   #10
int21h
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
i have done converting and reducing to 14 colors but same output, a black screen and a blinking cursor.

is their a possibility that the grub cannot locate the xpm.gz file?
how do i know if my boot partition is in (hd0,0) or (hd0,1) and etc...?
 
Old 12-04-2005, 09:55 PM   #11
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Can you post your menu.lst and the output of the command: fdisk -l
 
Old 12-04-2005, 11:48 PM   #12
int21h
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
int21h:/home/int21h# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 13 104391 83 Linux
/dev/hda2 14 1277 10153080 83 Linux
/dev/hda3 * 1278 1915 5124735 c W95 FAT32 (LBA)
/dev/hda4 1916 4865 23695875 f W95 Ext'd (LBA)
/dev/hda5 1916 3708 14402241 7 HPFS/NTFS
/dev/hda6 3709 3970 2104483+ 82 Linux swap / Solaris
/dev/hda7 3971 4865 7189056 83 Linux


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

#Splashimage
splashimage=(hd0,0)/boot/grub/splashimages/debsplash.xpm.gz

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.4.27-2-386
root (hd0,0)
kernel /vmlinuz-2.4.27-2-386 root=/dev/hda2 ro
initrd /initrd.img-2.4.27-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.4.27-2-386 (recovery mode)
root (hd0,0)
kernel /vmlinuz-2.4.27-2-386 root=/dev/hda2 ro single
initrd /initrd.img-2.4.27-2-386
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda3
title Microsoft Windows XP Professional
root (hd0,2)
savedefault
makeactive
chainloader +1
 
Old 12-05-2005, 12:03 AM   #13
int21h
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
this is my first Thread please take a look.

http://www.linuxquestions.org/questi...d.php?t=389012

tnx...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Grub splashimage? michaelbhahn Linux From Scratch 3 07-06-2004 03:45 AM
GRUB splashimage configuration / update GRUB rudL Linux - Software 1 05-10-2004 07:16 AM
grub splashimage Harp00 Debian 4 03-25-2004 05:03 PM
grub and splashimage kvikki Slackware 6 08-09-2003 11:33 PM
grub splashimage mathfeel Linux - General 4 05-31-2003 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 AM.

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