All,
In a ks.cfg when doing MBR partition, I realize the value of --asprimary. Here's an example:
part /boot --fstype ext3 --size=300 --asprimary part pv.2 --size=38000 --grow --asprimary volgroup osvg pv.2 logvol / --fstype ext4 --name=root.fs --vgname=osvg --size=4000 ....
But when doing GPT partitioning (i.e., inst.gpt in your grub.conf kernel line), does --asprimary even make sense? ksvalidator didn't flag it as an error, so syntactically it's legal.
Is it just ignored by the part command if doing GPT partitioning?
Spike
On Wed, Nov 12, 2014 at 03:53:00PM -0600, Spike White wrote:
All,
In a ks.cfg when doing MBR partition, I realize the value of --asprimary. Here's an example:
part /boot --fstype ext3 --size=300 --asprimary part pv.2 --size=38000 --grow --asprimary volgroup osvg pv.2 logvol / --fstype ext4 --name=root.fs --vgname=osvg --size=4000 ....
But when doing GPT partitioning (i.e., inst.gpt in your grub.conf kernel line), does --asprimary even make sense? ksvalidator didn't flag it as an error, so syntactically it's legal.
Is it just ignored by the part command if doing GPT partitioning?
Correct, on gpt it doesn't have any effect, it is only used for msdos.
On Wed, 2014-11-12 at 15:59 -0800, Brian C. Lane wrote:
On Wed, Nov 12, 2014 at 03:53:00PM -0600, Spike White wrote:
All,
In a ks.cfg when doing MBR partition, I realize the value of --asprimary. Here's an example:
part /boot --fstype ext3 --size=300 --asprimary part pv.2 --size=38000 --grow --asprimary volgroup osvg pv.2 logvol / --fstype ext4 --name=root.fs --vgname=osvg --size=4000 ....
But when doing GPT partitioning (i.e., inst.gpt in your grub.conf kernel line), does --asprimary even make sense? ksvalidator didn't flag it as an error, so syntactically it's legal.
Is it just ignored by the part command if doing GPT partitioning?
Correct, on gpt it doesn't have any effect, it is only used for msdos.
I've added a note pointing this out to the kickstart wiki page[0] & I'll also ping the docs guys, just in case. :)
[0] https://fedoraproject.org/wiki/Anaconda/Kickstart#part_or_partition
anaconda-devel@lists.stg.fedoraproject.org