grub-install error: modinfo.sh doesn't exist

21,668

You have typos. It must be x86 not x84. Also, it should be bootloader-id not bootfloader-id:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
Share:
21,668

Related videos on Youtube

Mpunkt Moeniac
Author by

Mpunkt Moeniac

I studied Mathematik mit Nebenfach Informatik und Informatik an der FAU in Erlangen.

Updated on September 18, 2022

Comments

  • Mpunkt Moeniac
    Mpunkt Moeniac over 1 year

    I entered the following command

    grub-install --target=x84-64-efi --efi-directory=/boot/efi --bootfloader-id=grub
    

    But I get the error

    grub-install: error: /usr/lib/grub/x84_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.

    What is going wrong?

  • Hunter.S.Thompson
    Hunter.S.Thompson over 6 years
    I don't really see how this is going to help other people, it is not a question that can be reproduced, unless there is a typo in the person's command, which is a human error, not something that needs technical help. The error can be reproduced when the person does not add the target or directory, in which case a different answer would be helpful.
  • Eric Haynes
    Eric Haynes over 5 years
    Lol, well, I actually just made the exact same typo, so glad it was here. ;-)