help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grub menu/MBR modifications


From: Luc Van Rompaey
Subject: Grub menu/MBR modifications
Date: Thu, 25 Jun 2015 22:28:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

My guess would be, that the 'recordfail' flag was set in the 'grubenv' file, and that, somehow, it didn't get reset after the system was booted.

You see, the Ubuntu menu entries in the grub.cfg file all include a 'recordfail' line, which will execute the 'recordfail' function that is defined earlier on in the file. The function will set the 'recordfail' flag to 1, and save that to the 'grubenv' file.

Once the system boots successfully, it is supposed to clear the flag again; this actually happens in the '/etc/init.d/grub-common' script.

Next time the time-out doesn't work, I suggest you look in the '/boot/grub/grubenv' file first, and check if it includes a 'recordfail=1' line.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]