Hi Artie,

Thanks for your reply.

The options I configured are in the permanent GRUB configuration file:

`/etc/default/grub`

The relevant settings are:

`GRUB_TIMEOUT_STYLE=hidden`
`GRUB_TIMEOUT=0`

I did not edit a temporary GRUB configuration file.

The problem is that the GRUB menu unexpectedly reappears after
shutting down the computer, even though these settings are still
present. In some cases, I found that `/boot/grub/grubenv` had
`recordfail=1`, and running:

`sudo grub-editenv /boot/grub/grubenv unset recordfail`

followed by:

`sudo update-grub`

made the GRUB menu hidden again.

Ubuntu 26.04 is the only operating system installed on this PC.

I hope this information helps. Please let me know if you need any
additional details or command output.

Best regards,
Gastón

El lun, 10 ago 2026 a las 12:25, Artie Poole
(<[email protected]>) escribió:
>
> Hey @gaston46,
>
> please can you tell me what file you are adding these options to?
>
> If you are editing a temporary grub config file then you will experience
> this exact behavior due to update-grub running on apt installs, and due
> to other events. If not, then I can look further into this.
>
> Best,
> Artie
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2161721
>
> Title:
>   Hidden GRUB menu unexpectedly reappears after shutdown
>
> Status in grub2 package in Ubuntu:
>   New
>
> Bug description:
>   I have a clean installation of Ubuntu 26.04, which is the only
>   operating system installed on this PC. There is no dual-boot
>   configuration.
>
>   GRUB is configured to stay hidden (GRUB_TIMEOUT_STYLE=hidden and
>   GRUB_TIMEOUT=0), and initially it works correctly.
>
>   After some normal shutdowns and reboots, the GRUB menu unexpectedly
>   appears during boot, even though the configuration has not been
>   changed.
>
>   Running the following commands temporarily fixes the problem and hides
>   the GRUB menu again:
>
>   sudo grub-editenv - create
>
>   sudo update-grub
>
>   However, after some time the problem returns and the GRUB menu is
>   displayed again.
>
>   This happens on a BIOS/Legacy installation using the grub-pc package.
>   I have not found a reliable way to reproduce the issue every time, but
>   it has happened repeatedly.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 26.04
>   Package: grub-pc 2.14-2ubuntu2
>   ProcVersionSignature: Ubuntu 7.0.0-28.28-generic 7.0.12
>   Uname: Linux 7.0.0-28-generic x86_64
>   ApportVersion: 2.34.0-0ubuntu2
>   Architecture: amd64
>   CasperMD5CheckResult: pass
>   CurrentDesktop: ubuntu:GNOME
>   Date: Fri Jul 24 07:43:41 2026
>   InstallationDate: Installed on 2026-07-17 (7 days ago)
>   InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 
> (20260423.1)
>   ProcEnviron:
>    LANG=es_ES.UTF-8
>    PATH=(custom, no user)
>    SHELL=/bin/bash
>    XDG_RUNTIME_DIR=<set>
>   SourcePackage: grub2
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2161721/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161721

Title:
  Hidden GRUB menu unexpectedly reappears after shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2161721/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to