[Buildroot] genimage with GPT partition

lpdev at cordier.org lpdev at cordier.org
Tue Aug 28 11:28:17 UTC 2018


Hi again,

I think support for GPT would be a useful feature to add to the back log.
Carlos, would it be possible for you to share your custom script? It would save me a lot of time not doing it from scratch.

Thanks!

De : Carlos Santos <casantos at datacom.com.br>
À : LP <lpdev at cordier.org>
Sujet : Re: [Buildroot] genimage with GPT partition
Date : 28/08/2018 13:18:59 CEST
Copie à : buildroot <buildroot at busybox.net>

> From: "LP" <lpdev at cordier.org>
> To: "buildroot" <buildroot at busybox.net>
> Sent: Tuesday, August 28, 2018 6:13:11 AM
> Subject: [Buildroot] genimage with GPT partition

> 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?

genimage does not create GPT partitions. In my current project I made a
tricky post-image script which uses sfdisk, mcopy and mkfs to craft a
disk image with the required partitions. It's beautifully horrendous. 

-- 
Carlos Santos (Casantos) - DATACOM, P&D
“Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.” — Epitaph of a volunteer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180828/f6e35654/attachment-0002.html>


More information about the buildroot mailing list