Performed an emerge sync, then update. During update grub was updated/installed.
Rebooted laptop and didn't get the usual grub screen listing my various kernels to boot but instead ended up at a grub prompt. Had to boot of install cd and re-install an older grub that way.
Once I was back in action, tried running the grub command to update to the one installed by the emerge update. Correctly issued the root, setup, quit commands with no problems. Rebooted and back to the darn grub prompt again.
Rebooted _again_ off of an install cd an issued the same commands using the install cd's grub so that I can use my laptop again.
Steps to Reproduce:
2.emerge --update --deep world
3.reboot, get grub prompt instead of OS/kernel selection menu.
Rebooted and now get grub prompt instead of selection menu.
No effect on my ability to reboot and run an installed OS/kernel.
Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
System uname: 2.4.24 i686 Pentium III (Coppermine)
Gentoo Base System version 184.108.40.206
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="X alsa apache2 apm arts avi berkdb crypt cups doc dvd encode foomaticdb
gdbm gif gnome gphoto2 gpm gtk gtk2 imlib innodb java jpeg kde ldap libg++
libwww mad mikmod motif mozilla mpeg mysql ncurses nls oci8 oggvorbis opengl oss
pam pcmcia pdflib perl png pnp postgres python qt quicktime readline samba sdl
slang spell ssl svga tcpd tiff truetype trustedusb x86 xml2 xmms xv zlib"
Created attachment 24421 [details]
Output from emerging grub
This is the output when performing an emerge of grub. There are numerous
compiler warnings during compilation, then near the end is the message:
Unrecognized option `--just-copy'
Usage: grub-install [OPTION] install_device
Install GRUB on your drive
cp: omitting directory `/usr/lib/grub/grub'
Note the 'unrecognized option' error. and the cp omitting message. Don't know
if these are relevant or not. Just trying to provide as much info as possible.
Machine is: PIII dell laptop (inspiron 5000e).
I've just emerge'd sync etc etc and grub has been updated (to a pre 0.9.4 version), getting the same problem here, booting just dumps me at a grub prompt. Looks like the same problem as mentioned above, but I'm in Windows at the moment and can't confirm 100%.
I can verify this.
It looks like grub doesn't compile correct as there are a load of warnings that flash past during comple and practically nothing gets copied to /boot/grub.
Re-emerging the previous version works like a charm.
Only thing I have in common with the reporters setup is the same glibc version
I am also having this problem. It works if I type in configfile (hd0,0)/grub/grub.conf at the grub prompt (but the splashimage doesn't work), leading me to believe that perhaps it doesn't correctly recognize the 'root' directive or something similar to this.
Within /boot/grub symlink "menu.lst" to "grub.conf". It seems that the new version of grub isn't using grub.conf (it uses menu.lst) instead. Symlinking should fix everything.
Sorry for the double post, but I just realized I was having these problems with grub 0.93.20040125, not grub 0.93.20031222. I also see that 20040125 was removed from portage or masked (not sure which atm). I have not yet tried 20031222 (I've been using LILO up to this point, was planning on converting to grub today).
Just emerged grub-0.93.20040125 and now I can only boot to a grub text menu (i.e. no bootsplash). "menu.lst" is symlinked to "grub.conf" but doesn't have any effect.
Well, I'm on the new one and it works fine here. Glibc 2.3.2, gcc 3.3.2, kernel 2.6.1-rc1.
Can confirm here that you need the /boot/grub/menu.lst symlink to /boot/grub/grub.conf to get grub-0.93.20031222 to work.
Ansd also that the splash screen doesn't work any more - the gzipped xpm is still there though.
I too (origina reporter) confirm the following:
1. ln -s /boot/grub/grub.conf /boot/grub/menu.lst 'fixes' the booting issue.
2. No pretty grub screen -> plain jane black and white menu.
I highly recommend that the ebuild at some point automatically create the required link. I find it very annoying as an end user to have this happen - a newbie might very well assume there system is totally hosed and think a re-install is in order. Performing this link automatically solves the problem, and should be maintained for the future as a 'just in case'.
The Gentoo Installation Guide has this in it-
"Important: To ensure backwards compatibility with GRUB, make sure to make a link from grub.conf to menu.lst. You can do this by typing ln -s /boot/grub/grub.conf /boot/grub/menu.lst."
Although it seems now that the symlink is needed for forwards compatability as well.
Anyone got a solution to the splash image problem?
As for the reference to the installation manual stating the need for the backwardly compatible link for menu.lst: It is NOT included in the Handbook Installation Guide.
I DO remember that it was specified in the original installation guide. But since it wasn't specified in the new handbook I didn't think it was necessary anymore. Hence to make it easier on the end user they should just automagically create it in the ebuild script (or at least check for it's presence, then create it if it's not there).
I still have not come across a fix for the splash image yet.
hi listen, sorry about this -- I'll be updating grub tonight with both splashimage stuff and the menu.lst/grub.conf stuff
My apologies. In my rush to get this out the door for the ext2/3-acl issue, I neglected those patches. Stand by, everyone, grub will return as normal, shortly.
Uhhh, did I miss something or has grub not been updated to fix this?
I have a symbolic link to grub.conf and it still won't boot. All I get is a grub command prompt.
Grub 20031222 did render two systems of mine unusable.
One was a machine I just installed from scratch: during Grub installation, the command "setup (hd0)" would fail. Reason: all stage1* files where missing in /boot/grub. The second machine was just updated and after update would just boot into Grub console. Adding "=sys-boot/grub-093.20031222" to my packages.mask and then emerging an older version of Grub did fix both boxes.
To boot enter on grub command prompt "kernel /boot/bzImage" and then "boot"
I sure do wish I would look at bugs before I freak out. I rebooted off the liveCD 3 times before I realized there was no symlink to grub.conf. What happened to the good old days when you didn't need a menu.lst? But, I am still stuck with the ugly white on black grub screen.
Grub 0.94 fixes booting for both new installations and updates. Only background image function is broken: no background image is displayed with 0.94.
grub 0.94-r1 fixes splashimage functionality that was broken with 0.94
closing this bug
Note that you have to RE-RUN 'grub' after installing the new version or the menu will still not work!