LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-25-2004, 03:39 PM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
grub splashimage


Hi, i would like to add a splashimage in my grub.
I am running grub 0.94, but i am not sure if splashimage is available, because if i add splashimage line like splashimage=(hd0,2) /boot/grub/debian_cooleye-160x120.xpm.gz
i get a black page when it boots.
Any suggestions?
 
Old 03-25-2004, 03:51 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Re: grub splashimage

Quote:
Originally posted by Harp00
Hi, i would like to add a splashimage in my grub.
I am running grub 0.94, but i am not sure if splashimage is available, because if i add splashimage line like splashimage=(hd0,2) /boot/grub/debian_cooleye-160x120.xpm.gz
i get a black page when it boots.
Any suggestions?
Do you have a space between (hd0,2) and /boot/grub/... like your post has? Go ahead and let us see the grub.conf file.
 
Old 03-25-2004, 04:28 PM   #3
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
I am a Linux newbie and i just installed Debian. It was and still is painful.
I can not connect to the net from Debian because it say unable to open modem, so i have to switch from Debian and Slackware that i know a little bit better.

Probably should fix internet connection before, but i would like to have a good bootloader too.

This is /boot/grub/menu.lst

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 1

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

splashimage=(hd0,2) /boot/grub/debian_cooleye-160x120.xpm.gz

# Pretty colours
color cyan/blue white/blue


## 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 optons 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/hda3 ro

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

## 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

## ## End Default Options ##
title Windows XP
rootnoverify (hd0,0)
chainloader +1

title Debian GNU/Linux, kernel 2.6.3
root (hd0,2)
kernel /boot/vmlinuz-2.6.3 root=/dev/hda3 ro vga=0x305
#initrd /boot/initrd.img-2.4.24-1-386
savedefault
boot

title Debian GNU/Linux, kernel 2.4.24-1-386 failsafe
root (hd0,2)
kernel /boot/vmlinuz-2.4.24-1-386 root=/dev/hda3 ro
initrd /boot/initrd.img-2.4.24-1-386
savedefault
boot

title Slackware
root (hd0,3)
kernel /boot/vmlinuz-ide-2.4.20 ro root=/dev/hda4 hdc=ide-scsi hdd=ide-
scsi
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST

I add splashimage line but i don't know if this version of grub support it, because splashimage is not colured like other istructions.
I run a script i found i a grub splashimage how-to in order to know if i have splashimage support and it say yes.
I convert the image with convert -resize 640x480 -colors 14 debian_cooleye........jpg debian_cool......xpm and the i gzipped it.
 
Old 03-25-2004, 04:37 PM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
you have a space between the (hd0,2) and /boot. Join it so it is (hd0,2)/boot like that. OR if (hd0,2) is the boot partition, then it would be (hd0,2)/grub/...

See if that helps.
 
Old 03-25-2004, 05:03 PM   #5
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Yes, great. It works now. Thank you.
 
  


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 Gorgon Linux - Software 12 12-05-2005 12:03 AM
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 and splashimage kvikki Slackware 6 08-09-2003 11:33 PM
grub splashimage mathfeel Linux - General 4 05-31-2003 02:30 AM


All times are GMT -5. The time now is 11:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration