FAI 5.x - Roadmap FAI-CD with UEFI

2019-08-14 Diskussionsfäden Marco Witte
Hello Thomas,

I've a question regarding the Roadmap for FAI 5.x "-TODO -" UEFI support for 
fai-cd.

Is this a feature that will be implemented in the near future?

I just received the first (test) machines that don't have CSM and want to do 
UEFI only.

Keep up the good work and thank you in advance for your reply.

Kindly
Max


Re: FAI 5.x - Roadmap FAI-CD with UEFI

2019-08-14 Diskussionsfäden Thomas Lange
I like to have this feature implemented, but I do not know when I have
time to do it.

Currently I'm also not sure, if I already have all info how to build
an UEFI bootable ISO. Does anyone know a good resource
which describes this? For FAI it's important, not to use syslinux but
only grub on the ISO.

-- 
regards Thomas


[no subject]

2019-08-14 Diskussionsfäden Bob A via linux-fai
Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
eigentliche Nachricht steht dadurch in einem Anhang.

This message was wrapped to be DMARC compliant. The actual message
text is therefore in an attachment.--- Begin Message ---
Currently I'm also not sure, if I already have all info how to build an UEFI 
bootable ISO. Does anyone know a good resource which describes this? For FAI 
it's important, not to use syslinux but only grub on the ISO.



https://www.gnu.org/software/grub/manual/grub/html_node/Making-a-GRUB-bootable-CD_002dROM.html

It's not clear to me what will be bootable when using grub-mkrescue. Also, 
grub-mkrescue seems like a wrapper for grub-mkimage, which you may want to call 
directly and you can specify a "format": i386-multiboot, i386-pc, i386-efi, 
x86_64-efi

What I did was created a bootable USB (supported both BIOS/EFI), then copied 
those files back to a folder named "cdroot". Once I was happy with my lay-out I 
did:

grub-mkrescue --modules="linux ext2 fshelp ls boot"  -o grub2-boot.iso cdroot/

I also had to add this logic to my grub.cfg:

if [ x"${grub_platform}" = xefi ]; then
  insmod efi_gop
  insmod efi_uga
else
  # BIOS/"PC" mode
  insmod vbe
fi

HTH,

Bob

--- End Message ---