[Bug 1533258] Re: Selecting grub entries (efi) at boot time leads to "error: symbol 'grub_efi_find_last_device_path' not found"

Phillip Susi phillsusi at gmail.com
Thu Feb 4 13:47:31 UTC 2016


*** This bug is a duplicate of bug 1366546 ***
    https://bugs.launchpad.net/bugs/1366546

What?  That didn't make sense.  Can you go into your bios and try to
change the boot order there?  It looks like it is buggy and refuses to
accept the boot configuration and will only boot the hard drive like it
is a removable media.  You might try deleting the Boot directory on your
EFI system partition and see if that helps ( but keep a copy of it
somewhere else so you can put it back if the system becomes unbootable
).  Otherwise, the only thing for it is to copy ubuntu/grubx64.efi to
Boot/bootx64.efi and complain to the manufacturer about their broken
firmware ( or better yet, return it for a refund and buy from someone
who doesn't use broken firmware ).  This is what boot-repair did when
you used it before, and after updating grub, the copy is now out of
date, hence the error.


** This bug has been marked a duplicate of bug 1366546
   Ubuntu doesn't provide \EFI\BOOT\BOOTX64.EFI for UEFI systems

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1533258

Title:
  Selecting grub entries (efi) at boot time leads to "error: symbol
  'grub_efi_find_last_device_path' not found"

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  1. Situation

  1.1 I installed Ubuntu 14.04 on an OEM "Windows 8.1" laptop more than a year ago
  1.2 Ubuntu installed grub to manage OS selection
  1.2 The last automatic software update of Ubuntu (09.01.2016) updated grub (see https://bugs.launchpad.net/ubuntu/+source/grub2/2.02~beta2-9ubuntu1.7) 
  1.3 Since then selecting grub menu items to start windows produces the following error message

      "symbol 'grub_efi_find_last_device_path' not found"

  1.4 Reverting back to https://bugs.launchpad.net/ubuntu/+source/grub2/2.02~beta2-9ubuntu1.6 solves this issue
  1.5 Retrying to upgrade from 2.02~beta2-9ubuntu1.6  to 2.02~beta2-9ubuntu1.7 reintrocudes the issue  

  
  2. References 

  2.1 Output of

          dpkg --list | grep grub

  is

  ii  grub-common            2.02~beta2-9ubuntu1.7   amd64   GRand Unified Bootloader (common files)
  ii  grub-efi                        2.02~beta2-9ubuntu1.7   amd64   GRand Unified Bootloader, version 2 (dummy package)
  ii  grub-efi-amd64         2.02~beta2-9ubuntu1.7   amd64   GRand Unified Bootloader, version 2 (EFI-AMD64 version)
  ii  grub-efi-amd64-bin  2.02~beta2-9ubuntu1.7   amd64   GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
  ii  grub2-common          2.02~beta2-9ubuntu1.7   amd64   GRand Unified Bootloader (common files for version 2)

  2.2 Extract of /var/log/apt/term.log

  Log started: 2016-01-09  13:13:08
  (Reading database ... 
  ...
  (Reading database ... 100%
  (Reading database ... 1300498 files and directories currently installed.)
  ...
  Preparing to unpack .../grub-efi_2.02~beta2-9ubuntu1.7_amd64.deb ...
  Unpacking grub-efi (2.02~beta2-9ubuntu1.7) over (2.02~beta2-9ubuntu1.6) ...
  Preparing to unpack .../grub-efi-amd64_2.02~beta2-9ubuntu1.7_amd64.deb ...
  Unpacking grub-efi-amd64 (2.02~beta2-9ubuntu1.7) over (2.02~beta2-9ubuntu1.6) ...
  Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-9ubuntu1.7_amd64.deb ...
  Unpacking grub-efi-amd64-bin (2.02~beta2-9ubuntu1.7) over (2.02~beta2-9ubuntu1.6) ...
  Preparing to unpack .../grub2-common_2.02~beta2-9ubuntu1.7_amd64.deb ...
  Unpacking grub2-common (2.02~beta2-9ubuntu1.7) over (2.02~beta2-9ubuntu1.6) ...
  Preparing to unpack .../grub-common_2.02~beta2-9ubuntu1.7_amd64.deb ...
  Unpacking grub-common (2.02~beta2-9ubuntu1.7) over (2.02~beta2-9ubuntu1.6) ...
  ...
  Setting up grub-common (2.02~beta2-9ubuntu1.7) ...
  Installing new version of config file /etc/grub.d/00_header ...
  Setting up grub2-common (2.02~beta2-9ubuntu1.7) ...
  Setting up grub-efi-amd64-bin (2.02~beta2-9ubuntu1.7) ...
  Setting up grub-efi-amd64 (2.02~beta2-9ubuntu1.7) ...
  Installing for x86_64-efi platform.
  installation beendet. Keine Fehler aufgetreten.
  Grub-Konfigurationsdatei wird generiert …
  Linux-Abbild gefunden: /boot/vmlinuz-3.16.0-57-generic
  initrd-Abbild gefunden: /boot/initrd.img-3.16.0-57-generic
  ...
  Linux-Abbild gefunden: /boot/vmlinuz-3.13.0-40-generic
  initrd-Abbild gefunden: /boot/initrd.img-3.13.0-40-generic
  Windows Boot Manager auf /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi gefunden
  Adding boot menu entry for EFI firmware configuration
  erledigt
  Setting up grub-efi (2.02~beta2-9ubuntu1.7) ...
  Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
  Log ended: 2016-01-09  13:13:25

  
  2.3 Output of

  find  /boot/efi -ls | grep x64.efi

  is

      14 1324 -rwxr-xr-x   1 root     root      1355736 Nov  2  2014 /boot/efi/EFI/ubuntu/shimx64.efi
      15  120 -rwxr-xr-x   1 root     root       119296 Jan  9 13:13 /boot/efi/EFI/ubuntu/grubx64.efi
     350    0 -rwxr-xr-x   1 root     root            0 Nov  2  2014 /boot/efi/EFI/Microsoft/Boot/bootx64.efi.grb
     351  120 -rwxr-xr-x   1 root     root       119296 Nov  2  2014 /boot/efi/EFI/Microsoft/Boot/bootx64.efi
     358 1580 -rwxr-xr-x   1 root     root      1617240 Jun 14  2014 /boot/efi/EFI/Boot/bkpbootx64.efi
     359  120 -rwxr-xr-x   1 root     root       119296 Nov  2  2014 /boot/efi/EFI/Boot/bootx64.efi

  
  2.4 Reverting to grub 2.02-beta2-9ubuntu1.6_amd64 

  Steps:

  1. Download the following files in a separate (newly created) folder

  grub2-common_2.02-beta2-9ubuntu1.6_amd64.deb
  grub-common_2.02-beta2-9ubuntu1.6_amd64.deb
  grub-efi-amd64_2.02-beta2-9ubuntu1.6_amd64.deb
  grub-efi-amd64-bin_2.02-beta2-9ubuntu1.6_amd64.deb

  2. From that folder install the deb files with the following command:

  sudo dpkg -i *.deb

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1533258/+subscriptions



More information about the foundations-bugs mailing list