Because of underlying storage, I need the partitions created by the RHEL/CentOS installer to begin on a multiple of 8 sectors. By default the
partcommand during kickstart (see this page for kickstart reference) offsets them by 63 sectors:
[root@bs-simon ~]# fdisk -lu /dev/sda Disk /dev/sda: 85.8 GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders, total 167772160 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/sda1 * 63 160649 80293+ 83 Linux /dev/sda2 160650 166738634 83288992+ 83 Linux /dev/sda3 166738635 167766794 514080 82 Linux swap / Solaris
--startto specify the starting cylinder, but can someone suggest a way to get
partto start on a sector that is a multiple of 8? Or do I just need to give up and partition the disk manually first?
btw, this is to get the linux filesystem blocks to align with underlying VMware VMFS datastore blocks, which align with NetApp LUN blocks.
This link provides complex partition for using in kickstart
Source : Link , Question Author : carillonator , Answer Author : Deepak JV