[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Making reqpart in kickstart to do BIOS+UEFI with GPT on x86?



On Wed, 1 Sep 2021 15:57:28 +0200
Martin Kolman <mkolman redhat com> wrote:

> On Tue, Aug 31, 2021 at 4:58 AM Neal Gompa <ngompa13 gmail com> wrote:
> 
> > Hey all,
> >
> > Last week, Dan Horak notified the Cloud WG that we accidentally broke
> > ppc64le images[1] with our Hybrid BIOS+UEFI on GPT setup[2] because
> > now there's no PReP partition being made for POWER images.
> >
> > He suggested in the ticket that it might be worth asking if we could
> > have the reqpart command extended to do BIOS+UEFI setup when on GPT.
> > If not by default, perhaps adding a flag to do it?
> >
> What's would be the difference from the current behavior ?

my idea would be adding a "--hybrid" option to "reqpart" that would
create both "BIOS" + "EFI" partitions on x86 systems. For remaining
systems I believe they use only a single boot partition kind, so
nothing will change there. This way you could create a "works
everywhere" image the easiest way.


		Dan
 
> The docs[0] say about x86 GPT:
> 
> "Automatically create partitions required by your hardware platform. These
> include a /boot/efi for x86_64 and Aarch64 systems with UEFI firmware,
> biosboot for x86_64 systems with BIOS firmware and GPT, and PRePBoot for
> IBM Power Systems."
> 
> So it would create biosboot and UEFI partitions at the same time (possibly
> after a flag being passed) ? Also, does this also impact autopart - should
> it provide similar functionality ?
> 
> In any case, as this is a but over my head, I'm adding Vendy a Vojta to
> chime in on the storage stuff and Javier to possibly comment on the
> bootloader related aspects.
> 
> [0] https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#reqpart
> 
> 
> >
> > This would make it a lot easier for me to get this working across
> > architectures with Fedora Cloud and would probably be beneficial for
> > RHEL 9+ as well.
> >
> > What do y'all think?
> >
> > Thanks in advance and best regards,
> > Neal
> >
> > [1]: https://pagure.io/cloud-sig/issue/346
> > [2]:
> > https://pagure.io/fedora-kickstarts/blob/ec56783946dcd3c81ab55f33a8df8d30cd38355b/f/fedora-cloud-base.ks#_39-47
> >
> > --
> > 真実はいつも一つ!/ Always, there's only one truth!
> >
> >
> > _______________________________________________
> > Anaconda-devel-list mailing list
> > Anaconda-devel-list redhat com
> > https://listman.redhat.com/mailman/listinfo/anaconda-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]