View previous topic :: View next topic |
Author |
Message |
irktruskan n00b
Joined: 02 Apr 2004 Posts: 7
|
Posted: Fri Apr 02, 2004 3:48 pm Post subject: grub splashimage troubleshooting |
|
|
Hopefully I nailed the right forum. Apologies if I didn't.
The problem I can't seem to solve is relative to grub and it's splashimage feature. I get a wonderfully black screen, regardless of the splashimage used. Grub is working, and I can use the arrows to choose the option, then hit enter to have it boot the right partition. I'm just as blind as can be while I'm doing it. Once I choose an option, grub drops to a text mode, and I see the booting XXXX... message. It's not a big detail, but I'm having a bugger of a time trying to fix it on my own.
possibly helpful information:
shiri robb # grub --version
grub (GNU GRUB 0.93)
shiri robb # cat /boot/grub/grub.conf
default 0
timeout 30
splashimage=root(hd0,1)/grub/splash.xpm.gz
title=Gentoo 2.6
root (hd0,1)
kernel /kernel-2.6
title=Windows XP
rootnoverify (hd0,0)
chainloader +1
laptop:
Dell Inspiron 8200
nVidia Geforce 4 Go 440, 64mb
1.6ghz Intel P4-M
(can dig up more hardware specs if needed) |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Apr 02, 2004 4:58 pm Post subject: |
|
|
splashimage=root(hd0,1)/grub/splash.xpm.gz
Code: |
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
|
As you don't seem to use an extra /boot partition. |
|
Back to top |
|
|
irktruskan n00b
Joined: 02 Apr 2004 Posts: 7
|
Posted: Fri Apr 02, 2004 5:02 pm Post subject: |
|
|
Earthwings wrote: | splashimage=root(hd0,1)/grub/splash.xpm.gz
Code: |
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
|
As you don't seem to use an extra /boot partition. |
I do, and it is 1 (/dev/hda2). Root is /dev/hda5 (it's ugly, I know)
The thing boots fine (into both operating systems) just when I try to use a splashimage I'm greeted with emptiness. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Apr 02, 2004 5:25 pm Post subject: |
|
|
Why does it boot then without the root=/dev/hda5 parameter
However, the line is still the one that should give you the splashscreen |
|
Back to top |
|
|
huw Apprentice
Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Fri Apr 02, 2004 6:26 pm Post subject: |
|
|
I'm surprised it boots without passing the root partition to the kernel.
Anyway
Code: | splashimage=root(hd0,1)/grub/splash.xpm.gz |
should be Code: | splashimage=(hd0,1)/grub/splash.xpm.gz |
|
|
Back to top |
|
|
irktruskan n00b
Joined: 02 Apr 2004 Posts: 7
|
Posted: Fri Apr 02, 2004 6:26 pm Post subject: |
|
|
It boots. I guess you'll have to trust me on that one.
I bet, in grub's mind, it's showing the splash screen (it's not limited to gentoo's, other screens dont work either) but it's fired up an invalid mode, so my lcd just goes blank. *ponders some more* |
|
Back to top |
|
|
huw Apprentice
Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Fri Apr 02, 2004 6:47 pm Post subject: |
|
|
Yeah, I've just tried removing the root=/dev/ parameter from my grub.conf and it still boots.
Did modifying the splashimage line work? |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Apr 02, 2004 8:02 pm Post subject: |
|
|
Got curious and found this.
man bootparam wrote: |
`root=...'
This argument tells the kernel what device is to be used as the root
filesystem while booting. The default of this setting is determined at
compile time, and usually is the value of the root device of the system
that the kernel was built on.
|
|
|
Back to top |
|
|
irktruskan n00b
Joined: 02 Apr 2004 Posts: 7
|
Posted: Sun Apr 04, 2004 10:26 pm Post subject: |
|
|
huw wrote: | Yeah, I've just tried removing the root=/dev/ parameter from my grub.conf and it still boots.
Did modifying the splashimage line work? |
Yes, it did. Thanks for catching my brain damage. |
|
Back to top |
|
|
|