My GRUB reinstallation crashes on
executing efibootmgr -c -d /dev/sda -p 2 -w -L manjaro -l \EFI\manjaro\grubx64.efi
I'm following the wiki instructions from
I'm using a Lenovo Ideapad 320 with a HDD and SSD. GRUB should be on /dev/sda2, manjaro on /dev/sda8. Every time I install Windows and subsequently have to reinstall GRUB, I run into this issue. Oddly, sometimes it works despite the issue. I update /etc/fstab (because Windows creates a new boot partition and I have to put in the correct GUID), reinstall grub, reboot (because it crashes), update grub and it's good to go. But not this time.
I boot the latest iso from my USB stick to chroot into the manjaro installation. Oddly enough, not only does the installation itself crash, but the whole computer including the live version of manjaro I booted from USB crashes and everything locks up. That's also why the best I have to offer is this "screenshot".
I tried the normal method and the alternative method outlined in the wiki. The --debug flag at least shows that it consistently crashes at "executing efibootmgr.." as shown in the screenshot, but that's as far as I've got.
I'm not exactly a linux expert and searching for solutions via google hasn't been fruitful. Any pointers at what might be going on?