How do I add LVM partitions to a kickstart file using system-config-kickstart

Solution Verified - Updated -

Environment

RHEL 5.4

Issue

I am working on creating a kickstart file using the system-config-kickstart GUI. When working on the partition section I cannot find how to add LVM partitions. Where are these?

Resolution

  • system-config-kickstart cannot natively add an LVM partition.
  • You can get around this in one of two ways:

    • Create everything but the partitions and then save and manually edit the file to add the LVM partition information.

    • Manually edit a kickstart file with the correct LVM information and then. using system-config-kickstart,  click on File --> Open File and point to the one you just edited. This will import that LVM data into the tool and you can continue adding the remaining data using the GUI.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.