[Bug 462888] [NEW] grub2 menu stays until I press enter

BavarianPH peterhhartung at gmail.com
Wed Oct 28 21:02:20 UTC 2009


Public bug reported:

Binary package hint: grub2

Ubuntu 9.10 Karmic Koala beta

grub2~1.97-beta4-1ubuntu3

grub2 menu stays until I press enter.

grubenv reads: recordfail=1

My understanding is, that it should only read "1" if there was a boot
problem

or a "suspend / hibernate" problem.

The OS does put PC into "suspend" mode, & I can awaken it from there.

However, I have set "Never" mode for both PC & Monitor (in Power
Management),

so it should not put the PC into "suspend" in the first place.

But Grub2 apparently is told that the PC failed, because if I manually
put recordfail=0

it always changes back to recordfail=1, & thus the grub2 menu appears
indefinitely,

until I press enter.

I have devised a work-around that fixes the symptom but not the actual
bug:

by adding the following to the bottom of the /etc/grub.d/40_custom
script:

fi
if [ ${recordfail} = 1 ]; then
  set timeout=3
else
  set timeout=0
fi
# end

in this way if there was a problem with booting or suspend / hibernate

one has whatever timeout one adds to this script,

& if grubenv were set with recordfail=0 it would boot without delay.

As I wrote, it does not fix the actual bug, & perhaps it really is two
bugs.

one in ACPI managing, & the other in not resetting grub2 recordfail.

as to "Required input missing": I was unable to use the "Record a
problem..."

program, it refused to start, so I used: sudo ubuntu-bug grub2, to
report.

I could not find this exact bug described, so a new bug report may help.

I have attached grub.cfg, which of course shows the altered 40_custom.

BavarianPH,

Ubuntu forever!

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 3bb3e9fd3b939fdb7916d5535ab9761d
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Wed Oct 28 14:15:58 2009
DistroRelease: Ubuntu 9.10
Package: grub2 1.97~beta4-1ubuntu3
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic-pae
SourcePackage: grub2
Uname: Linux 2.6.31-14-generic-pae i686

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
grub2 menu stays until I press enter
https://bugs.launchpad.net/bugs/462888
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list