GRUB shows up by default, even though GRUB_TIMEOUT=0

Bug #1964719 reported by Jonas Gamao
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Here's my GRUB config:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

It's annoying that it keeps showing up by default because it's only Kubuntu on this laptop.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 5.13.0-35.40-generic 5.13.19
Uname: Linux 5.13.0-35-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: fail
CurrentDesktop: KDE
Date: Sun Mar 13 14:22:10 2022
InstallationDate: Installed on 2022-02-24 (16 days ago)
InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Bug reporting is about finding & fixing problems thus preventing future users from hitting the same bug.

You didn't say what file your paste was from?

Did you perform `update-grub` to update the version that is actually used at bootup? or you're pasting the settings that will be used on next kernel upgrade?

I suspect a Support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Re: [Bug 1964719] Re: GRUB shows up by default, even though GRUB_TIMEOUT=0

The paste was from /etc/default/grub

I ran update-grub multiple times

I disabled OS Prober

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: <email address hidden> <email address hidden> on behalf of Chris Guiver <email address hidden>
Sent: Monday, March 14, 2022 1:51:11 AM
To: <email address hidden> <email address hidden>
Subject: [Bug 1964719] Re: GRUB shows up by default, even though GRUB_TIMEOUT=0

Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Bug reporting is about finding & fixing problems thus preventing future
users from hitting the same bug.

You didn't say what file your paste was from?

Did you perform `update-grub` to update the version that is actually
used at bootup? or you're pasting the settings that will be used on next
kernel upgrade?

I suspect a Support site would be more appropriate, eg.
https://answers.launchpad.net/ubuntu. You can also find help with your
problem in the support forum of your local Ubuntu community
http://loco.ubuntu.com/ or asking at https://askubuntu.com or
https://ubuntuforums.org, or for more support options please look at
https://discourse.ubuntu.com/t/community-support/709

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1964719

Title:
  GRUB shows up by default, even though GRUB_TIMEOUT=0

Status in grub2 package in Ubuntu:
  New

Bug description:
  Here's my GRUB config:
  GRUB_DEFAULT=0
  GRUB_TIMEOUT_STYLE=hidden
  GRUB_TIMEOUT=0
  GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  GRUB_CMDLINE_LINUX=""

  It's annoying that it keeps showing up by default because it's only
  Kubuntu on this laptop.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 5.13.0-35.40-generic 5.13.19
  Uname: Linux 5.13.0-35-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  CasperMD5CheckResult: fail
  CurrentDesktop: KDE
  Date: Sun Mar 13 14:22:10 2022
  InstallationDate: Installed on 2022-02-24 (16 days ago)
  InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  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/1964719/+subscriptions

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

The paste was from /etc/default/grub

I ran update-grub multiple times

I disabled OS Prober

None worked

Also, I'm using Btrfs, in case that helps

Revision history for this message
Niklas Sombert (ytvwld) wrote :

If I take a look at /boot/grub/grub.cfg I see the lines:

function recordfail {
  set recordfail=1
  # GRUB lacks write support for btrfs, so recordfail support is disabled.
}

So, I guess this is intentional, at least.

Are you booting via UEFI or BIOS?

I could at least reduced the timeout by setting GRUB_RECORDFAIL_TIMEOUT.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

UEFI

Do I put GRUB_RECORDFAIL_TIMEOUT to 0?

Revision history for this message
Niklas Sombert (ytvwld) wrote :

you probably can, but you won't be able to enter grub anymore, so I wouldn't recommend it

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.