Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

grub timer problem

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
pkladisios
Posts: 32
Joined: 2016-10-18 13:04

grub timer problem

#1 Post by pkladisios »

Greetings! I am currently facing a minor problem with grub on a very old computer with debian 7.11. Timer is missing from the grub load screen. I have to physically select an option, else it will stay on the load screen.
I have found this thread, which i think is pertinent:

https://ubuntuforums.org/showthread.php?t=2267733

According to it, it might have something to do with a recordfail marker in /boot/grub/grubenv. Typing the following commands:

Code: Select all

sudo grub-editenv list

Code: Select all

sudo grub-editenv - unset recordfail
resolves the issue temporarily. If i reboot, timer and default option works fine. If i shut down and power the computer on again, grub reverts back to its previously static behavior. Any ideas?

grub version as given by:

Code: Select all

grub-install -v
is

Code: Select all

 grub-install (GRUB) 1.99-27+deb7u3
These are the contents of /etc/default/grub:

Code: Select all

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: grub timer problem

#2 Post by Dai_trying »

If you want to remove the timeout set it to -1 (GRUB_TIMEOUT=-1) and update grub and you should be set.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: grub timer problem

#3 Post by Dai_trying »

Looking back at the OP I can see I mis-read the original problem, sorry about that. :oops:

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: grub timer problem

#4 Post by debiman »

i think grub does that (disable automatic booting after timeout) if something went wrong either at that moment or during the last boot or shutdown...
sorry it's a little vague.
closely watch the messages during startup/shutdown

pkladisios
Posts: 32
Joined: 2016-10-18 13:04

Re: grub timer problem

#5 Post by pkladisios »

@Dai_trying

I am trying to bring back the timer and default selection after timeout. It is highly inconvenient for remote control situations.

@wizard10000

True, but what changes must i do?

@debiman

From what i understand, that is most likely the case. I am currently away from said computer. Since the problem resurfaces after each shutdown, i'll check the messages during that time.

pkladisios
Posts: 32
Joined: 2016-10-18 13:04

Re: grub timer problem

#6 Post by pkladisios »

I've just attempted to read the shutdown messages. There weren't that many since it is a minimal installation. All i managed to read was about shutting down network and samba and unmounting swap file. I saw no errors of any kind.

Post Reply