I upgrade a one year old Gentoo to ../profiles/default-linux/x86/2006.1/server Apart a problem with gcc too old on glibc-2.4 compilation solved by gcc upgrade how-to, upgrade goes smooth until next reboot. grub was upgraded from 0.96-r2 to 0.97-r2 On next boot, grub stop to minimal bash like screen with grub> prompt I would have think to have a big warning that grub has to be reinstalled if it is really the case. My /boot partition is not automaticly mounted after boot. Could it be related? I had too reinstall grub again AND reboot to solve the issue. I do root (hd0,0) setup (hd0) emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.4-r4, 2.6.17.6 i686) ================================================================= System uname: 2.6.17.6 i686 AMD Athlon(TM) XP 2800+ Gentoo Base System version 1.12.6 Last Sync: Sat, 25 Nov 2006 12:31:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.3.4, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux ldap libg++ mailwrapper mysql ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session snmp spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
grub won't reinstall itself, it's your responsibility to do it... Fail to see the bug here.
Should'nt there be a very big warning that your machine will be unusable after the emerge unless you are one of the king of the grub> prompt? I didn't uninstall the working grub-0.96-r2. I just emerge and find my machine unusable after. Is this not a bug that you are not warned before and so you could prepare to fix the issue before to be send in grub prompt restrictive world?
my guess is you dont have a grub.conf just a menu.lst post the output of `ls -l /boot/grub/`
ls /boot/grub device.map barton ~ # ls -l /boot/grub total 4 -rw-r--r-- 1 root root 30 Oct 24 2005 device.map barton ~ # mount /dev/hda1 /boot barton ~ # ls -l /boot/grub total 1011 -rw-r--r-- 1 root root 197 Oct 24 2005 default -rw-r--r-- 1 root root 30 Oct 15 2005 device.map -rw-r--r-- 1 root root 7456 Nov 26 00:35 e2fs_stage1_5 -rw-r--r-- 1 root root 7296 Nov 26 00:35 fat_stage1_5 -rw-r--r-- 1 root root 6592 Nov 26 00:35 ffs_stage1_5 -rw-r--r-- 1 root root 1065 Jul 22 09:45 grub.conf -rw-r--r-- 1 root root 1624 Nov 26 00:35 grub.conf.sample -rw-r--r-- 1 root root 941 Oct 24 2005 grub.liste -rw-r--r-- 1 root root 6592 Nov 26 00:35 iso9660_stage1_5 -rw-r--r-- 1 root root 8064 Nov 26 00:35 jfs_stage1_5 lrwxrwxrwx 1 root root 9 Oct 15 2005 menu.lst -> grub.conf -rw-r--r-- 1 root root 6720 Nov 26 00:35 minix_stage1_5 -rwxr-xr-x 1 root root 196836 Oct 15 2005 nbgrub -rwxr-xr-x 1 root root 197860 Oct 15 2005 pxegrub -rw-r--r-- 1 root root 9056 Nov 26 00:35 reiserfs_stage1_5 -rw-r--r-- 1 root root 33856 Nov 26 00:35 splash.xpm.gz -rw-r--r-- 1 root root 512 Nov 26 00:35 stage1 -rw-r--r-- 1 root root 102236 Nov 26 00:35 stage2 -rwxr-xr-x 1 root root 196900 Oct 15 2005 stage2.netboot -rw-r--r-- 1 root root 108328 Oct 24 2005 stage2.old -rw-r--r-- 1 root root 102236 Nov 26 00:35 stage2_eltorito -rw-r--r-- 1 root root 6944 Nov 26 00:35 ufs2_stage1_5 -rw-r--r-- 1 root root 6144 Nov 26 00:35 vstafs_stage1_5 -rw-r--r-- 1 root root 8776 Nov 26 00:35 xfs_stage1_5
what you're describing shouldnt happen then ... try downgrading to 0.96-r2 and upgrading to 0.97-r2 and see if you hit this problem again if this was a common issue there'd be a ton more reports ... yours is the only one so far so something else is probably going on
i'm seeing this too (went from 0.97-r2 to 0.97-r3. i have the same entries in /boot/grub. if i do configfile /boot/grub/grub.conf at the grub prompt, i boot normally.
sorry, the grub command used is configfile /grub/grub.conf. tried removing the symlink of menu.lst to grub.conf and just copying grub.conf to menu.lst, no luck.
mounted /boot (separate partition) and re-ran grub-install, and everything is fine now. guess there was a change in the ebuild because i remember updating grub without mounting /boot before and having an unbootable system (it must have run grub-install and without /boot mounted, it just put it on the root partition)
(In reply to comment #5) > if this was a common issue there'd be a ton more reports ... yours is the only > one so far so something else is probably going on I ran into the same problem My Gentoo had not been updated since maybe 9 months. During the update, grub got updated from 0.96-r2 to 0.97-r3 After rebooting, I only got the grub> prompt, nothing more. /boot is on a separate partition and not mounted by default