[elbe-devel] UEFI support

Yegor Yefremov yegorslists at googlemail.com
Tue Aug 14 09:45:02 CEST 2018


Hi Martin,

On Tue, Aug 14, 2018 at 8:33 AM, Martin Kaistra
<martin.kaistra at linutronix.de> wrote:
> 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.

The patches were in place:

2018-03-29 15:27 Martin Kaistra            o [uefi-vs] Add examples
for UEFI boot with grub
2018-03-28 14:16 Martin Kaistra            o Add support for hybrid
images (UEFI+Bios)
2018-03-28 14:16 Martin Kaistra            o hdimg: change mountpoint
of efi partition to /boot/efi
2018-03-28 14:16 Martin Kaistra            o Add support for UEFI boot with grub
2018-03-28 14:16 Martin Kaistra            o hdimg: do not use flag
lba if partition format is gpt
2018-05-15 15:43 Manuel Traut              o {origin/releases/v2.3}
version bump v2.3
2018-05-15 14:04 Manuel Traut              o pkgutils: care about
version numbers of packages
2017-11-22 22:54 John Ogness               o validation: parse
InRelease or Release
2018-05-03 15:56 Torben Hohn               o elbeproject pbuilder: add
gnupg to extrapackages installed into pbuilder
2018-04-17 12:46 Torben Hohn               o [devel/elbe-2.0]
dbsfed.xsd: add text about the exclude feature to finetuning rm node.


Anyway I've setup Debian 8 with the latest ELBE devel/elbe-3.0 and
everything is working now.

Yegor



More information about the elbe-devel mailing list