Open HanM23 opened 3 months ago
I have meet the same issue, when use /efi
as ESP, will exec grub-mkconfig -o /efi/grub/grub.cfg
, this will cause 2 issues:
/efi/grub
directory in the ESP./boot/grub/grub.cfg
so it won't boot archlinux.@HanM23
Indeed, either we use /efi (new style) or /boot/efi (old style) as esp partition, grub.cfg, grubenv, fonts, locales and so on should not be in this partition.
It causes issue with btrfs snapshot for instance if you want to do a restore. All thoses files should be located in the /boot/grub FOLDER inside the root filesystem.
What if the user chooses to encrypt the root file system? This would be problematic because archinstall supports encrypting the root file system but not /boot
(see #1271).
@p2world, duplicate of #2372
What if the user chooses to encrypt the root file system? This would be problematic because archinstall supports encrypting the root file system but not
/boot
(see #1271).
This is the problem indeed if the installer does not support /boot encryption, it should, hopefully soon.
Right. It can be done, it just is not there yet.
I do not understand the fix #2048
It will put
grub.cfg
into/boot/efi/grub
if we use/boot/efi
as esp partition OR into/efi/grub
if we use/efi
as esp partitionIndeed, either we use /efi (new style) or /boot/efi (old style) as esp partition, grub.cfg, grubenv, fonts, locales and so on should not be in this partition.
It causes issue with btrfs snapshot for instance if you want to do a restore. All thoses files should be located in the /boot/grub FOLDER inside the root filesystem.
Only
bootx64.efi
or/andgrubx64.efi
should be inside the esp partition.NB: also, permissions of folder (e.g. the mounpoint) in esp partition must be drwx------ and not drwxr-xr-x