bugGNU GRUB - Bugs: bug #36990, 'recordfail=1' in grubenv...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36990: 'recordfail=1' in grubenv suppresses the timeout on the boot menu

Submitted by:  Dave <rebelxt>
Submitted on:  Sun 29 Jul 2012 02:46:20 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: DaveW
Open/Closed: ClosedRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

Sun 29 Jul 2012 03:15:00 PM UTC, comment #1:

This is Ubuntu-specific modification.

Vladimir Serbinenko <phcoder>
Project Administrator
Sun 29 Jul 2012 02:46:20 PM UTC, original submission:

This is a dual boot system. Linux Mint 13 Mate was installed in the /dev/sdb5 (logical) partition. Then Linux Mint 13 KDE was installed in the /dev/sdb6 (logical) partition. At this time Grub2 was installed in the /dev/sdb2 (primary) partition from the Mint Mate installation. At this point the default menu item would no longer boot after the specified timeout, but had to be selected manually, as the timeout countdown was not being displayed.

The problem was traced to the 'recordfail=1' item in the /boot/grub/grubenv file. If 'recordfail=1' is manually removed from grubenv, the timeout is present during the next boot, but is always replaced during the boot process.

A work-around is to modify the 00_header file to remove the test for recordfail=1 that causes 'timeout=-1' to be set:

#if [ "\${recordfail}" = 1 ]; then
# set timeout=-1
#else
set timeout=${2}
#fi

The GRUB version is: grub-install.real (GRUB) 1.99-21ubuntu3.1

The /dev/sdb device is a 128GB SDD. The /dev/sda device is a 1TB HDD without any OS installed on it.

Attached are the grub, 00_header, and grub.cfg files.

Dave <rebelxt>

 

Attached Files
file #26282:  grub added by rebelxt (1KiB - application/octet-stream)
file #26283:  00_header added by rebelxt (7KiB - application/octet-stream)
file #26284:  grub.cfg added by rebelxt (7KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by rebelxt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 29 Jul 2012 03:15:00 PM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Sun 29 Jul 2012 02:46:20 PM UTCrebelxtAttached File-=>Added grub, #26282
      Attached File-=>Added 00_header, #26283
      Attached File-=>Added grub.cfg, #26284

    Back to the top


    Powered by Savane 3.1-cleanup1