This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-create-multiboot-usb-with-linux
A got stuck at this step:
$ sudo grub2-install --target=x86_64-efi --recheck --removable --efi-directory="/media/efi" --boot-directory="/media/data/boot" grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
I am using Fedora 29, and grub2-efi is already installed. What am I missing?
Thanks for pointing it out. You should also install the grub2-efi-x64-modules package which contains /usr/lib/grub/x86_64-efi/modinfo.sh. You can verify this by running:
$ dnf whatprovides /usr/lib/grub/x86_64-efi/modinfo.sh
Probably this package was already installed on my system when I wrote the article, so I took it for granted. I will fix this and include it in the tutorial.