How to change the starting block of a partition inside the kickstart itself?

Solution Verified - Updated -

Issue

  • How to change the change the starting block of a partition inside the kickstart itself?

  • For example,  63 is the default. How to change it to 128.

    $ /sbin/fdisk  -lu
    
    Disk /dev/sda: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors
    Units = sectors of 1 * 512 = 512 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *          63      401624      200781   83  Linux
    /dev/sda2          401625   304303229   151950802+  8e  Linux LVM
    /dev/sda3       304303230   312496379     4096575   82  Linux swap / Solaris
    
    Disk /dev/sdb: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors
    Units = sectors of 1 * 512 = 512 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *          63   312496379   156248158+  8e  Linux LVM
    

Environment

  • Red Hat Enterprise Linux 5

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