Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12570 - grub-gfx not using splashimage on fakeraid with dmraid

Attached to Project: Community Packages
Opened by André Fettouhi (A.Fettouhi) - Thursday, 25 December 2008, 09:33 GMT
Last edited by Ionut Biru (wonder) - Monday, 18 May 2009, 09:37 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

For some reason this package doesn't work with dmraid on a machine running fakeraid (RAID 0). I installed this package during the installing of Arch Linux from CD. I first installed grub, then mounted my new installation and then I removed grub and installed grub-gfx. After that I continued with installation of grub itself (see fakeRAID in the wiki). Grub was installed and runs fine but the splashimage doesn't appear (and the colors in grub are the same as for the grub package) when grub is loaded (the splashimage line is present in menu.lst). What can have gone wrong?


Additional info:
* package version(s)
* config and/or log files etc.

grub-gfx 0.97-9

Here is my menu.lst file. Can it be that the path for splashimage is wrong?

# 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,0)
kernel /boot/vmlinuz26 root=/dev/mapper/isw_baaggideei_Volume01 ro quiet vga=791 splash
initrd /boot/kernel26.img

# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/mapper/isw_baaggideei_Volume01 ro
initrd /boot/kernel26-fallback.img

Steps to reproduce:

Install grub-gfx on machine running fakeraid.
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 18 May 2009, 09:37 GMT
Reason for closing:  Not a bug
Comment by André Fettouhi (A.Fettouhi) - Sunday, 11 January 2009, 14:30 GMT
Have tried to change the splashimage line to

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

and

splashimage (hd0,0)/boot/grub/splash.xpm.gz

but no change.

Regards

André
Comment by André Fettouhi (A.Fettouhi) - Thursday, 15 January 2009, 11:07 GMT
Well, I updated this package (0.97-10) and still the splashimage won't appear but I figured out how to update grub with fake-raif without using the installer CD. Just do the following

# dmsetup mknodes
# grub --device-map=/dev/null
grub> device (hd0) /dev/mapper/baaggideei_Volume0
grub> geometry (hd0) C H S
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

C H S are the number of Cylinders, Heads and Sectors on the RAID. you get these by doing fdisk -l and "baaggideei_Volume0" is the name of my RAID 0 in /dev/mapper baaggideei_Volume01, baaggideei_Volume02 and baaggideei_Volume03 are the partitions on my RAID 0 (root (/),swap and /home).

Regards

André
Comment by André Fettouhi (A.Fettouhi) - Monday, 19 January 2009, 07:18 GMT
I think I may have found out why the splashimage isn't showing. When I did the initial installation of Arch Linux, grub was installed like mentioned in the wiki (see below)

* Install GRUB on /dev/mapper/raid_set

Exchange C H S below with the proper numbers and be aware that they are not entered in the same order as they are read from cfdisk.

# dmsetup mknodes
# grub --device-map=/dev/null
grub> device (hd0) /dev/mapper/raid_set
grub> geometry (hd0) C H S

If geometry is entered properly, GRUB will spit out a list of partitions found on this RAID Set.

grub> root (hd0,0)
grub> setup (hd0)
grub> quit
# reboot

but now I have installed grub as

# dmsetup mknodes
# grub --device-map=/dev/null
grub> device (hd0) /dev/mapper/baaggideei_Volume0
grub> geometry (hd0) C H S
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

So it may seem that I'm using grub in /dev/mapper/raid_set. So the question is how do I use grub /dev/mapper/baaggideei_Volume0 and delete the other one?

Regards

André
Comment by André Fettouhi (A.Fettouhi) - Wednesday, 08 April 2009, 12:14 GMT
FINALLY!!! I got this working. I was trying to get grub2 installed on my machine because I want a splashimage in grub. But since grub2 doesn't have a grub prompt I gave up and went back to grub-gfx. I reinstalled grub by doing

# dmsetup mknodes
# grub --device-map=/dev/null
grub> device (hd0) /dev/mapper/isw_baaggideei_Volume01
grub> geometry (hd0) C H S (60801 255 63 in my case)
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

reboot and the spalshimage was there. So close this one it works.

Regardss

André

Loading...