[Bug 1533258] Re: Selecting grub entries (efi) at boot time leads to "error: symbol 'grub_efi_find_last_device_path' not found"
Aydin K.
akocas at yahoo.de
Sat Apr 30 12:15:05 UTC 2016
Am having the same issue (dual boot, win10 and linux mint based on ubuntu 14.04).
Linux boots, but not win10.
Looks like bug was introduced with 2.02~beta2-9ubuntu1.7.diff.gz
Check here for the commit details:
http://launchpadlibrarian.net/230268356/grub2_2.02~beta2-9ubuntu1.6_2.02~beta2-9ubuntu1.7.diff.gz
Maybe the author of the affected 1.7 version (dann frazier) can help us
- I added his e-mail to the subscriber list of this bug.
My details:
# find /boot/efi -ls | grep x64.efi
14 117 -rwxr-xr-x 1 root root 119808 Jun 26 2015 /boot/efi/EFI/linuxmint/grubx64.efi
20 1260 -rwxr-xr-x 1 root root 1289424 Apr 13 21:37 /boot/efi/EFI/ubuntu/shimx64.efi
21 936 -rwxr-xr-x 1 root root 958328 Apr 13 21:37 /boot/efi/EFI/ubuntu/grubx64.efi
404 1129 -rwxr-xr-x 1 root root 1155424 Jul 10 2015 /boot/efi/EFI/Boot/bkpbootx64.efi
405 1324 -rwxr-xr-x 1 root root 1355736 Jul 31 2015 /boot/efi/EFI/Boot/bootx64.efi
772 1129 -rwxr-xr-x 1 root root 1155424 Jul 31 2015 /boot/efi/boot-sav/log/2015-07-31__16h20boot-repair52/sdb2/bootx64.efi
# efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2002,0000,0001,2001,2003
Boot0000* Windows Boot Manager HD(2,12c800,32000,c93e4576-8212-41d7-bf8b-539d15048fd9)File(\EFI\linuxmint\grubx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* Windows Boot Manager HD(2,12c800,32000,c93e4576-8212-41d7-bf8b-539d15048fd9)File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0002* ATAPI CDROM: MATSHITA DVD-RAM UJ8HC ACPI(a0341d0,0)PCI(1f,2)03120a00010000000000CD-ROM(1,52b,15a515)RC
Boot0003* Unknown Device: HD(2,12c800,32000,c93e4576-8212-41d7-bf8b-539d15048fd9)File(\EFI\ubuntu\shimx64.efi)RC
Boot0004* ubuntu HD(2,12c800,32000,c93e4576-8212-41d7-bf8b-539d15048fd9)File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
** Changed in: grub2 (Ubuntu)
Status: Incomplete => Confirmed
--
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
You can start synaptic "sudo synaptic" and force the previous version
of these packages (Package->Force version...) and lock that version
(Package->Lock version...).
I did it manually as described below:
Steps:
1. Download the following files (from https://launchpad.net/~ubuntu-
security-proposed/+archive/ubuntu/ppa/+build/8443424) 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
grub-efi_2.02~beta2-9ubuntu1.6_amd64.deb
2. From that folder install the deb files with the following command:
sudo dpkg -i *.deb
2.5 Output of efibootmgr
>sudo efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0002,0001,2001,2002,2003
Boot0000* Windows Boot Manager HD(2,12c800,96000,8c965bfd-9dc7-445e-b481-cec70920cd03)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* Unknown Device: HD(2,12c800,96000,8c965bfd-9dc7-445e-b481-cec70920cd03)File(\EFI\ubuntu\shimx64.efi)RC
Boot0002* ubuntu HD(2,12c800,96000,8c965bfd-9dc7-445e-b481-cec70920cd03)File(\EFI\ubuntu\grubx64.efi)
Boot0004* WDC WD10JPVX-22JC3T0 BIOS(4,500,00)................-...........A......R..............................)-........A.........................
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
michael at gonster:~$
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