Public bug reported:

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)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

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

Title:
  flicker-free boot gets interrupted by GRUB menu

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to