Grub hidden menu still visible

Hi,
Looking for advice to get Grub hidden menu working.
After applying dec. 30th Manjaro update, I had to replace grub-vanilla with regular grub, but I could not get either GRUB hidden menu working again nor the bootsplash manjaro theme.
I’ve found this solution:
How to hide GRUB menu ? when - #11 by GokuSan
But I find rather risky to modify /etc/grub.d/30_os-prober

Digging in the archived forum, the official announce message from 2018-10-28 give details how to get hidden grub (i.e.: Changes made to grub package):

Maybe some packages have changed since 2018, and I wonder if this method it is still valid in 2021 ?
Any advices are welcome

Here is my actual grub
 GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet i915.fastboot=1     bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash resume=UUID=a355129c-bb09-4c91-ba94-ca2672911212"
GRUB_CMDLINE_LINUX=

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=hidden

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=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=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

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

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

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

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
GRUB_SAVEDEFAULT="true"

You don’t have the entry:

GRUB_TIMEOUT_STYLE=hidden

in your grub, under the GRUB_TIMEOUT … you will have to run
sudo update-grub
after you add it, but if you have other installations detected then the menu will be shown anyway.

1 Like

Thank you for your reply
Well, but it is present a bit lower in the grub text file

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=hidden

And I already try many times, always show each boot.
But it is true that I have another Ubuntu partition on my SSD, maybe it block the hidden function. Nevertheless, it was working fine with vanilla-grub
¯\__(ツ)_/¯

Impossible to bypass the grub menu, even if I apply all the command lines from Oct. 28th 2018 message above.
I wonder if I should keep quiet in GRUB_CMDLINE_LINUX_DEFAULT line of /etc/default/grub ?
Instructions to get Grub hidden menu say to keep it, but Bootsplash needs to remove it.
I managed to make bootsplash working as describe in the archived forum here:

Anyway, with and without quiet, result is the same: grub is always present.

Edit: I finally edit the file here /etc/grub.d/30_os-prober and change menu in hidden

set timeout_style=hidden

And grub is hidden now!
Perhaps it could be managed with os-prober?

Edit#2: had to modify again /etc/grub.d/30_os-prober after last february update. this is not very convenient

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.