Aligning a partiton with setup-storage

Patrick Cervicek patrick at failist.spamtrap.hs-esslingen.de
Mon Apr 18 16:54:29 CEST 2011


experimental87 is not throwing any errors, but the align-at option 
doesn't work

$ cat stzdiskconfig
disk_config /dev/sda align-at:4k disklabel:msdos

primary  /boot          300	  	-   -
primary  -              0-        -      -
primary  swap      2G      swap      -

$ fdisk -lu

Disk /dev/sda: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003f5aa

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      614455      307196+  83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2          614456     6291447     2838496   83  Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3         6291448    10485751     2097152   82  Linux swap / 
Solaris
Partition 3 does not end on cylinder boundary.



More information about the linux-fai mailing list