You are not logged in.
I'm having difficulty installing GRUB. When I'm chrooted in the system, and run the command:
grub-install --target=x86_64-efi --efi-directory=/boot
I get this error:
Installing for x86_64-efi platform.
grub-install: error: Can't create file: No such file or directory.
grub-install says: grub-install: error: Can't create file: No such file or directory.
I've followed all the instructions correctly, AFAIK. I'm following this guide in the Mac Arch wiki article for installing to a Mac. That seems to be just the installation guide with a few tweaks, such as an HFS+ boot partition. I have an HFS+ boot partition, with my install target mounted to /mnt and the boot partition mounted to /mnt/boot. When chrooted into the install, I can verify that /boot contains my boot partition contents.
How can I fix this so that I can install GRUB?
Offline
The grub error message is not very informative. To find what exactly file it is looking for use strace tool:
strace -e file grub-install --target=x86_64-efi --efi-directory=/boot
Last edited by anatolik (2017-01-11 22:40:49)
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline