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

Glenn Goldie ggoldie at hotmail.com
Tue Jan 19 06:35:29 UTC 2016


Would like to confirm this bug, I recently experienced the exact same
error when trying to boot a Windows8.1 install from grub menu. My Linux
Mint 17 continued to boot normally.

I attempted to remove/reinstall grub with all defaults etc.. no change.

I found in my update history updates of 6 x grub packages firstly from
1.3 to 1.6 and then from 1.6 to 1.7 on January 6th.

grub2-common
grub-common
grub-efi
grub-efi-amd64
grub-efi-amd64-bin
grub-pc-bin

I rolled back to 1.3 using files in /var/apt/cache/archives and presto,
Windows boots just fine again. Updated to 1.6 and Windows still boots.
Updated to 1.7 and it breaks again with exact same error as reported in
this bug.

-- 
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:
  Confirmed

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