AlmaLinux / cloud-images

Packer templates and other tools for building AlmaLinux images for various cloud platforms.
MIT License
154 stars 48 forks source link

Support EFI boot #74

Closed nijave closed 2 years ago

nijave commented 2 years ago

It looks like the generic cloud image only supports BIOS boot. It'd be nice if there were an image supporting UEFI which would allow it to work on Hyper-V Gen 2 VMs (and maybe other things)

Here's some sample changes https://github.com/AlmaLinux/cloud-images/compare/master...nijave:nv-gencloud-efi?expand=1

I didn't test whether this works with Secure Boot but I'm not worried about that for my use. The qemu -bios file path is for Fedora--not sure if/when it may vary.

adamo-ovh commented 2 years ago

I agree with this request. Ubuntu (since 18.04) and Debian (since Debian 11) has been providing their cloud generic images which are EFI compliant. Would be good to see Almalinux also providing EFI compliant images.

LKHN commented 2 years ago

Good news!

The Generic Cloud UEFI Image on the x86_64, is available for download on https://wiki.almalinux.org/cloud/Generic-cloud.html ! as the AlmaLinux-8-GenericCloud-UEFI-latest.x86_64.qcow2 and AlmaLinux-8-GenericCloud-UEFI-8.5-YYYYMMDD.x86_64.qcow2