Bug#808366: grub-efi-amd64 -- error: symbol 'grub_efi_find_last_device_path' not found

Ian Campbell ijc at debian.org
Sat Dec 19 15:31:09 UTC 2015


On Sat, 2015-12-19 at 09:11 -0600, S. R. Wright wrote:
> I definitely did not copy anything manually into the EFI System 
> Partition;  if a rogue file got into there -- or if something didn't get 
> updated there that should have -- it happened via process.  A downgrade 
> back to 32 worked fine,  an upgrade to 33 broke down, bothe of these 
> performed using dpkg/apt-get.  About all I can say.

Is it at all possible that you answered yes to the grub-installer/force
-efi-extra-removable question during installation (see below[0] for the
text of that option) or since then using the rescue mode?

If so then perhaps you have tripped over 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792247 which caused
this setting not to be correctly propagated into the installed system,
which in turn would lead to that copy of grub not being updated on
package upgrade.

What do:
    debconf-get-selections | grep grub
and (needs to be run as root):
    debconf-get-selections --installer | grep grub
report? (FYI using reportbug to file bugs automatically includes this
and other useful information).

What files to you have under /boot/efi? In particular anything in
/boot/efi/EFI/boot? Do the timestamps on /boot/efi/EFI/*/* indicate
things are getting updated during upgrade? (It might be easiest to
answer all of those by posting the output of "find /boot/efi -ls")

Ian.

[0]
Template: grub-installer/force-efi-extra-removable
Type: boolean
Default: false
# :sl1:
_Description: Force GRUB installation to the EFI removable media path?
 It seems that this computer is configured to boot via EFI, but maybe
 that configuration will not work for booting from the hard
 drive. Some EFI firmware implementations do not meet the EFI
 specification (i.e. they are buggy!) and do not support proper
 configuration of boot options from system hard drives.
 .
 A workaround for this problem is to install an extra copy of the EFI
 version of the GRUB boot loader to a fallback location, the
 "removable media path". Almost all EFI systems, no matter how buggy,
 will boot GRUB that way.
 .
 Warning: If the installer failed to detect another operating system
 that is present on your computer that also depends on this fallback,
 installing GRUB there will make that operating system temporarily
 unbootable. GRUB can be manually configured later to boot it if
 necessary.



More information about the Pkg-grub-devel mailing list