Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74274 - grub doesn't boot automatically (timeout doesn't work)
Summary: grub doesn't boot automatically (timeout doesn't work)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-13 03:57 UTC by Andrew McGuinness
Modified: 2005-03-10 20:40 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 Andrew McGuinness 2004-12-13 03:57:13 UTC
When booting, grub gives the menu OK, but doesn't show a countdown to boot the default selection, and only boots when kernel is manually selected

Reproducible: Always
Steps to Reproduce:
1. Reboot
2. Wait for grub menu to come up
3. Wait (for ever) for default item to be run

Actual Results:  
Sat at menu screen.  Keyboard worked normally, manually selecting an option worked.

Expected Results:  
Shown a line "will start in 10 seconds", then as that counted down to zero
booted the default option

/boot/grub/menu.lst

timeout 10
default 0

title gentoo
root (hd0,4)
kernel /boot/kernel-2.6.9-gentoo-r1 gentoo=nodevfs root=/dev/hda5

title windows
root (hd0,1)
chainloader +1

title gentoo 2.4
root (hd0,4)
kernel /boot/kernel-2.4.26-gentoo-r9 root=/dev/hda5

# end of /boot/grub/menu.lst

root@earlgrey root # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5               505996    141304    364692  28% /
/dev/vg/g_usr          4194172   3702076    492096  89% /usr
/dev/vg/home           1048540     50860    997680   5% /home
/dev/vg/g_var          8388348    129376   8258972   2% /var
/dev/vg/g_opt          2097084    448496   1648588  22% /opt
none                     95040         0     95040   0% /dev/shm


root@earlgrey root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
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/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://gentoo.tiscali.nl/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://darjeeling/portage"
USE="X alsa apm avi berkdb bitmap-fonts crypt crypto cups doc dvd dvdread emacs
encode esd f77 fam foomaticdb fortran gdbm gif gimpprint gnome gpg gpm gtk gtk2
guile imagemagick imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg
ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python quicktime
readline scanner sdl slang spell ssl svga tcltk tcpd tiff truetype usb x86 xml
xml2 xmms xv zlib"
Comment 1 Andrew McGuinness 2004-12-13 03:58:11 UTC
Same problem has been seen on Fedora FC3:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=142069
Comment 2 Jory A. Pratt 2004-12-22 10:08:30 UTC
what version of grub is this? LOL I have tested for this bug on 10 different systems and have yet to see it appear, if you have not done so try testing unstable package if it still persist report  back.
Comment 3 Florian Evers 2005-01-13 16:17:14 UTC
Same problem here on my router!
Very annoying, I have to tap enter every time I start this box :-(

>>>>>>>>"/boot/grub/grub.conf"
color white/blue black/light-gray
timeout 5
#default 0

title Linux (2.6.7-hardened-r17)
    kernel (hd0,0)/kernel-2.6.7-hardened-r17 root=/dev/hda5
<<<<<<<<


>>>>>>>>"etcat -v grub"
[ Results for search key           : grub ]
[ Candidate applications found : 5 ]

 Only printing found installed programs.

*  sys-boot/grub :
        [   ] 0.92-r1 (0)
        [   ] 0.93.20030118 (0)
        [   ] 0.94-r1 (0)
        [M~ ] 0.94-r2 (0)
        [  I] 0.95.20040823 (0)
<<<<<<<<

I'm testing 0.95.xxx, but same problem! I'll go back to 0.94-r1 soon.


>>>>>>>>"emerge info"
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7-hardened-r17 i586)
=================================================================
System uname: 2.6.7-hardened-r17 i586 Pentium 75 - 200
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-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl apm arts avi berkdb bitmap-fonts crypt cups encode foomaticdb fortran gdbm gif gpm gtk2 hardened ipv6 jpeg kde libwww mad mikmod mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sdl slang spell ssl svga tcpd truetype xml2 xmms xv zlib"
<<<<<<<<

It's a Pentium-90. X86 (stable), hardened tool-chain, hardened-dev-sources.
I'm having some trouble with PaX when updating grub ("setup (hd0)" crashes)
but that's a different story...

I think I'll have to go back to lilo... :-(

Greetings, Florian
Comment 4 SpanKY gentoo-dev 2005-03-10 20:40:18 UTC
re-open if 0.96 doesnt do it right