[Bug 1509660] Re: Fails to upgrade: `efibootmgr: Could not add entry to BootOrder: No space left on device`
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Mon May 6 14:28:13 UTC 2019
** Package changed: grub2 (Ubuntu) => efibootmgr (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to efibootmgr in Ubuntu.
https://bugs.launchpad.net/bugs/1509660
Title:
Fails to upgrade: `efibootmgr: Could not add entry to BootOrder: No
space left on device`
Status in efibootmgr package in Ubuntu:
New
Bug description:
On my MacBook, the grub upgrade of this morning failed silently: no
error was reported by the graphical update manager. On reboot, it then
skipped grub and booted directly to OSX. Reboot again holding `alt`
key did not list Ubuntu.
My solution was to boot on a 15.04 usb key, to chroot on the disk and
to run grub-mkdevicemap (running "update-grub" or "apt-get install
--reinstall grub-efi-amd64" did not work). After that, rebootingon
Ubuntu was possible.
You will find below the apt logs of this morning upgrade, and then the
apt log of the "apt-get install --reinstall grub-efi-amd64" try
(sorry, all in french):
Log started: 2015-10-24 11:51:56
(Reading database ... 274309 files and directories currently installed.)
Preparing to unpack .../libminiupnpc10_1.9.20140610-2ubuntu1.1_amd64.deb ...
Unpacking libminiupnpc10:amd64 (1.9.20140610-2ubuntu1.1) over (1.9.20140610-2ubuntu1) ...
Preparing to unpack .../lightdm_1.14.2-0ubuntu1.1_amd64.deb ...
Unpacking lightdm (1.14.2-0ubuntu1.1) over (1.14.2-0ubuntu1) ...
Selecting previously unselected package linux-image-3.19.0-31-generic.
Preparing to unpack .../linux-image-3.19.0-31-generic_3.19.0-31.36_amd64.deb ...
Done.
Unpacking linux-image-3.19.0-31-generic (3.19.0-31.36) ...
Preparing to unpack .../tzdata_2015g-0ubuntu0.15.04_all.deb ...
Unpacking tzdata (2015g-0ubuntu0.15.04) over (2015f-0ubuntu0.15.04) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (219-7ubuntu6) ...
Setting up tzdata (2015g-0ubuntu0.15.04) ...
Current default time zone: 'Europe/Paris'
Local time is now: Sat Oct 24 11:52:12 CEST 2015.
Universal Time is now: Sat Oct 24 09:52:12 UTC 2015.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
(Reading database ... 275307 files and directories currently installed.)
Preparing to unpack .../firefox_41.0.2+build2-0ubuntu0.15.04.1_amd64.deb ...
Unpacking firefox (41.0.2+build2-0ubuntu0.15.04.1) over (41.0.1+build2-0ubuntu0.15.04.2) ...
Preparing to unpack .../firefox-locale-en_41.0.2+build2-0ubuntu0.15.04.1_amd64.deb ...
Unpacking firefox-locale-en (41.0.2+build2-0ubuntu0.15.04.1) over (41.0.1+build2-0ubuntu0.15.04.2) ...
Preparing to unpack .../firefox-locale-fr_41.0.2+build2-0ubuntu0.15.04.1_amd64.deb ...
Unpacking firefox-locale-fr (41.0.2+build2-0ubuntu0.15.04.1) over (41.0.1+build2-0ubuntu0.15.04.2) ...
Preparing to unpack .../flashplugin-installer_11.2.202.540ubuntu0.15.04.2_amd64.deb ...
Unpacking flashplugin-installer (11.2.202.540ubuntu0.15.04.2) over (11.2.202.535ubuntu0.15.04.1) ...
Preparing to unpack .../grub-efi-amd64-signed_1.46.2+2.02~beta2-22ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.46.2+2.02~beta2-22ubuntu1.2) over (1.46.1+2.02~beta2-22ubuntu1.1) ...
Preparing to unpack .../grub-efi-amd64_2.02~beta2-22ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-22ubuntu1.2) over (2.02~beta2-22ubuntu1.1) ...
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-22ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-22ubuntu1.2) over (2.02~beta2-22ubuntu1.1) ...
Preparing to unpack .../grub2-common_2.02~beta2-22ubuntu1.2_amd64.deb ...
Unpacking grub2-common (2.02~beta2-22ubuntu1.2) over (2.02~beta2-22ubuntu1.1) ...
Preparing to unpack .../grub-common_2.02~beta2-22ubuntu1.2_amd64.deb ...
Unpacking grub-common (2.02~beta2-22ubuntu1.2) over (2.02~beta2-22ubuntu1.1) ...
Preparing to unpack .../liblightdm-gobject-1-0_1.14.2-0ubuntu1.1_amd64.deb ...
Unpacking liblightdm-gobject-1-0 (1.14.2-0ubuntu1.1) over (1.14.2-0ubuntu1) ...
Selecting previously unselected package linux-image-extra-3.19.0-31-generic.
Preparing to unpack .../linux-image-extra-3.19.0-31-generic_3.19.0-31.36_amd64.deb ...
Unpacking linux-image-extra-3.19.0-31-generic (3.19.0-31.36) ...
Preparing to unpack .../linux-generic_3.19.0.31.30_amd64.deb ...
Unpacking linux-generic (3.19.0.31.30) over (3.19.0.30.29) ...
Preparing to unpack .../linux-image-generic_3.19.0.31.30_amd64.deb ...
Unpacking linux-image-generic (3.19.0.31.30) over (3.19.0.30.29) ...
Selecting previously unselected package linux-signed-image-3.19.0-31-generic.
Preparing to unpack .../linux-signed-image-3.19.0-31-generic_3.19.0-31.36_amd64.deb ...
Unpacking linux-signed-image-3.19.0-31-generic (3.19.0-31.36) ...
Preparing to unpack .../linux-signed-generic_3.19.0.31.30_amd64.deb ...
Unpacking linux-signed-generic (3.19.0.31.30) over (3.19.0.30.29) ...
Preparing to unpack .../linux-signed-image-generic_3.19.0.31.30_amd64.deb ...
Unpacking linux-signed-image-generic (3.19.0.31.30) over (3.19.0.30.29) ...
Selecting previously unselected package linux-headers-3.19.0-31.
Preparing to unpack .../linux-headers-3.19.0-31_3.19.0-31.36_all.deb ...
Unpacking linux-headers-3.19.0-31 (3.19.0-31.36) ...
Selecting previously unselected package linux-headers-3.19.0-31-generic.
Preparing to unpack .../linux-headers-3.19.0-31-generic_3.19.0-31.36_amd64.deb ...
Unpacking linux-headers-3.19.0-31-generic (3.19.0-31.36) ...
Preparing to unpack .../linux-headers-generic_3.19.0.31.30_amd64.deb ...
Unpacking linux-headers-generic (3.19.0.31.30) over (3.19.0.30.29) ...
Preparing to unpack .../linux-libc-dev_3.19.0-31.36_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.19.0-31.36) over (3.19.0-30.34) ...
Preparing to unpack .../liboxideqt-qmlplugin_1.10.3-0ubuntu0.15.04.1_amd64.deb ...
Unpacking liboxideqt-qmlplugin:amd64 (1.10.3-0ubuntu0.15.04.1) over (1.9.5-0ubuntu0.15.04.1) ...
Preparing to unpack .../liboxideqtquick0_1.10.3-0ubuntu0.15.04.1_amd64.deb ...
Unpacking liboxideqtquick0:amd64 (1.10.3-0ubuntu0.15.04.1) over (1.9.5-0ubuntu0.15.04.1) ...
Preparing to unpack .../liboxideqtcore0_1.10.3-0ubuntu0.15.04.1_amd64.deb ...
Unpacking liboxideqtcore0:amd64 (1.10.3-0ubuntu0.15.04.1) over (1.9.5-0ubuntu0.15.04.1) ...
Preparing to unpack .../oxideqt-codecs-extra_1.10.3-0ubuntu0.15.04.1_amd64.deb ...
Unpacking oxideqt-codecs-extra:amd64 (1.10.3-0ubuntu0.15.04.1) over (1.9.5-0ubuntu0.15.04.1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for update-notifier-common (3.160) ...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20151016.2.orig.tar.gz
Réception de : 1 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20151016.2.orig.tar.gz [26,5 MB]
26,5 Mo réceptionnés en 1min 48s (244 ko/s)
Installing from local file /var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20151016.2.orig.tar.gz
Flash Plugin installed.
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Processing triggers for systemd (219-7ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up libminiupnpc10:amd64 (1.9.20140610-2ubuntu1.1) ...
Setting up lightdm (1.14.2-0ubuntu1.1) ...
Setting up linux-image-3.19.0-31-generic (3.19.0-31.36) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-3.19.0-31-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-31-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-30-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-30-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-28-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-28-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-26-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-26-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-15-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-15-generic
Mac OS X trouvé sur /dev/sda2
Mac OS X trouvé sur /dev/sda3
fait
Setting up firefox (41.0.2+build2-0ubuntu0.15.04.1) ...
Please restart all running instances of firefox, or you will experience problems.
Setting up firefox-locale-en (41.0.2+build2-0ubuntu0.15.04.1) ...
Setting up firefox-locale-fr (41.0.2+build2-0ubuntu0.15.04.1) ...
Setting up flashplugin-installer (11.2.202.540ubuntu0.15.04.2) ...
Setting up grub-common (2.02~beta2-22ubuntu1.2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up grub2-common (2.02~beta2-22ubuntu1.2) ...
Setting up grub-efi-amd64-bin (2.02~beta2-22ubuntu1.2) ...
Setting up grub-efi-amd64 (2.02~beta2-22ubuntu1.2) ...
Installation pour la plate-forme x86_64-efi
Installation terminée, sans erreur.
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-3.19.0-31-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-31-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-30-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-30-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-28-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-28-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-26-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-26-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-15-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-15-generic
Mac OS X trouvé sur /dev/sda2
Mac OS X trouvé sur /dev/sda3
fait
Setting up grub-efi-amd64-signed (1.46.2+2.02~beta2-22ubuntu1.2) ...
Installation pour la plate-forme x86_64-efi
efibootmgr: Could not add entry to BootOrder: No space left on device
Installation terminée, sans erreur.
Setting up liblightdm-gobject-1-0 (1.14.2-0ubuntu1.1) ...
Setting up linux-image-extra-3.19.0-31-generic (3.19.0-31.36) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-3.19.0-31-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-31-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-30-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-30-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-28-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-28-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-26-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-26-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-15-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-15-generic
Mac OS X trouvé sur /dev/sda2
Mac OS X trouvé sur /dev/sda3
fait
Setting up linux-image-generic (3.19.0.31.30) ...
Setting up linux-headers-3.19.0-31 (3.19.0-31.36) ...
Setting up linux-headers-3.19.0-31-generic (3.19.0-31.36) ...
Setting up linux-headers-generic (3.19.0.31.30) ...
Setting up linux-generic (3.19.0.31.30) ...
Setting up linux-signed-image-3.19.0-31-generic (3.19.0-31.36) ...
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-3.19.0-31-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-31-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-30-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-30-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-28-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-28-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-26-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-26-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-15-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-15-generic
Mac OS X trouvé sur /dev/sda2
Mac OS X trouvé sur /dev/sda3
fait
Setting up linux-signed-image-generic (3.19.0.31.30) ...
Setting up linux-signed-generic (3.19.0.31.30) ...
Setting up linux-libc-dev:amd64 (3.19.0-31.36) ...
Setting up oxideqt-codecs-extra:amd64 (1.10.3-0ubuntu0.15.04.1) ...
Setting up liboxideqtcore0:amd64 (1.10.3-0ubuntu0.15.04.1) ...
Setting up liboxideqtquick0:amd64 (1.10.3-0ubuntu0.15.04.1) ...
Setting up liboxideqt-qmlplugin:amd64 (1.10.3-0ubuntu0.15.04.1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Log ended: 2015-10-24 11:57:16
Log started: 2015-10-24 14:40:36
(Reading database ... 304505 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64_2.02~beta2-22ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-22ubuntu1.2) over (2.02~beta2-22ubuntu1.2) ...
Setting up grub-efi-amd64 (2.02~beta2-22ubuntu1.2) ...
Installing for x86_64-efi platform.
efibootmgr: Could not delete boot variable: No such file or directory
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-31-generic
Found initrd image: /boot/initrd.img-3.19.0-31-generic
Found linux image: /boot/vmlinuz-3.19.0-30-generic
Found initrd image: /boot/initrd.img-3.19.0-30-generic
Found linux image: /boot/vmlinuz-3.19.0-28-generic
Found initrd image: /boot/initrd.img-3.19.0-28-generic
Found linux image: /boot/vmlinuz-3.19.0-26-generic
Found initrd image: /boot/initrd.img-3.19.0-26-generic
Found linux image: /boot/vmlinuz-3.19.0-15-generic
Found initrd image: /boot/initrd.img-3.19.0-15-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found Mac OS X on /dev/sda2
Found Mac OS X on /dev/sda3
done
Log ended: 2015-10-24 14:40:58
Please feel free to ask if more information is needed.
Regards,
Yvan
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: grub-efi-amd64 2.02~beta2-22ubuntu1.2
ProcVersionSignature: Ubuntu 3.19.0-31.36-generic 3.19.8-ckt7
Uname: Linux 3.19.0-31-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.5
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Oct 24 15:20:08 2015
InstallationDate: Installed on 2015-08-21 (63 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/efibootmgr/+bug/1509660/+subscriptions
More information about the foundations-bugs
mailing list