[External] Re: GRUB EFI blues - Debian 9/FAI 5.3.6

Bob Apodaca bob at phxlab.honeywell.com
Tue Apr 24 19:55:13 CEST 2018


Honeywell Internal

> The FAI classes are defined in class/. By default FAI defines the class
> GRUB_PC if the architecture is i386 or amd64. You should try to change this to
> GRUB_EFI in class/60-misc.
>
> --
> regards Thomas

Thank you, Thomas. I downloaded the source code for FAI 5.3.6 and came to a similar conclusion. Here's what I did in one of my class/ files:

if test -d /sys/firmware/efi ; then
    echo GRUB_EFI
fi

I also had to reorganize my files under disk_config/* so I could support both BIOS and EFI based systems simultaneously.

Bob


More information about the linux-fai mailing list