Link to home
Create AccountLog in
Avatar of BharathKumarRaju DasaraRaju
BharathKumarRaju DasaraRajuFlag for India

asked on

ERROR in customizing the GRUB splash image?

Hi,

iam trying to load my custom splash image but the error it showing id can not read image as below.kindly help me on this.....
User generated image
Avatar of rindi
rindi
Flag of Switzerland image

Did you save the image as a png file?
you  can save the image as .tga

if you are using verion 2 of grub ,since it looks like rhel6 , it should work


thanks
s.deviprasad
dear bharat kumarraju ,

this is the exact procedure for removing the error: image not found  while booting the grub bootloader .

step1: the bootloader that you are using is a legacy boot loader

#grub --version will show it as 0.97 .

the matter of the fact is that it is difficult to produce the images for the splash screen .

step2: the error above can be removed ,just edit the image according to specifications provided in the  following link - this only applies to your grub bootloader , for others it is different.
http://jaeger.morpheus.net/linux/grubsplash.html

I had different experainces follwoing instructions ,
the error will go off ,but to get a better image overlay and appearence , you need to upgrade the grub boot loader to ver 2.0 which supports more formats.

step3. if you can find any splash images go to gnome-look.org and try there .

step4: place the file in xyz.xpm
and then zip it using
gzip xyz.xpm
you will get xyz.xpm.gz

step5: transerfer the files to /boot/grub
step6: edit the file menu.1st and change the spalsh image path and name to your image
xyz.xpm.gz
step6: reboot

now the error goes off .

her ein the attachment are the sample of picture you can try ....if you can get its wonder, its legacy boot laoder .

good for enterprsie linux distributions.

I would have uploaded some sample images that i hae created to remove the  error
but we get the follwing error while uploading the attachments.

any how ,try it out .

thanks
s.deviprasad
desgt.JPG
Avatar of BharathKumarRaju DasaraRaju

ASKER

Hi Deviprasad_s

Thanks a lot for your information i have tried as you said still getting same errorUser generated image
i have tried as below....and iam attaching my xpm also for you please try and help me please.....and since xpm files are not attachable i saved as txt you chage the extension as xpm by giving the save as option please


C:\VMWARE\bk>pscp C:\Users\Bharath\Desktop\fb.xpm root@192.168.183.139:/root
root@192.168.183.139's password:
fb.xpm                    | 302 kB | 302.6 kB/s | ETA: 00:00:00 | 100%

C:\VMWARE\bk>



and in the server
gzip fb.xpm

and then issued a

mv fb.xpm /boot/grub/splash.xpm.gz

overwriiten the previous file actually.....


[root@localhost grub]# grub --version
grub (GNU GRUB 0.97)
[root@localhost grub]#



[root@localhost grub]# ls -l
total 288
-rw-r--r--. 1 root root     63 Jun 18 17:32 device.map
-rw-r--r--. 1 root root  13380 Jun 18 17:32 e2fs_stage1_5
-rw-r--r--. 1 root root  12620 Jun 18 17:32 fat_stage1_5
-rw-r--r--. 1 root root  11748 Jun 18 17:32 ffs_stage1_5
-rw-------. 1 root root    834 Jul 13 21:24 grub.conf
-rw-r--r--. 1 root root  11756 Jun 18 17:32 iso9660_stage1_5
-rw-r--r--. 1 root root  13268 Jun 18 17:32 jfs_stage1_5
lrwxrwxrwx. 1 root root     11 Jun 18 17:32 menu.lst -> ./grub.conf
-rw-r--r--. 1 root root  11956 Jun 18 17:32 minix_stage1_5
-rw-r--r--. 1 root root  14412 Jun 18 17:32 reiserfs_stage1_5
drwxr-xr-x. 2 root root   1024 Jul 12 23:29 splashimages
-rw-r--r--. 1 root root  13815 Jul 13 21:15 splash.xpm.gz
-rw-r--r--. 1 root root    512 Jun 18 17:32 stage1
-rw-r--r--. 1 root root 125976 Jun 18 17:32 stage2
-rw-r--r--. 1 root root  12024 Jun 18 17:32 ufs2_stage1_5
-rw-r--r--. 1 root root  11364 Jun 18 17:32 vstafs_stage1_5
-rw-r--r--. 1 root root  13964 Jun 18 17:32 xfs_stage1_5
[root@localhost grub]#
fb.txt
dear ,

follow this steps ,your error will go,

the processes ou have followed is wrong ,and gimp in windows does not save the file properly . xpm

xpm files are special files for Xwindows system and they can not be created by standard imageeditors like gimp . it involve alot of skill to genearte the xpm file for the splash image .

its nothing by a array of characters ,written in the c -language for the splashimage .

any how ,I have attached the image called brother.txt ,change its extension to

brother.xpm
#gzip brother .xpm
you will get brother.xpm.gz

#mv /brother.xpm.gz  /boot/grub

then go to
#cd /boot/grub
#vi menu1
replace spalsh.xpm.gz with
bother.xpm.gz

#reboot

you will see an image , but not the image not found error.

I will make better images if i have abetter image editor and some c-programming -skills.

for time being ,i will leave it to you now .

hope this solve your error problem

thanks,
s.deviprasad
brother.txtsplash.txt
@deviprasad_s

Thanks a lot for your attachments and as you said the error disappears but no image dispalyed in the background....

Could you please give me a better image so that i can see and feel it...please...

Awaiting for your reply
ASKER CERTIFIED SOLUTION
Avatar of deviprasad_s
deviprasad_s
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Thank you so much for your help and suggestion