anaconda-ks.cfg kickstart installation failure with: part --noformat must also use the --onpart

Solution In Progress - Updated -

Issue

  • I installed Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 9 manually on GUI installation.
  • In partitioning, I preserved an existing Logical Volume without reformatting it.
  • After installation, /root/anaconda-ks.cfg included the following part command. pv.XX was used for generating the Logical Volume.
part pv.XX --fstype="lvmpv" --noformat
  • The installation with this kickstart file failed with the following error.
part --noformat must also use the --onpart
  • Why was the --onpart option missing in the generated kickstart file anaconda-ks.cfg?

Environment

Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content