Your message dated Fri, 01 Mar 2019 13:05:29 +0000
with message-id <[email protected]>
and subject line Bug#922741: fixed in grub2 2.02+dfsg1-12
has caused the Debian Bug report #922741,
regarding grub-efi: grub-install indicates "no errors" when there's 
insufficient disk space in EFI partition
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
922741: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922741
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-efi
Version: 2.02+dfsg1-10
Severity: critical
Tags: upstream
Justification: breaks the whole system

My system has an unusually small EFI partition (1MB). I think the system was
set up this way in order to allow booting via "legacy" BIOS mode. During a
routine software update, apparently a new version of grub was installed, and
the new version was too large to fit in the EFI partition, and was therefore
truncated. However, no error was indicated and on the next reboot the system
failed to boot into the OS. Once I booted via a recovery device I attempted a
manual run of grub-install - again, it indicated no error. However, the boot
file "grubx64.efi" was truncated to fit in the available space, and the config
file "grub.cfg" had zero length, and the system could still not boot.

I have resized by EFI partition and repaired my system. Please, please, please,
you have to be careful about messing with the boot-loader when updating
software...



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda2 / ext4 rw,noatime,discard,errors=remount-ro 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/sda3 /home f2fs 
rw,lazytime,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix
 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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
else
  search --no-floppy --fs-uuid --set=root 1b014845-3219-417e-8a7c-6ef0b06a3b1e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
else
  search --no-floppy --fs-uuid --set=root 1b014845-3219-417e-8a7c-6ef0b06a3b1e
fi
insmod png
if background_image 
/usr/share/desktop-base/futureprototype-theme/grub/grub-16x9.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-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
        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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
        else
          search --no-floppy --fs-uuid --set=root 
1b014845-3219-417e-8a7c-6ef0b06a3b1e
        fi
        echo    'Loading Linux 4.19.0-2-amd64 ...'
        linux   /boot/vmlinuz-4.19.0-2-amd64 
root=UUID=1b014845-3219-417e-8a7c-6ef0b06a3b1e ro  quiet
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-4.19.0-2-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 
'gnulinux-advanced-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
        menuentry 'Debian GNU/Linux, with Linux 4.19.0-2-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.19.0-2-amd64-advanced-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
                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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                else
                  search --no-floppy --fs-uuid --set=root 
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                fi
                echo    'Loading Linux 4.19.0-2-amd64 ...'
                linux   /boot/vmlinuz-4.19.0-2-amd64 
root=UUID=1b014845-3219-417e-8a7c-6ef0b06a3b1e ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-4.19.0-2-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 4.19.0-2-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.19.0-2-amd64-recovery-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
                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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                else
                  search --no-floppy --fs-uuid --set=root 
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                fi
                echo    'Loading Linux 4.19.0-2-amd64 ...'
                linux   /boot/vmlinuz-4.19.0-2-amd64 
root=UUID=1b014845-3219-417e-8a7c-6ef0b06a3b1e ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-4.19.0-2-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 4.15.0-2-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.15.0-2-amd64-advanced-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
                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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                else
                  search --no-floppy --fs-uuid --set=root 
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                fi
                echo    'Loading Linux 4.15.0-2-amd64 ...'
                linux   /boot/vmlinuz-4.15.0-2-amd64 
root=UUID=1b014845-3219-417e-8a7c-6ef0b06a3b1e ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-4.15.0-2-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 4.15.0-2-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.15.0-2-amd64-recovery-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
                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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                else
                  search --no-floppy --fs-uuid --set=root 
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                fi
                echo    'Loading Linux 4.15.0-2-amd64 ...'
                linux   /boot/vmlinuz-4.15.0-2-amd64 
root=UUID=1b014845-3219-417e-8a7c-6ef0b06a3b1e ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-4.15.0-2-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 4.14.0-3-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.14.0-3-amd64-advanced-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
                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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                else
                  search --no-floppy --fs-uuid --set=root 
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                fi
                echo    'Loading Linux 4.14.0-3-amd64 ...'
                linux   /boot/vmlinuz-4.14.0-3-amd64 
root=UUID=1b014845-3219-417e-8a7c-6ef0b06a3b1e ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-4.14.0-3-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 4.14.0-3-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.14.0-3-amd64-recovery-1b014845-3219-417e-8a7c-6ef0b06a3b1e' {
                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  
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                else
                  search --no-floppy --fs-uuid --set=root 
1b014845-3219-417e-8a7c-6ef0b06a3b1e
                fi
                echo    'Loading Linux 4.14.0-3-amd64 ...'
                linux   /boot/vmlinuz-4.14.0-3-amd64 
root=UUID=1b014845-3219-417e-8a7c-6ef0b06a3b1e ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-4.14.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 ###
### 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 /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Feb 20 02:56 
ata-INTEL_SSDSC2KW480H6_CVLT6105043J480EGN -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 20 02:56 
ata-INTEL_SSDSC2KW480H6_CVLT6105043J480EGN-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 20 02:56 
ata-INTEL_SSDSC2KW480H6_CVLT6105043J480EGN-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 20 02:56 
ata-INTEL_SSDSC2KW480H6_CVLT6105043J480EGN-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 20 02:56 
ata-INTEL_SSDSC2KW480H6_CVLT6105043J480EGN-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Feb 20 02:56 wwn-0x55cd2e414cb1d60a -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 20 02:56 wwn-0x55cd2e414cb1d60a-part1 -> 
../../sda1
lrwxrwxrwx 1 root root 10 Feb 20 02:56 wwn-0x55cd2e414cb1d60a-part2 -> 
../../sda2
lrwxrwxrwx 1 root root 10 Feb 20 02:56 wwn-0x55cd2e414cb1d60a-part3 -> 
../../sda3
lrwxrwxrwx 1 root root 10 Feb 20 02:56 wwn-0x55cd2e414cb1d60a-part4 -> 
../../sda4
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Feb 20 02:56 1b014845-3219-417e-8a7c-6ef0b06a3b1e -> 
../../sda2
lrwxrwxrwx 1 root root 10 Feb 20 02:56 3f32a1fd-6129-4e59-9fea-5729ae131152 -> 
../../sda4
lrwxrwxrwx 1 root root 10 Feb 20 02:56 5F3E-9655 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 20 02:56 5dca736b-22a7-4f7a-b1a7-aece18ca838f -> 
../../sda3
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-efi depends on:
ii  grub-common     2.02+dfsg1-10
ii  grub-efi-amd64  2.02+dfsg1-10

