[Bug 1878107] Re: flicker-free boot gets interrupted by GRUB menu

John Jacob 1878107 at bugs.launchpad.net
Tue May 12 14:02:07 UTC 2020


I'm having trouble attaching the boot video. It's only 104MB, but
Launchpad keeps error-ing out when I upload. I'll keep trying, but is
there some other way to get it to you?

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

Title:
  flicker-free boot gets interrupted by GRUB menu

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  I have a Dell XPS 9300 running Ubuntu 20.04. I have installed Ubuntu
  using full disk encryption as documented at
  https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019

  When I power on my laptop, I get the Dell boot logo and GRUB prompt
  asking me to enter the hard drive decrypt password. After entering the
  password, after the decrypt completes, the screen displays a GRUB boot
  options menu. After I hit enter, the Dell boot logo and the spinning
  Ubuntu logo are displayed again continue until the login screen is
  displayed.

  Ideally, the GRUB menu should not be displayed, so that the whole boot process is flicker free. The menu is (afaict) being shown by the following code in /boot/grub/grub.cfg :
  ---
  if [ "${recordfail}" = 1 ] ; then
    set timeout=30
  else
    if [ x$feature_timeout_style = xy ] ; then
      set timeout_style=hidden
      set timeout=0
    # Fallback hidden-timeout code in case the timeout_style feature is
    # unavailable.
    elif sleep --interruptible 0 ; then
      set timeout=0
    fi
  fi
  if [ $grub_platform = efi ]; then
    set timeout=30
    if [ x$feature_timeout_style = xy ] ; then
      set timeout_style=menu
    fi
  fi
  ---
  The last if condition appears to force displaying the menu if the boot mode is EFI. I do not understand why this is necessary.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: grub-common 2.04-1ubuntu26
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  Uname: Linux 5.4.0-29-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Mon May 11 18:52:55 2020
  InstallationDate: Installed on 2020-04-23 (18 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  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/1878107/+subscriptions



More information about the foundations-bugs mailing list