Package: grub-efi-amd64 Version: 2.02+dfsg1-4 Followup-For: Bug #891434 I just ran into this same issue and it is specific to grub: refind-install also has similar issues, so this is specific to the state of the computer.
I found this answer helpful: https://unix.stackexchange.com/a/379824/79267 In particular deleting dump files helped: rm /sys/firmware/efi/efivars/dump-* and then grub-install worked fine. As a fix, perhaps grub could issue a message to look into /sys/firmware/efi/efivars directory, because it was not trivial to find it (all the mounted file systems have plenty of space as reported by `df -h` so the message "No space left on device" is not helpful). -- Package-specific info: *********************** BEGIN /proc/mounts /dev/sda8 / ext4 rw,noatime,nodiratime,discard,errors=remount-ro,data=ordered 0 0 /dev/sda9 /home ext4 rw,noatime,nodiratime,discard,data=ordered 0 0 /dev/sda2 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 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,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=800x600 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,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi insmod png if background_image /usr/share/desktop-base/softwaves-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-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi echo 'Loading Linux 4.15.0-2-amd64 ...' linux /boot/vmlinuz-4.15.0-2-amd64 root=UUID=b6485691-c9ee-4aad-85ba-4d9a8032e2c7 ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-4.15.0-2-amd64 } submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { 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-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi echo 'Loading Linux 4.15.0-2-amd64 ...' linux /boot/vmlinuz-4.15.0-2-amd64 root=UUID=b6485691-c9ee-4aad-85ba-4d9a8032e2c7 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-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi echo 'Loading Linux 4.15.0-2-amd64 ...' linux /boot/vmlinuz-4.15.0-2-amd64 root=UUID=b6485691-c9ee-4aad-85ba-4d9a8032e2c7 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-4.15.0-2-amd64 } menuentry 'Debian GNU/Linux, with Linux 4.15.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-1-amd64-advanced-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi echo 'Loading Linux 4.15.0-1-amd64 ...' linux /boot/vmlinuz-4.15.0-1-amd64 root=UUID=b6485691-c9ee-4aad-85ba-4d9a8032e2c7 ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-4.15.0-1-amd64 } menuentry 'Debian GNU/Linux, with Linux 4.15.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-1-amd64-recovery-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi echo 'Loading Linux 4.15.0-1-amd64 ...' linux /boot/vmlinuz-4.15.0-1-amd64 root=UUID=b6485691-c9ee-4aad-85ba-4d9a8032e2c7 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-4.15.0-1-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-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi echo 'Loading Linux 4.14.0-3-amd64 ...' linux /boot/vmlinuz-4.14.0-3-amd64 root=UUID=b6485691-c9ee-4aad-85ba-4d9a8032e2c7 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-b6485691-c9ee-4aad-85ba-4d9a8032e2c7' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 else search --no-floppy --fs-uuid --set=root b6485691-c9ee-4aad-85ba-4d9a8032e2c7 fi echo 'Loading Linux 4.14.0-3-amd64 ...' linux /boot/vmlinuz-4.14.0-3-amd64 root=UUID=b6485691-c9ee-4aad-85ba-4d9a8032e2c7 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 ### menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-C44B-5FE5' { insmod part_gpt insmod fat 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 C44B-5FE5 else search --no-floppy --fs-uuid --set=root C44B-5FE5 fi chainloader /EFI/Microsoft/Boot/bootmgfw.efi } ### 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 /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907 -> ../../sda lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part1 -> ../../sda1 lrwxrwxrwx 1 root root 11 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part10 -> ../../sda10 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part7 -> ../../sda7 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part8 -> ../../sda8 lrwxrwxrwx 1 root root 10 Apr 14 12:58 ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFB09907-part9 -> ../../sda9 lrwxrwxrwx 1 root root 9 Apr 14 12:58 wwn-0x5002538844584d30 -> ../../sda lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part1 -> ../../sda1 lrwxrwxrwx 1 root root 11 Apr 14 12:58 wwn-0x5002538844584d30-part10 -> ../../sda10 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part7 -> ../../sda7 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part8 -> ../../sda8 lrwxrwxrwx 1 root root 10 Apr 14 12:58 wwn-0x5002538844584d30-part9 -> ../../sda9 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 11 Apr 14 12:58 34875908-4013-43ce-98d6-ff9de9c7ba7b -> ../../sda10 lrwxrwxrwx 1 root root 10 Apr 14 12:58 6456524E5652215A -> ../../sda5 lrwxrwxrwx 1 root root 10 Apr 14 12:58 7CB8562AB855E2E6 -> ../../sda7 lrwxrwxrwx 1 root root 10 Apr 14 12:58 C44B-5FE5 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 14 12:58 DAAEA313AEA2E6EB -> ../../sda6 lrwxrwxrwx 1 root root 10 Apr 14 12:58 E64F-96FB -> ../../sda3 lrwxrwxrwx 1 root root 10 Apr 14 12:58 FA9A499D9A495773 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 14 12:58 b6485691-c9ee-4aad-85ba-4d9a8032e2c7 -> ../../sda8 lrwxrwxrwx 1 root root 10 Apr 14 12:58 fde90f49-6c00-428b-8bf8-c510c9630f9c -> ../../sda9 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (900, 'testing'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.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-amd64 depends on: ii debconf [debconf-2.0] 1.5.66 ii grub-common 2.02+dfsg1-4 ii grub-efi-amd64-bin 2.02+dfsg1-4 ii grub2-common 2.02+dfsg1-4 ii ucf 3.0038 grub-efi-amd64 recommends no packages. grub-efi-amd64 suggests no packages. -- debconf information: * grub2/linux_cmdline: grub2/device_map_regenerated: grub2/force_efi_extra_removable: false grub2/kfreebsd_cmdline: grub2/update_nvram: true grub2/kfreebsd_cmdline_default: quiet * grub2/linux_cmdline_default: quiet