Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66573 - grub-static not loading menu
Summary: grub-static not loading menu
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Robert Moss (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-06 15:08 UTC by James Porter
Modified: 2005-09-02 13:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Porter 2004-10-06 15:08:36 UTC
The grub-static boot loader is not loading the menu. I had configured my grub.conf and thought everything was ok but it always boots to grub shell. No error message is given..right before the shell it flashes loading stage2. I have googled and I have tried putting a menu.lst everywhere. If at the grub shell i do config-file (hd0,1)/menu.lst or /grub/grub.conf it will load the menu and boot either menu option that I want. My boot is on /dev/hda2 so that is why it is (hd0,1). AMD64 problem or maybe an old grub-static? I asked on #gentoo and #gentoo-amd64 and #grub.....I have put the menu.lst everywhere and the grub.conf almost everywhere.

Reproducible: Always
Steps to Reproduce:
1. emerge grub-static
2. setup grub
3. reboot

Actual Results:  
only goes to grub shell 

Expected Results:  
loaded my menu 

would but I don't have GUI running on it yet....kernel and gentoo base system 
working well though...I am setting up xorg...what is the name of that 
autoconfig that xfree86 had?
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-11-09 13:41:55 UTC
Please attach your grub config file, and the output of "emerge info" like the system tells you to.
Comment 2 Jean-Michel Smith 2004-11-30 13:55:03 UTC
I am having a similar problem.  Grub never gets to the shell, though, it hangs with

GRUB loading stage1.5

GRUB loading, please wait... 

(see this thread for someone else having exactly the same problem):

http://forums.gentoo.org/viewtopic.php?t=245598&highlight=amd64+grub

/boot/grub/grub.conf:
[begin]
default 0
timeout 5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title=64-bit Opteron Gentoo GNU/Linux 2004-autumn
kernel (hd0,2)/boot/bzImage root=/dev/sda3

title=64-bit Opteron Gentoo GNU/Linux 2004-autumn (old kernel)
kernel (hd0,2)/boot/bzImage.1 root=/dev/sda3

title=memtest86
root (hd0,2)
kernel /boot/memtest86

title=FALLBACK 64-bit Opteron Gentoo GNU/Linux 2003-winter
kernel (hd0,1)/boot/bzImage root=/dev/sda2
[end]

and 'emerge info'
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="2004-autumn amd64"
AUTOCLEAN="yes"
CFLAGS="-march=x86-64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks notitles sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa apache2 arts avi berkdb bitmap-fonts crypt cups dga dvd dvdr encode esd f77 fam flash fortran freetds gdbm gif gphoto2 gpm gtk imlib impa innodb insecure-drivers ipv6 java jp2 jpeg kde lcms libg++ lzw lzw-tiff mikmod mozilla mozirc mpeg multilib ncurses network nls nptl oggvorbis ooo-kde opengl oss pam pda pdflib perl png python qt quicktime radeon readline sdl slp spell ssl tcltk tcpd theora tiff truetype usb userlocales xinerama xml xml2 xmms xpm xrandr xv zlib video_cards_radeon"
[end]

I am using grub-static per the docs.  I have an old 64-bit installation with grub-static that works (and if I use that set of partitions to install grub from, grub magically works again).  I have installed numerous 64-bit systems, and this problem has just appeared in the last couple of weeks.
Comment 3 Honza 2005-09-01 06:01:31 UTC
I have similar problem as original post on amd64, but using i386 kernel and i386
Gentoo with normal grub (sys-boot/grub-0.96-r2). Also, I noticed in install that
path "/boot/grub/menu.lst " (notice that space) is used, so I add symlink with
that name and no change.
Comment 4 Honza 2005-09-02 13:37:34 UTC
Ok, maybee it's not similar. It seems like my menu doesn't run (at least using
configfile) because I have some unhide before first title ... I'll try to put
them in preset menu, they are needed before reading menu.lst anyway.