Skip to content

mxgrub: Add target to grub install line in warning #179

Merged
merged 1 commit into from
May 5, 2021

Conversation

pmenzel
Copy link
Contributor

@pmenzel pmenzel commented May 5, 2021

Resolves: #178

With GRUB also supporting EFI, the target has to be specified on systems
booted with UEFI but without CSM.

    $ sudo grub-install --boot-directory=/boot /dev/sda
    Installing for x86_64-efi platform.
    grub-install: error: cannot find EFI directory.

The line below works:

    sudo grub-install --target=i386-pc --boot-directory=/boot /dev/sda
@donald
Copy link
Collaborator

donald commented May 5, 2021

#178 has been expanded. Do we need the check and the message at all, as mxgrub KERNEL seems to always do grub-install ?

@pmenzel pmenzel merged commit e7882da into master May 5, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mxgrub broken
2 participants