Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67703 - sys-boot/grub does not run install correctly after upgrade from pre-menu.lst dependant grub
Summary: sys-boot/grub does not run install correctly after upgrade from pre-menu.lst ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Robert Moss (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 12:08 UTC by Michael Crawford (ali3nx)
Modified: 2004-11-09 13:51 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 Michael Crawford (ali3nx) 2004-10-15 12:08:51 UTC
after updating to the new grub snapshot from a system with no menu.lst symlink (x86 ~~> ~x86 first bootstrapping with x86 then setting APPECPT_KEYWORDS="~x86" and running emerge -uD world completing a full system update) dependant grub install; grub will not run install with a menu.lst path to the grub menu and subsequently fail to boot after reinstalling the mbr sectors. So i installed grub's mbr sectors with the install command again manually with menu.lst as the target that worked. Basically my submission is that older grub versions in x86 arent updating properly. A new ~x86 bootstrapped system runs setup (hd0) and it installs a menu.lst target howwver the latter will not. i have a system i just built last night will not boot same related problem the new shapshot updates from 0.94 or older and grub still runs install with the grub.conf as the target. 
 I've attempted to boot from the livecd and re-make the symlinks to attempt to satisfy the problem but it did not resolve the issue. also re-emerging grub did not solve the issue in any current x86 or ~x86 version in the tree. After consulting kloheri on oct. 09th it was decided that filing a bug would be the wisest course of action. My apaologies for not filing the bug sooner... I've been extremely busy with work.

Reproducible: Always
Steps to Reproduce:
1. install a fresh x86 keyworded gentoo install from a 2004.2 x86 stage1
2. install grub as usual completing the installation process with gentoo-dev-sources

3. re-keyword the installation to ~x86 unmasking
4. update to the unstable branch of the tree.
5. from grub shell re-install the boot sectors and observe the output of the install command

Actual Results:  
one system failed to boot entirely on one system with either grub conf install
target and would only boot on another after reinstalling the boot sector
manually from grub shell with  /grub/menu.lst as the boot sector's grub menu target

Expected Results:  
grub should run install with /grub/menu.lst for menu.lst symlink dependant grub
versions

both systems are currently unavailable for emerge info. I will repost laster
today hopefully with the information.
Comment 1 Michael Crawford (ali3nx) 2004-10-17 22:40:33 UTC
emerge info from system #1 - first occurance of the bug
-------------------------------------------------------
itunes ~ # emerge info
Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.
8-gentoo-r6 i686)
=================================================================
System uname: 2.6.8-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/con
fig /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo http://adelie.polymtl.ca/ http://gentoo.osuosl.org/
ftp://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://ge
ntoo.mirrors.pair.com/ http://gentoo.eliteitminds.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X X509 aac acl acpi activefilter adns aim alsa apache2 apm arts audiof
ile avantgo avi bcmath bdf berkdb bidi bitmap-fonts bluetooth bzlib cap cddb cdi
nstall cdparanoia cdrom cgi chroot cjk client cpdflib crypt ctype cups curl curl
wrappers dba dio divx4linux djbfft dnd droproot dv dvb dvd dvdr dvdread edl emac
s emacs-w3 encode erandom esd exif ext-png ext-zlib extensions f77 faac faad fam
fastcgi fbcon ffmpeg flac flash fluidsynth fmod foomaticdb foreign-package fore
ign-sysvinit freetds freetype freewnn ftp gb gcj gcl gd gdbm geoip gif gimp gimp
print ginac glade glgd glut gmp gmtfull gnome gnomedb gnuplot gpm gps gs gsl gst
reamer gtk gtk2 gtkhtml hardenedphp hbci hdf iconv icq ide idl ieee1394 image im
agemagick imap imlib imlib2 innodb ipv6 irda irmc j2ee jabber java javacomm java
doc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta juni
t jython kadu-voice kakasi kde kerberos krb4 lcd lcms leim libdsk libg++ libgd l
ibgda libwww live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matros
ka mbox mcal mdb memlimit mhash migemo mikmod mixer mldonkeypango mmap mmx mmx2
mng motif mozcalendar mozdomi mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mplayer ms
n mssql mule music mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native nc
urses net network nls nptl ntlm nvidia nviz oav objc ocaml odbc offensive ofx og
gvorbis openal opengl opie oscar oss pam parse-clocks pcap pcntl pda pdflib perl
pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png portaudio posix ppd
s print psyco pthreads python qt quicktime quotes readline rhino rogue rplay rtc
samba sasl sdl servlet-2.3 servlet-2.4 session shaper shared sharedmem sheep si
lc simplexml skk slang slp smime sndfile snmp sockets socks5 softquota sox speex
spell sse sse2 ssl stencil-buffer stroke svg svga szip t1lib tcpd tga theora ti
dy tiff transcode truetype unicode usagi usb v4l v4l2 videos wifi wmf wxwin wxwi
ndows x86 xatrix xchatdccserver xchattext xemacs xgetdefault xine xml xml2 xmlrp
c xmms xosd xprint xrandr xsl xv xvid yahoo yv12 zlib"
Comment 2 Robert Moss (RETIRED) gentoo-dev 2004-11-09 13:51:23 UTC
Sorry, I'm not quite sure what the issue is here. I certainly can't reproduce it on my Athlon 64. What happens if you run the "grub-install" command like so:

grub-install --root-directory=/boot /dev/hda

Obviously replace /dev/hda with whatever your boot drive is, and make sure your boot partition is mounted. Also, make sure that you check /boot/grub/grub.conf afterwards. If this issue persists, please report back.