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, 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