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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-16-2005, 10:50 AM
|
#1
|
LQ Newbie
Registered: Dec 2004
Posts: 10
Rep:
|
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!!
|
|
|
01-16-2005, 11:03 AM
|
#2
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
Here's a nice guide to help you out.
|
|
|
01-16-2005, 11:14 AM
|
#3
|
LQ Newbie
Registered: Dec 2004
Posts: 10
Original Poster
Rep:
|
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!!
|
|
|
01-16-2005, 11:28 AM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
This guide is for Gentoo but its very thorough. It may help you out a bit.
|
|
|
01-16-2005, 01:15 PM
|
#5
|
LQ Newbie
Registered: Dec 2004
Posts: 10
Original Poster
Rep:
|
thanks Ill keep trying, I am sure it is just some small stupid mistake in my config file... thanks!!
|
|
|
12-03-2005, 10:40 PM
|
#6
|
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24
Rep:
|
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
|
|
|
12-04-2005, 05:42 AM
|
#7
|
LQ Newbie
Registered: Dec 2004
Posts: 10
Original Poster
Rep:
|
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 )
|
|
|
12-04-2005, 06:59 AM
|
#8
|
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24
Rep:
|
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
|
|
|
12-04-2005, 08:02 AM
|
#9
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
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.
|
|
|
12-04-2005, 09:20 PM
|
#10
|
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24
Rep:
|
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...?
|
|
|
12-04-2005, 09:55 PM
|
#11
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Can you post your menu.lst and the output of the command: fdisk -l
|
|
|
12-04-2005, 11:48 PM
|
#12
|
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24
Rep:
|
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
|
|
|
12-05-2005, 12:03 AM
|
#13
|
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 7.04
Posts: 24
Rep:
|
|
|
|
All times are GMT -5. The time now is 09:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|