[Bug 1832282] Re: Lenovo Ideapad 320-15IAP unable to install on UEFI - Grub install crashes

nycnikato 1832282 at bugs.launchpad.net
Sun Jul 7 17:30:00 UTC 2019


I have new information which may help this laptop and many others.
Apparently a change in the Logic of the installer may fix this issue for
this laptop and many others. I have obtained this information from a
friend who develops for EndlessOS. He expolains why EndlessOS installs
so well on stubborn systems:

Endless, unlike other distributions, copies their bootloader to the
fallback location (EFI/BOOT/bootx64.efi) on the EFI partition. Other
distributions don't do that because they don't want to fight with
Windows for ownership of this fallback boot loader. And your laptop is
one the few bad ones that always boots the fallback entry regardless of
what is in the EFI variables.

So, here are your options:

Install Debian, or install Ubuntu using the alternative installer. When booting the installer, select Advanced options > Expert install. When asked about installation of the boot loader into the removable media path, say Yes.
Install any other distribution. Fix up the incomplete installation by booting the installer in rescue mode. All you need to do is to copy grubx64.efi from its original location to EFI/BOOT/bootx64.efi. Or, if Secure Boot is enabled, copy shim.efi to EFI/BOOT/bootx64.efi instead, and also copy grubx64.efi near it.
Hopefully this list of md5sums from an Endless 3.5 VM will help. fallback.efi is something Endless-specific that fixes the boot order, but you should not need that.

75238f560aee0c2c1ff8fd8059de162f  ./EFI/BOOT/fallback.efi
2a03c6987a88764801ce51e5e4ad3ad8  ./EFI/BOOT/bootia32.efi
7661abbf92a68466a3562ec887365e6a  ./EFI/BOOT/bootx64.efi
23f901ffd8afd7d4077d415319acae70  ./EFI/endless/MokManager.efi
6d4a0f0e0d9770450313ab8223c95672  ./EFI/endless/grubx64.efi
ead39d2076f31634eef2ac4b2638d1e6  ./EFI/endless/BOOT.CSV
7661abbf92a68466a3562ec887365e6a  ./EFI/endless/shim.efi

So perhaps a way around this bug is just to change the assumptions that the installer makes when someone decides they want to wipe the drive clean. I would be ok if Installing alongside windows fails. 
I should add that the alternative installer approach failed. 

Thanks to u/patrakov on Reddit.

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

Title:
  Lenovo Ideapad 320-15IAP  unable to install on UEFI - Grub install
  crashes

Status in grub-installer package in Ubuntu:
  New

Bug description:
  This particular laptop has issues installing Grub in UEFI. For Ubuntu
  and many others Limux distro . Ultimately I have worked on this error
  and always get an input/output error in efibootmgr. So i am not sure
  if this still counts as a Grub issue or if it is ultimately solely an
  efibootmgr issue. Whether I install to sda or sda1 I get the same
  issue.. by the way, the error in efibootmgr is unable to register the
  boot entry input/output error. I am certain the issue is not related
  to space. To test it I tried to install bootloader to an sda1
  partition with 8000MB of space. Is there someplace on the motherboard
  perhaps that needs to be wiped clean somehow? I do not know. I hope
  all of this info helps

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: ubiquity 19.04.9 [modified: lib/partman/automatically_partition/question]
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  CasperVersion: 1.405
  Date: Mon Jun 10 20:11:42 2019
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  LiveMediaBuild: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list