[Buildroot] genimage with GPT partition
Peter Korsgaard
peter at korsgaard.com
Tue Aug 28 09:57:25 UTC 2018
>>>>> "lpdev" == lpdev <lpdev at cordier.org> writes:
> Hi,
> After successfully booting an EFI-generated distro, I am now looking
> for an easy-to-install steps for my image file. (using the
> pc_x86_64_efi_defconfig).
> I first tried to flash directly the .img file on my device, and
> actually it does not boot. The reason is because the generated .img
> file is containing mbr partition instead of gpt.
> Is it a limitation of genimage? Is there any way to generate a
> gpt-compatible .img file?
Yes, unfortunately it is.
Genimage is a standalone open source project, not specific to Buildroot:
https://github.com/pengutronix/genimage
Perhaps contact them to ask about GPT support and/or contribute it
yourself?
Genimage is just a handy way to execute the basic
fdisk/mkfs/.. commands. Alternatively a script to do something similar
with gptfdisk could probably be written.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list