[SOLVED] Grub error, /usr/lib/grub/x86_64-efi/modinfo.sh not found
by Thakkuduvinte thantha from LinuxQuestions.org on (#5E6RN)
I got my LFS too boot, but I have to select the kernel manually in the grub shell. My current grub bootloader is installed using my host virtual machine's grub-install.
But when I try to install grub from my LFS system its throwing the error.
I checked my directory /usr/lib/grub, there is only one subdirectory, named i386-pc. This is odd, since my VM is booted using uefi. I tried to recompile grub with the configure option, --target=x86_64 and --with-platform=efi.
Even after installing that, I get the same error, and the /usr/lib/grub directory only contains i386-pc.
How do I rectify this?


But when I try to install grub from my LFS system its throwing the error.
I checked my directory /usr/lib/grub, there is only one subdirectory, named i386-pc. This is odd, since my VM is booted using uefi. I tried to recompile grub with the configure option, --target=x86_64 and --with-platform=efi.
Even after installing that, I get the same error, and the /usr/lib/grub directory only contains i386-pc.
How do I rectify this?