On 23/01/2020 11.32, Andrei Borzenkov wrote:
On Thu, Jan 23, 2020 at 1:30 PM Carlos E. R. <> wrote:
| UEFI boot requires that there is a VFAT formated EFI system | partition. This partition should be mounted on /boot/efi and this | is the location where GRUB2 will be installed.
No, /boot/efi does not contain grub.
It does.
Grub is in /boot in all cases.
GRUB consists of multiple parts. At least in case of secure boot grub is completely located on ESP and does not load anything from /boot. Otherwise stage1.5 is in ESP.
Isengard:~ # tree /boot/efi/ /boot/efi/ └── EFI ~ ├── boot ~ │ ├── MokManager.efi ~ │ ├── bootx64.efi ~ │ ├── fallback.efi ~ │ ├── grub.cfg ~ │ └── grub.efi ~ └── opensuse ~ ├── MokManager.efi ~ ├── boot.csv ~ ├── grub.cfg ~ ├── grub.efi
Secure boot
~ ├── grubx64.efi
Non-secure boot
~ └── shim.efi
3 directories, 11 files Isengard:~ #
It does have files in /boot/grub: Isengard:~ # cat /boot/efi/EFI/opensuse/grub.cfg search --fs-uuid --set=root 0d457df1-b43d-4587-aa5a-6c919bcbedb8 set prefix=(${root})/boot/grub2 source "${prefix}/grub.cfg" Isengard:~ # And /boot has the normal grub2 files, so I assume it continues from there. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)