You are not logged in.
Pages: 1
Hi folks, i am unable to get any splashimage with grub-gfx. I recently installed this package in place of vanilla grub and made the requisite changes to the menu.lst file. grub behaves normally except, it shows no image.
here's my menu.lst file:
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# general configuration:
timeout 5
default 0
#color light-blue/black light-cyan/blue
splashimage /boot/grub/splash.xpm.gz
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/57d3bc74-e3af-4ca6-9662-6a92c9b4f430 ro vga=792
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/57d3bc74-e3af-4ca6-9662-6a92c9b4f430 ro
initrd /boot/kernel26-fallback.img
# (2) Windows
title The Other OS
rootnoverify (hd0,0)
makeactive
chainloader +1
i even commented out the colors line to see if it makes a difference, but still no difference.
Offline
http://wiki.archlinux.org/index.php/Gru … figuration
Note: This line is relative to GRUB's root partition, meaning if you have your own /boot partition, the above should read:
splashimage /grub/arch.xpm.gz
Can you please tell me what's the output of 'locate splash.xpm.gz' i.e. where do you have that file?
Last edited by karol (2010-07-19 01:30:25)
Offline
I don't have a separate boot partition.
splash.xpm.gz is installed inside /boot/grub/.
$ locate splash.xpm.gz
/boot/grub/splash.xpm.gz
Offline
Did you reinstall GRUB? The wiki says "Finally, it is necessary to (re)install GRUB to overwrite your current GRUB installation or bootloader. "
Offline
yes, i entered grub shell and issued the following commands:
grub> root (hd0,4)
grub> setup (hd0)
And grub installed successfully.
here's the output of fdisk -l, just in case
$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2c8e2c8d
Device Boot Start End Blocks Id System
/dev/sda1 * 63 30989384 15494661 7 HPFS/NTFS
/dev/sda2 30989385 89755154 29382885 7 HPFS/NTFS
/dev/sda3 89755155 114945074 12594960 83 Linux
/dev/sda4 114945075 156296384 20675655 5 Extended
/dev/sda5 114945138 152087354 18571108+ 83 Linux
/dev/sda6 152087418 156296384 2104483+ 82 Linux swap / Solaris
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x19de19dd
Device Boot Start End Blocks Id System
/dev/sdb1 63 220395734 110197836 83 Linux
/dev/sdb2 220395735 457306289 118455277+ 83 Linux
also, if it's of any use, i got an error with the grub-install method:
$ sudo grub-install /dev/sda
/dev/disk/by-uuid/../../sda5 does not have any corresponding BIOS drive.
and hence, i used the grub shell, instead,
Last edited by x33a (2010-07-19 06:59:33)
Offline
Are you using KMS? 'vga=792'? IIRC ideo options are deprecated.
Please uncomment
#color light-blue/black light-cyan/blue
Edit: wrt to your error: http://www.cyberciti.biz/faq/error-devh … -solution/
Edit 2: From the wiki "Splash images have to be .xpm.gz file type, 640x480, and only 14 colors." Maybe try switching to 'vga=769'
Last edited by karol (2010-07-19 07:27:05)
Offline
well firstly, i am not using kms.
secondly, i tried the cyberciti solution and it didn't work. i even removed the vga line to see if makes any difference, but it didn't.
so now, i have switched back to grub vanilla, as getting graphical grub wasn't exactly a necessity.
Maybe when grub2 matures more, i'll switch to that.
Anyway, thanks a lot for all the help you had to offer
Offline
Pages: 1