How to align the filesystem partitions as per requirements on a bare metal machine before installation through kickstart?

Solution Verified - Updated -

Issue

The virtual machine has a disk of 17 GiB and I need to align the filesystem as per some requirements. The partitions shall have pre-defined starting and ending sector size as per the following.

  • The disk shall have msdos label.
  • /boot shall be primary partition and start with 128s till 204928s
  • other remaining shall start with 204930s and shall reach to 100%
  • This shall be on LVM

The machine disk is raw and not installed with any other operating system yet.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

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