Bug#841297: grub-efi: no symbol table, ask for key on boot

Micha Lenk micha at lenk.info
Fri Aug 4 20:29:26 UTC 2017


Package: grub-efi-amd64
Version: 2.02~beta3-5
Followup-For: Bug #841297

Since upgrading from Jessie to Stretch I am affected by this bug too.

A similar issue seems to be reported in the Ubuntu bug tracker here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1633839
There the suggested fix was to run 'grub-install' and 'update-grup' again,
which unfortunately did NOT fix the issue for me.

I wonder whether the issue could be related to my system only capable to boot a
32-bit EFI boot loader (i.e. no 64-bit EFI boot loader), even though the system
is running a 64 bit kernel.

How do I get rid of this extra delay when booting the system?

If you need more information, please let me know.

Cheers,
Micha


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/hardfisk--vg-root / xfs rw,relatime,attr2,inode64,noquota 0 0
/dev/sda2 /boot ext2 rw,relatime,block_validity,barrier,user_xattr,acl 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/mapper/hardfisk--vg-home /home xfs rw,relatime,attr2,inode64,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3754402e-03a3-4c71-bc20-2610b76b8c92
else
  search --no-floppy --fs-uuid --set=root 3754402e-03a3-4c71-bc20-2610b76b8c92
fi
    font="/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3754402e-03a3-4c71-bc20-2610b76b8c92
else
  search --no-floppy --fs-uuid --set=root 3754402e-03a3-4c71-bc20-2610b76b8c92
fi
insmod png
if background_image /grub/.background_cache.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b9c32958-bc41-40ef-9ae9-968ec54700d4' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3754402e-03a3-4c71-bc20-2610b76b8c92
	else
	  search --no-floppy --fs-uuid --set=root 3754402e-03a3-4c71-bc20-2610b76b8c92
	fi
	echo	'Linux 4.9.0-3-amd64 wird geladen …'
	linux	/vmlinuz-4.9.0-3-amd64 root=/dev/mapper/hardfisk--vg-root ro  quiet
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/initrd.img-4.9.0-3-amd64
}
submenu 'Erweiterte Optionen für Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-b9c32958-bc41-40ef-9ae9-968ec54700d4' {
	menuentry 'Debian GNU/Linux, mit Linux 4.9.0-3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-3-amd64-advanced-b9c32958-bc41-40ef-9ae9-968ec54700d4' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3754402e-03a3-4c71-bc20-2610b76b8c92
		else
		  search --no-floppy --fs-uuid --set=root 3754402e-03a3-4c71-bc20-2610b76b8c92
		fi
		echo	'Linux 4.9.0-3-amd64 wird geladen …'
		linux	/vmlinuz-4.9.0-3-amd64 root=/dev/mapper/hardfisk--vg-root ro  quiet
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.9.0-3-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.9.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-3-amd64-recovery-b9c32958-bc41-40ef-9ae9-968ec54700d4' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3754402e-03a3-4c71-bc20-2610b76b8c92
		else
		  search --no-floppy --fs-uuid --set=root 3754402e-03a3-4c71-bc20-2610b76b8c92
		fi
		echo	'Linux 4.9.0-3-amd64 wird geladen …'
		linux	/vmlinuz-4.9.0-3-amd64 root=/dev/mapper/hardfisk--vg-root ro single 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/initrd.img-4.9.0-3-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN LVM
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Aug  4 22:10 ata-SanDisk_SDSSDA240G_162426460908 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug  4 22:10 ata-SanDisk_SDSSDA240G_162426460908-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug  4 22:10 ata-SanDisk_SDSSDA240G_162426460908-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug  4 22:10 ata-SanDisk_SDSSDA240G_162426460908-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-name-hardfisk--vg-home -> ../../dm-3
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-name-hardfisk--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-name-hardfisk--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-name-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-uuid-CRYPT-LUKS1-2d34ec38f28845b2a090a2925084b721-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-uuid-LVM-BfE3kZZrsLZvho8CIOTTkEw0zODUHbl3ClsqMtulqfbEx2DV70PFycQMsluKV8j0 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-uuid-LVM-BfE3kZZrsLZvho8CIOTTkEw0zODUHbl3StLO42IqkvIKUtetIeGWbLQw0TtgxAZG -> ../../dm-3
lrwxrwxrwx 1 root root 10 Aug  4 22:10 dm-uuid-LVM-BfE3kZZrsLZvho8CIOTTkEw0zODUHbl3dmvAEaASWwSQ52VoN4z96B3eT8qCks5T -> ../../dm-2
lrwxrwxrwx 1 root root 10 Aug  4 22:10 lvm-pv-uuid-uHB0fI-iCsD-k7Cm-QUgF-s1yT-xK36-4fv3MQ -> ../../dm-0
lrwxrwxrwx 1 root root  9 Aug  4 22:10 wwn-0x5001b444a4afa034 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug  4 22:10 wwn-0x5001b444a4afa034-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug  4 22:10 wwn-0x5001b444a4afa034-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug  4 22:10 wwn-0x5001b444a4afa034-part3 -> ../../sda3
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Aug  4 22:10 1532602a-d2ba-4986-a552-2bd0c4591bc1 -> ../../dm-3
lrwxrwxrwx 1 root root 10 Aug  4 22:10 2d34ec38-f288-45b2-a090-a2925084b721 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug  4 22:10 3754402e-03a3-4c71-bc20-2610b76b8c92 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug  4 22:10 BD0E-8A1A -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug  4 22:10 aba76d7e-d574-4663-894e-fd2c4dd9a63a -> ../../dm-2
lrwxrwxrwx 1 root root 10 Aug  4 22:10 b9c32958-bc41-40ef-9ae9-968ec54700d4 -> ../../dm-1
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages grub-efi-amd64 depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  dpkg                   1.18.24
ii  grub-common            2.02~beta3-5
ii  grub-efi-amd64-bin     2.02~beta3-5
ii  grub2-common           2.02~beta3-5
ii  ucf                    3.0036

grub-efi-amd64 recommends no packages.

grub-efi-amd64 suggests no packages.

-- debconf information:
* grub2/linux_cmdline_default: quiet
  grub2/force_efi_extra_removable: false
  grub2/kfreebsd_cmdline:
  grub2/update_nvram: true
* grub2/linux_cmdline:
  grub2/kfreebsd_cmdline_default: quiet
  grub2/device_map_regenerated:


More information about the Pkg-grub-devel mailing list