You are not logged in.

#1 2020-11-30 09:57:13

Benjimanrich
Member
Registered: 2020-11-30
Posts: 15

Where do I put the grub config if I mounted the ESP at /mnt/efi

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

#2 2020-11-30 23:58:23

twobooks
Member
From: rainforest
Registered: 2020-06-23
Posts: 46

Re: Where do I put the grub config if I mounted the ESP at /mnt/efi

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

#3 2020-12-01 08:51:48

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

Re: Where do I put the grub config if I mounted the ESP at /mnt/efi

It doesn't matter where you mount it, but yes placing the config under /boot/grub regardless should be the way to go.

Offline

Board footer

Powered by FluxBB