[CS-FSLUG] grub fails gentoo

Alvin Smith alvin at tux.org
Wed Feb 16 14:08:03 CST 2005


On Wednesday 16 February 2005 02:49 pm, john-thomas richards wrote:
> On Wed, Feb 16, 2005 at 02:00:35PM -0500, Alvin Smith wrote:
> > I am trying to find out how to troubleshoot grub.  What I am getting is a
> > grub prompt:
> >
> > grub>
> >
> > I have just completed a new stage 3 install of Gentoo using the Live CD
> > and generating the kernel using genkernel.
> >
> > My filesystem looks like this:
> >
> > /dev/hda1 /boot
> > /dev/hda2 /
> > /dev/hda3 swap
> > /dev/hdb1 /usr
> > /dev/hdd1 /home
> >
> > # cat grub.conf
> > default 0
> > timeout 30
> > splashimage=(hd0,0)/grub/splash.xpm.gz
> >
> > title=Gentoo Linux 2.6.10-gentoo-r6
> > root (hd0,0)
> > kernel /kernel-2.6.10-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192
> > / real_root=/dev/hda2 video=vesafb-tng:mtrr,ywrap,1024x768-32 at 85
> > initrd /initrd-2.6.10-gentoo-r6
> >
> > Can anyone shed light on this?
>
> Do you have the /boot/grub/menu.lst file?  The above looks like it
> should be in menu.lst.  My Debian/Testing box does have a grub.conf file
> anywhere on it.

Gentoo has both files menu.lst and grub.conf, which are the same (linked).


>
> I am not sure the video option will work with the resolution as listed.
> I think it needs to be a three digit number code such as 791.  The link
> below lists the options.  BTW, I do not think 32bit color depth is
> available.  I may be wrong but the list at the link does not include it
> and I have not seen the codes for it at other locations.  Just replace
> the '1024x768-32 at 85' with 'vga=791" (or whichever code you prefer).  I
> may be all wet about the syntax, though.  YMMV (and your knowledge).
> Actually, you may need to convert the code to hexadecimal format (this
> is what I use in my grub config).
>
> http://ruslug.rutgers.edu/~mcgrof/HOWTOS/framebuffer/framebuffer.php

I am just going by what the Gentoo handbook says:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10

"If you use a Gentoo patched kernel tree (such as gentoo-sources) you will 
have had the possibility of selecting vesafb-tng as the VESA driver type 
(which is default for these kernel sources). If this is the case, you are 
using vesafb-tng and do not need to set a vga statement. Otherwise you are 
using the vesafb driver and need to set the vga statement."

But wouldn't this come into play *after* making a selection from the grub 
menu?  Right now I am not getting a grub menu, just the "grub shell".

Thanks!



-- 
peace,
Alvin Smith




More information about the Christiansource mailing list