Article 53FGK GRUB configuring for the wrong platform on LFS Version 20200509-systemd

GRUB configuring for the wrong platform on LFS Version 20200509-systemd

by
archbtw
from LinuxQuestions.org on (#53FGK)
Hey, everyone.

I'm trying to install GRUB for my LFS build, and I'm getting a really weird problem where running the grub-install script yields this error:
Code:grub-install --recheck /dev/nvme1n1p1 --target=x86_64-efi --efi-directory=/boot

grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.For some reason, it configured (in Chapter 6) for i386 instead of x86-64

Also,I should note that unlike my previous posts where I used a VM, I am using my physical machine with the following specs:
Code:Arch Linux (kernel version 5.6.8, all packages updated to most recent two days ago)
Intel Core-i7 7800X (6C, 12T)
NVIDIA GTX 1070
24 GB RAM
256 GB Samsung SSD (/ and /boot for host OS)
1 TB WD Black HDD (/home for host OS and Windows 10 Storage)
128 GB Kingston NVMe SSD (dedicated to LFS installation)
*Note: The drives I listed are only those that relate to Linux. I have a Windows installation, but it's probably irrelevant.And here are my partitions for my host and LFS:
Code:/dev/sda
|-/dev/sda1 /boot
|-/dev/sda2 /
/dev/sdb
|-/dev/sdb1 /home
|-/dev/sdb2 (Windows Storage)
/dev/nvme1n1
|-/dev/nvme1n1p1 /mnt/lfs/boot
|-/dev/nvme1n1p2 /mnt/lfs
|-/dev/nvme1n1p3 /mnt/lfs/home
|-/dev/nvme1n1p4 /mnt/lfs/optDo y'all have any idea what I should do here, or do y'all know if I would be able to just use my existing boot partition?latest?d=yIl2AUoC8zA latest?i=_Kc8P4NkNnk:HCNRSp97ob8:F7zBnMy latest?i=_Kc8P4NkNnk:HCNRSp97ob8:V_sGLiP latest?d=qj6IDK7rITs latest?i=_Kc8P4NkNnk:HCNRSp97ob8:gIN9vFw_Kc8P4NkNnk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments