[elbe-devel] UEFI support
Martin Kaistra
martin.kaistra at linutronix.de
Tue Aug 14 08:33:56 CEST 2018
Hi Yegor,
Am 13.08.2018 um 09:02 schrieb Yegor Yefremov:
> I need an image for x86_64 to be able to boot in both BIOS and UEFI
> environments. I cannot use ELBE 3.0 as I'm blocked by this issue [1].
> So I've backported following patches to ELBE v2.3:
>
> Add examples for UEFI boot with grub
> Add support for hybrid images (UEFI+Bios)
> hdimg: change mountpoint of efi partition to /boot/efi
> Add support for UEFI boot with grub
> hdimg: do not use flag lba if partition format is gpt
>
> But when I try to create image, I get following error, i.e. the new
> code won't be used by the initvm.
>
> PartitionException: The flag 'lba' is not available for gpt disk labels.
>
This error does not occur, if "hdimg: do not use flag lba if partition
format is gpt" is correctly in place. The call to
"ppart.setFlag(_ped.PARTITION_LBA)" from create_partition() in hdimg.py
should only be made if the disk type is not gpt.
martin
More information about the elbe-devel
mailing list