You are not logged in.

#1 2018-08-12 23:15:23

irondude
Member
Registered: 2018-06-23
Posts: 12

MSI Mainboard doesn't see GRUB

My board is a Z370M MORTAR (MS-7B54) by MSI. The grubx64.efi is located under /boot/EFI/GRUB as the wiki suggests if I understand it correctly.
If I reboot I get thrown into the BIOS and no bootable device shows up.

Offline

#2 2018-08-13 07:28:01

sincomil
Member
Registered: 2018-02-13
Posts: 106

Re: MSI Mainboard doesn't see GRUB

irondude, it is not enough to have EFI-executable on specific place on ESP partition, also you have to put a record for that file to EFI on you motherboard. Or you can use well known place for your EFI-executable how it is works for EFI-bootable removable media. For that you should put EFI-executable under  esp/EFI/BOOT/BOOTX64.EFI (or esp/EFI/BOOT/BOOTIA32.EFI for the i386-efi target)

Last edited by sincomil (2018-08-13 07:33:42)

Offline

#3 2018-08-13 17:00:54

irondude
Member
Registered: 2018-06-23
Posts: 12

Re: MSI Mainboard doesn't see GRUB

In chroot when I do:

grub-install --target=x86_64-efi --efi-directory=/dev/sda1 --bootloader-id=GRUB

I get:

grub-install: error: failed to get canonical path of `udev'.

Parted says:

Number  Start   End    Size    File system     Name              Flags
 1      1049kB  525MB  524MB   fat32           EFI System        boot, esp
 2      525MB   269GB  268GB                   Linux filesystem
 3      269GB   286GB  17.2GB  linux-swap(v1)  Linux swap

Offline

#4 2018-08-13 18:16:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: MSI Mainboard doesn't see GRUB

You have to mount the partition and pass the mountpoint as the argument to --efi-directory. There was a similar issue with an MSI board, so I think sincomil's default path suggestion is right on the money, see here as well: https://bbs.archlinux.org/viewtopic.php?id=238572

Offline

Board footer

Powered by FluxBB