grub-efi recommends no packages.

grub-efi suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: grub2
Source-Version: 2.02+dfsg1-12

We believe that the bug you reported is fixed in the latest version of
grub2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated grub2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 01 Mar 2019 12:34:45 +0000
Source: grub2
Architecture: source
Version: 2.02+dfsg1-12
Distribution: unstable
Urgency: medium
Maintainer: GRUB Maintainers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 919029 922104 922741 923253
Changes:
 grub2 (2.02+dfsg1-12) unstable; urgency=medium
 .
   [ Colin Watson ]
   * Remove code to migrate grub-pc/install_devices to persistent device
     names under /dev/disk/by-id/.  This migration happened in
     1.98+20100702-1, which was in squeeze (four stable releases ago), so we
     no longer need to carry around this complex code.
   * Preserve previous answer to grub-pc/install_devices if we have to ask
     grub-pc/install_devices_disks_changed and the user chooses not to
     install to any devices, so that we can recover from temporary bugs that
     cause /dev/disk/by-id/ paths to change (closes: #919029).
   * debian/signing-template.json.in: Add trusted_certs key (empty, since
     GRUB has no hardcoded list of trusted certificates).
   * util: Detect more I/O errors (closes: #922741).
 .
   [ Leif Lindholm ]
   * arm64/efi: Fix grub_efi_get_ram_base().
 .
   [ Steve McIntyre ]
   * grub-install: Check for arm-efi as a default target (closes: #922104).
 .
   [ James Clarke ]
   * osdep/freebsd: Fix partition calculation for EBR entries (closes:
     #923253).
Checksums-Sha1:
 bdde214b3c1c2d1a3fcd5078905528cece234e42 6691 grub2_2.02+dfsg1-12.dsc
 20766f9616d83edb4dcc572cf62dbb17a7e5ecb5 1126288 
grub2_2.02+dfsg1-12.debian.tar.xz
 7eb2257fbf0bf0db9ad28ac9e6cdcb5c378f686e 15038 
grub2_2.02+dfsg1-12_source.buildinfo
Checksums-Sha256:
 4e8a8c3ab7c2059486d28a93557930aaf570f69488c750edd1eb31b12879ec18 6691 
grub2_2.02+dfsg1-12.dsc
 8cbdb418b2e4eccedce914d123b7de6862f4f599386277312011ce32797f846e 1126288 
grub2_2.02+dfsg1-12.debian.tar.xz
 2121f690fa3057a1fe475d1309d76a38a5ac16a5da9548b93de3d8c250ebe34b 15038 
grub2_2.02+dfsg1-12_source.buildinfo
Files:
 c7ebc34dbe2dfcad2f68d9ff522051ae 6691 admin optional grub2_2.02+dfsg1-12.dsc
 fd7e5314427a7db5915b8990cbb5fc56 1126288 admin optional 
grub2_2.02+dfsg1-12.debian.tar.xz
 9abb7b87c62a864ab5044b7e1769cf5a 15038 admin optional 
grub2_2.02+dfsg1-12_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAlx5J1YACgkQOTWH2X2G
UAvK4g//YG6+7BFAQo80XOW3JGsB/BKuyXJR7ZNoEU5RLsIHmSWpPIt3v/sltiHL
D6qcknGSbcj0/knd5uo34BsxdFbBfTw3oqfoLYGJfyFy4xgNiV9b7qBETDfoWfFX
DDL/qxqI70Gu0Y6/+dIbQwsxezunTAiQ5scURL2fLHXsGP4HZrFBp5rcSSCI5zej
rZ/IoDqb/ScvQBfC5GF3QeDGGIDsvnYNL8QbASM78Te2JZ5ec4J4e6Me+GD2DxtA
VD1ybL7sB8j3EtnYjIbL/9B3DfgIS+vpqT2FXiTC7nh/k5AVobHWpX5QsWII3fvc
OfZ9oI0EUiImx9+/7ppSoqLaXu+b6otvSSgCwFdtxOnOO1UNDgGskCoda4vwJpE7
c+om5WAguXTWmDSUo6JzaggFf32R6X6L1tqOFfWguTdQ4qD0M2sakTxtISUvybGx
PZIyamkhpNlNE+g+o+my0/WjlwYw+CZeBuQXKxaw6WSZsIJbmaVWy5gEmnA6AeXf
RpvyTB1iTi9VxamG9hMSwO+MNNcVc2/JYCyIlQckutHU9dq+pdLHVpaDrsLFvzYK
NhOozNScr0CP2XK1IYdpTwQsHqg0rZM6ymjNU3UCWyMtNnCAF95XXV5KpIPV9Pza
13h4J5IScKj00ALaubZ0NsN+Tsv55+Zak8FFOwCKxC1RI9Vi3zk=
=6Jmj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to