Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub doesn't display properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MathieK
n00b
n00b


Joined: 11 Jan 2005
Posts: 24

PostPosted: Thu Feb 17, 2005 8:58 pm    Post subject: grub doesn't display properly Reply with quote

Hello everyone,

On both versions of gentoo I have installed, grub doesn't display properly. The splash image nor the text to choose what kernel you want to boot up into have worked. I have tried playign witht he video modes, but those are the kernel video modes so they don't affect grub (as far as I know). I have tried looking over many manuals with no success. Both machines have built/powered by ATI cards and I was wondering if there is anything specific I need to do to get grub to display properly. So far the only way I know which kernel to boot into is by memory of the grub config.

Thanks!
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Thu Feb 17, 2005 9:21 pm    Post subject: Reply with quote

Can you post your grub.conf and hardware specific ? APG, PCIe video card ? what kind of display do you have ? DVI or VGA connection ?

And can you describe, is it black screen, text or garbled screen ?
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
MathieK
n00b
n00b


Joined: 11 Jan 2005
Posts: 24

PostPosted: Thu Feb 17, 2005 9:41 pm    Post subject: Reply with quote

Here is my grub.conf file

Code:
# The Default to load into
default 0

# Timeout to load into default
timeout 15

# This is a cool looking splash image ^_^
splashimage=(sd0,0)/grub/splash.xpm.gz

# Bootup for gentoo-dev-sources 2.6.10
title=Gentoo Linux 2.6.10-r7
root(sd0,0)
kernel /kernel-2.6.10-gentoo-r7 root=/dev/sda3

# Bootup option for gentoo-dev-sources 2.6.9
title=Gentoo Linux 2.6.9-r1
root(sd0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/sda3


The card I have is a PCI Express video card on a Flat Panel monitor with a VGA output.
The other machine is an AGP Radeon 9600XT on a CRT monitor with VGA output.

At first, the screen is blank witht he flashing cursor, then you select a kernel and then it is all garbled until the kernel does its own terminal font setup to ASCII then it goes clear from there. However, if I select a kernel and some error occurs (such as undefined video mode) then it shows text with a little bit of garble, then when I go back into the menu, it shows text although garbled.

Thanks for your help!
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Fri Feb 18, 2005 6:42 pm    Post subject: Reply with quote

Stupid question, your boot partition is ext2, yes ?

Does the splash image in /boot/grub ? did you try without one ?
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
liebremx
n00b
n00b


Joined: 20 Feb 2005
Posts: 3

PostPosted: Sun Feb 20, 2005 11:44 pm    Post subject: Re: grub doesn't display properly Reply with quote

MathieK wrote:
Hello everyone,

On both versions of gentoo I have installed, grub doesn't display properly. The splash image nor the text to choose what kernel you want to boot up into have worked. I have tried playign witht he video modes, but those are the kernel video modes so they don't affect grub (as far as I know). I have tried looking over many manuals with no success. Both machines have built/powered by ATI cards and I was wondering if there is anything specific I need to do to get grub to display properly. So far the only way I know which kernel to boot into is by memory of the grub config.

Thanks!


My guess is that the splash image is not in
Code:
(sd0,0)/grub/splash.xpm.gz

I had the same problem because I was following the installation handbook without paying much attention and it assumes a separate partition for /boot which in my case wasn't.
Thus my splashimage was in
Code:
(hd0,3)/boot/grub/splash.xpm.gz
not in
Code:
(hd0,3)/grub/splash.xpm.gz
Back to top
View user's profile Send private message
MathieK
n00b
n00b


Joined: 11 Jan 2005
Posts: 24

PostPosted: Mon Feb 21, 2005 9:08 pm    Post subject: Reply with quote

Ok, well the boot partition is ext3 not ext2,
and it should be (sd0,0)/grub/... because sd0,0 is sda1 where the boot partition is. If it was sd0,2 (where my main partition is) then yes I would have to add the /boot/grub/... Unless there is something i am totally missing. As well, would that address the odd text issue as well?

Edit: adding the /boot/ at the front didn't change a thing, as I expected. However removing the splashimage line did show the screen properly.
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Mon Feb 21, 2005 9:27 pm    Post subject: Reply with quote

Good news...somehow ;)

To go further on splash image, look here :
http://ruslug.rutgers.edu/~mcgrof/grub-images/

I don't know if you used standard image or tried to make your own.... In Chapter 1, there is details about requirements for image and how to test it from command line inside grub. In case you want to play around with it.
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5


Last edited by ikshaar on Mon Feb 21, 2005 9:32 pm; edited 2 times in total
Back to top
View user's profile Send private message
MathieK
n00b
n00b


Joined: 11 Jan 2005
Posts: 24

PostPosted: Mon Feb 21, 2005 9:29 pm    Post subject: Reply with quote

Ok I will have to take a look at that. The image I had set was the default one that came with the grub ebuild so it seems odd why it wouldn't work =/
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Mon Feb 21, 2005 9:32 pm    Post subject: Reply with quote

Check also the script he gave to test if your grub support splash image or not ?? by default it should but just in case...
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
MathieK
n00b
n00b


Joined: 11 Jan 2005
Posts: 24

PostPosted: Mon Feb 21, 2005 9:51 pm    Post subject: Reply with quote

Yep, splashimage support was found so that isn't the problem.

I also tried downloading on the publicly available ones that apparently work and the result was it didn't work =/

the line was
Code:
splashimage=(sd0,0)/grub/gentleblue.xpm.gz

and that didn't work =/
Back to top
View user's profile Send private message
MathieK
n00b
n00b


Joined: 11 Jan 2005
Posts: 24

PostPosted: Mon Feb 21, 2005 10:02 pm    Post subject: Reply with quote

well I fiddled around with it and eventually got this to work

Code:
root(sd0,0)
splashimage /grub/splas.xpm.gz


It's probably not the best way to do it, but it works ^_^
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Tue Feb 22, 2005 3:19 pm    Post subject: Reply with quote

Good. May be it was a problem with scsi support in grub !? i supposed sda is a scsi drive....
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
MathieK
n00b
n00b


Joined: 11 Jan 2005
Posts: 24

PostPosted: Tue Feb 22, 2005 4:25 pm    Post subject: Reply with quote

No, my harddrive is serial ata. I believe the s stands for special because my USB thumb drive is sdb. Just a thought, however it works so I am happy. Thanks for your help ^_^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum