You are not logged in.
Greetings. I'm on ascii 2.1 and I tried editing grub to a timeout of 0 as it always waits for me to hit enter. Despite there being a value of 5 it just waits for my input. Then, also as root, I ran update-grub and rebooted but no change. Here it is after the edit (I chose the hidden option as there's just the one OS on this machine):
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
Tia.
Last edited by LU344928 (2020-05-30 08:06:54)
Devuan Daedalus 5.0 | MX Linux 23 | Slackware 15
Offline
It seems grub is one of those packages where it's stupidly hard to find documentation, with man pages that just say that "this is documented somewhere else and I'm not telling where"... it turns out that you need to have grub-legacy-doc installed, which provides the texinfo file with documentation using the info system.
Anyhow, according to that you should also use
GRUB_TIMEOUT=0
Afaict GRUB_HIDDEN_TIMEOUT is the time to wait before showing the menu, and GRUB_TIMEOUT is the time to wait (in addition) before booting to the default choice.
If you also have
GRUB_TIMEOUT_STYLE=hidden
then the menu is not actually shown, but the time logic remains the same.
Offline
I tried editing grub to a timeout of 0 as it always waits for me to hit enter. Despite there being a value of 5 it just waits for my input
Can we see your /boot/grub/grub.cfg? Or more specifically:
grep timeout /boot/grub/grub.cfg
It seems grub is one of those packages where it's stupidly hard to find documentation
Here it is: https://www.gnu.org/software/grub/manua … index.html
And this bit is for the options in /etc/default/grub: https://www.gnu.org/software/grub/manua … figuration
Anyhow, according to that you should also use
GRUB_TIMEOUT=0
Actually that is the only option needed, GRUB_HIDDEN_TIMEOUT should remain unset.
If you also have
GRUB_TIMEOUT_STYLE=hidden
then the menu is not actually shown, but the time logic remains the same.
Not quite — if that option is set then GRUB will pause for the time specified in GRUB_TIMEOUT unless the <escape> key is pressed, at which point GRUB will wait indefinitely for user input.
GRUB_TIMEOUT_STYLE=hidden is the replacement for the deprecated GRUB_HIDDEN_TIMEOUT option so both should not be used at the same time.
Brianna Ghey — Rest In Power
Offline
Here it is: https://www.gnu.org/software/grub/manua … index.html
Yes. I'm just troubled by, again, a utility not having a proper man page, and secondly that proper documentation is not installed together with the utility. All sorts of other places of documentation is good (the man page would point them out). But all that is of course just one of the "wheels" that needs to be regularly reinvented and done differently, either just because it's possible or because the controlling generation doesn't bother to learn. It's a personal beweiling, basically irrelevant for the topic, so I'm not sure why I keep going with it.
Hopefully the @OP now finds it resolved.
Offline
G'day Ralph, thanks for the reply. For the record the source I used for that was this.
It seems grub is one of those packages where it's stupidly hard to find documentation, with man pages that just say that "this is documented somewhere else and I'm not telling where"... it turns out that you need to have grub-legacy-doc installed, which provides the texinfo file with documentation using the info system.
That's interesting.
Anyhow, according to that you should also use
GRUB_TIMEOUT=0
Afaict GRUB_HIDDEN_TIMEOUT is the time to wait before showing the menu, and GRUB_TIMEOUT is the time to wait (in addition) before booting to the default choice.
If you also have
GRUB_TIMEOUT_STYLE=hidden
then the menu is not actually shown, but the time logic remains the same.
So I just changed it to GRUB_TIMEOUT=0 then rebooted and all was hunky dory. Now there's no need to add any hidden option as it booted straight away with no splash screen, just what I was looking for. Good onya mate!
Devuan Daedalus 5.0 | MX Linux 23 | Slackware 15
Offline
Can we see your /boot/grub/grub.cfg? Or more specifically:
grep timeout /boot/grub/grub.cfg
root@devuan:~# grep timeout /boot/grub/grub.cfg
set timeout=30
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
set timeout=5
root@devuan:~#
That was before the last edit following Ralph's advice. I did that again after editing and got a much longer result which I can post if you wish.
Thanks for your help.
Devuan Daedalus 5.0 | MX Linux 23 | Slackware 15
Offline
I did that again after editing and got a much longer result which I can post if you wish.
No, that's fine, don't bother if it's all working now. I was just confused as to why the (default) timeout=5 setting wasn't being obeyed, that's all.
Brianna Ghey — Rest In Power
Offline