View previous topic :: View next topic |
Author |
Message |
MathieK n00b
Joined: 11 Jan 2005 Posts: 24
|
Posted: Thu Feb 17, 2005 8:58 pm Post subject: grub doesn't display properly |
|
|
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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Thu Feb 17, 2005 9:21 pm Post subject: |
|
|
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 |
|
|
MathieK n00b
Joined: 11 Jan 2005 Posts: 24
|
Posted: Thu Feb 17, 2005 9:41 pm Post subject: |
|
|
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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Fri Feb 18, 2005 6:42 pm Post subject: |
|
|
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 |
|
|
liebremx n00b
Joined: 20 Feb 2005 Posts: 3
|
Posted: Sun Feb 20, 2005 11:44 pm Post subject: Re: grub doesn't display properly |
|
|
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 |
|
|
MathieK n00b
Joined: 11 Jan 2005 Posts: 24
|
Posted: Mon Feb 21, 2005 9:08 pm Post subject: |
|
|
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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Mon Feb 21, 2005 9:27 pm Post subject: |
|
|
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 |
|
|
MathieK n00b
Joined: 11 Jan 2005 Posts: 24
|
Posted: Mon Feb 21, 2005 9:29 pm Post subject: |
|
|
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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Mon Feb 21, 2005 9:32 pm Post subject: |
|
|
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 |
|
|
MathieK n00b
Joined: 11 Jan 2005 Posts: 24
|
Posted: Mon Feb 21, 2005 9:51 pm Post subject: |
|
|
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 |
|
|
MathieK n00b
Joined: 11 Jan 2005 Posts: 24
|
Posted: Mon Feb 21, 2005 10:02 pm Post subject: |
|
|
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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Feb 22, 2005 3:19 pm Post subject: |
|
|
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 |
|
|
MathieK n00b
Joined: 11 Jan 2005 Posts: 24
|
Posted: Tue Feb 22, 2005 4:25 pm Post subject: |
|
|
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 |
|
|
|