View previous topic :: View next topic |
Author |
Message |
Sputnick n00b
Joined: 10 May 2004 Posts: 64
|
Posted: Thu Nov 22, 2018 7:56 am Post subject: grub-install failure |
|
|
Code: | (chroot) livecd / # grub-install /dev/sda
grub-install: Fail: /usr/lib/grub/i386-pc/modinfo.sh doesnt exist. Define --target or --directory. |
I use Asus k8v-mx motherboard.
Dont think i have efi bios.
Could go for lilo maybe. But want to see this trough first.
Fstab:
Code: |
LABEL=swap none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/sda2 /boot ext2 defaults 0 2
/dev/sda3 none swap sw 0 0
/dev/sda4 / ext4 noatime 0 1
|
|
|
Back to top |
|
|
Dwosky Tux's lil' helper
Joined: 07 Nov 2018 Posts: 135
|
Posted: Thu Nov 22, 2018 8:33 am Post subject: |
|
|
Have you checked if GRUB2 was built with the correct platform? You might need to define GRUB_PLATFORMS in your make.conf file as the wiki suggest: https://wiki.gentoo.org/wiki/GRUB2
Also if the disk is GPT, a small BIOS boot partition with type EF02 its needed. You can find information about that also on the same wiki page. |
|
Back to top |
|
|
|