I have the same problem on a Lenovo Thinkpad E125 as well.

Assuming the uefi and root partitions are /dev/sda1 and /dev/sda2 
respectively, the following helped in the case of Lenovo, but did not help 
in case of Asus Eee PC 1215B :

     boot in UEFI the 18.04.1 pen,

     continue in "try" mode and then in a terminal after "sudo -s"

     mount "/dev/sda2 /mnt

     mkdir --parents /mnt/boot/efi

     mount "/dev/sda1 /mnt/boot/efi

     for x in dev dev/pts proc sys ; do
         mount -B /$x /mnt/$x
     done

     modprobe efivars

     apt-get install --reinstall grub-efi-amd64-signed

     grub-install --no-nvram --root-directory=/mnt

     chroot /mnt update-grub

     cd /mnt/boot/efi/EFI

     cp -R ubuntu/* BOOT/

     cd BOOT

     cp grubx64.efi bootx64.efi

In case of Asus 1215B the following did help:

     boot in UEFI the 18.04.1 pen,

     continue in "try" mode and then in a terminal after "sudo -s"

     add-apt-repository ppa:yannubuntu/boot-repair

     apt-get update

     apt-get install -y boot-repair

     boot-repair

Now the both old (2011 = early UEFI) laptops boot 18.04 in UEFI mode.

It would be nice, if the 18.04 install media would have this fairly 
universal, not really laptop-specific knowledge, ...  what I learned from 
various internet resources.

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

Title:
  18.04 erasing all reinstall on uefi fails to install the boot loader

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1787916/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to