'recordfail=1' in grubenv suppresses the timeout on the boot menu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
New
|
Undecided
|
Unassigned |
Bug Description
GRUB: grub-install.real (GRUB) 1.99-21ubuntu3.1
Linux Mint: 13(maya) MATE 64-bit
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 /dev/sdb device is a 128GB SDD. The /dev/sda device is a 1TB HDD without any OS installed on it.
Attached is the grub.cfg file.