[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: install Kernel and GRUB in chroot.



On 01/02/2024 22:54, Marco Moock wrote:
Am 01.02.2024 schrieb Dmitry:

Use gdisk for that.
You can create an EFI partition there.
Choose Type EFI (EF00), 100MB.
Format it with FAT32.

550MiB is recommended in "Preparing your ESP"
http://www.rodsbooks.com/linux-uefi/#installing
see also
https://www.rodsbooks.com/gdisk/advice.html#esp_sizing
https://fedoraproject.org/wiki/Changes/BiggerESP

2. Need to configure GRUB to select appropriate kernel and ramdisk.

Do you need a special configuration here or is the default just fine?

EFI/debian/grub.cfg on the EFI System Partition contains filesystem UUID where grub files reside.

After installing grub check that NVRAM has an appropriate entry

    efibootmgr -v

How GRUB would understand where to be install and where is the kernel?

It loads files from filesystem on the specified partition. Unlike for BIOS device blocks are not involved.



Reply to: