Comment 12 for bug 1269992

Revision history for this message
syscon-hh (syscon-kono) wrote :

Here it won't work:

 **** tail of terminal output *****

root@USB-GDM-TRUSTY:~# grub-install -v
....
.... line numbers for indification only

line 1 : grub-install: Info: the core size is 0x26978.
line 2 : grub-install: Info: writing 0x27c00 bytes.
line 3 : grub-install: Info: copying `/usr/lib/shim/shim.efi.signed' -> `/boot/efi/EFI/ubuntu/grubx64.efi'.
line 4 : grub-install: Info: copying `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' -> `/boot/efi/EFI/ubuntu/grubx64.efi'.
line 5 : grub-install: Info: copying `/usr/lib/shim/MokManager.efi.signed' -> `/boot/efi/EFI/ubuntu/MokManager.efi'.
line 6 : grub-install: Info: copying `/boot/grub/x86_64-efi/load.cfg' -> `/boot/efi/EFI/ubuntu/grub.cfg'.
line 7 : grub-install: Info: Registering with EFI: distributor = `ubuntu', path = `\EFI\ubuntu\shimx64.efi', ESP at hostdisk//dev/sdd,gpt1.
line 8 : grub-install: Info: executing efibootmgr --version </dev/null >/dev/null.
line 9 : grub-install: Info: executing modprobe -q efivars.
line 10: grub-install: Info: executing efibootmgr -c -d /dev/sdd -p 1 -w -L ubuntu -l \EFI\ubuntu\shimx64.efi.
....
....

relevant error at line 3 -> writes 'grubx64.efi' instead of 'shimx64.efi'. This will be overwriten by line 4!

generating a correct line 3 manually as' shimx64.efi' will start / reboot fine.

this error was found on several systems and is reproducible after downgrading to 2.00 and upgrading back
 * UbuntuGNOME
 * Ububtu (Unity)
In all cases the entry inside NVRAM pointed out the 'shimx66.efi' file