You are not logged in.
I wanted to mount my esp at /mnt/efi and install grub. I was wondering what commands should I use to generate the config file. Is it `grub-mkconfig -o /efi/grub/grub.cfg` or something else?
Offline
normally esp show be mounted under /boot/efi, and grub will be installed under /boot by default.
grub-mkconfig -o /boot/grub/grub.cfg
cp /boot/efi/EFI/GRUB/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
Offline
It doesn't matter where you mount it, but yes placing the config under /boot/grub regardless should be the way to go.
Online