From Fedora Project Wiki
(Initial request action)
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Support using a GPT partition table in Kickstart  =
+
= '''Withdrawn''': Support using a GPT partition table in Kickstart  =
 +
See [[Changes/InstallGPTwithKickstart#Feedback|Feedback]] section for reasoning.
 
== Summary ==
 
== Summary ==
 
Add support for configuring GPT partition table in kickstart without requiring a custom pre-installation script or a custom boot script.
 
Add support for configuring GPT partition table in kickstart without requiring a custom pre-installation script or a custom boot script.
Line 24: Line 25:
 
* Tracker bug: <will be assigned by the Wrangler>  
 
* Tracker bug: <will be assigned by the Wrangler>  
 
* Release notes tracker: <will be assigned by the Wrangler>
 
* Release notes tracker: <will be assigned by the Wrangler>
+
 
 
== Detailed Description ==
 
== Detailed Description ==
 
Fedora Cloud Edition wants to use a GPT partition table; however, it is not possible
 
Fedora Cloud Edition wants to use a GPT partition table; however, it is not possible
Line 34: Line 35:
 
   
 
   
 
== Feedback ==
 
== Feedback ==
+
According to Brian Lane the directive is already accessible from the following command option
 +
<pre>
 +
clearpart --disklabel gpt
 +
</pre>
 +
 
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
 
Users will be able to install systems with a GPT partition table via kickstart without
 
Users will be able to install systems with a GPT partition table via kickstart without
Line 46: Line 51:
 
** Review and discuss with the Anaconda maintainers and determine the next steps for support of the inst.gpt in pykickstart
 
** Review and discuss with the Anaconda maintainers and determine the next steps for support of the inst.gpt in pykickstart
 
** Work with Anaconda maintainers to implement in Anaconda
 
** Work with Anaconda maintainers to implement in Anaconda
+
* Release engineering: [https://pagure.io/releng/issue/10137 #10137]
 +
* Policies and guidelines: N/A
 +
* Trademark approval: N/A
 +
 
 
== How to test ==
 
== How to test ==
 
Build images using virt-install with kickstarts that have the option set. Verify that the disk partition table is properly configured as GPT. Verify that without the option set, it uses legacy MBR.
 
Build images using virt-install with kickstarts that have the option set. Verify that the disk partition table is properly configured as GPT. Verify that without the option set, it uses legacy MBR.

Latest revision as of 14:31, 1 June 2021

Withdrawn: Support using a GPT partition table in Kickstart

See Feedback section for reasoning.

Summary

Add support for configuring GPT partition table in kickstart without requiring a custom pre-installation script or a custom boot script.

Owners

Current Status

  • Targeted release: Fedora Linux 35
  • Last updated: 2021-06-01
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

Fedora Cloud Edition wants to use a GPT partition table; however, it is not possible to force the creation of an image with the GPT partition table with our current tooling because Anaconda requires setting inst.gpt as a kernel boot parameter to do it. This Change proposes to add a way to declare this via kickstart so that the Cloud Edition image builds can create images using the GPT partition table using the current tooling (which is built on Anaconda).

Feedback

According to Brian Lane the directive is already accessible from the following command option

clearpart --disklabel gpt 

Benefit to Fedora

Users will be able to install systems with a GPT partition table via kickstart without requiring an extensive custom pre-installation script or a custom boot script. Disk images produced using the Anaconda tooling (Oz/ImageFactory, Lorax) can also trivially make images with GPT partition tables. This makes it possible to create hybrid BIOS+UEFI boot images, given the changes to GRUB configuration from Fedora Linux 34.

Scope

  • Proposal Owners
    • Review and discuss with the Anaconda maintainers and determine the next steps for support of the inst.gpt in pykickstart
    • Work with Anaconda maintainers to implement in Anaconda
  • Release engineering: #10137
  • Policies and guidelines: N/A
  • Trademark approval: N/A

How to test

Build images using virt-install with kickstarts that have the option set. Verify that the disk partition table is properly configured as GPT. Verify that without the option set, it uses legacy MBR.

User Experience

  • Allows for the use of the standard pykickstart directive for specifying the preference for GPT partition.

Dependencies