Aligning a partiton with setup-storage

Patrick Cervicek patrick at failist.spamtrap.hs-esslingen.de
Mon Apr 18 14:25:42 CEST 2011


On Fri, 15 Apr 2011, Michael Tautschnig wrote:

> Finally that day has come: Could you please give 4.0~beta2+experimental80
> another try? Supposedly that works fine with align-at. If not, I will try to fix
> any breakage ASAP.

I tested fai-setup-storage_4.0~beta2+experimental85_all.deb on an 
test-nfsroot and setup-storage is not longer working

$ setup-storage -X -f /tmp/fai/stzdiskconfig -d
disklist: sda
sdb
Starting setup-storage 1.3+exp
Using config file: /tmp/fai/stzdiskconfig
Input was:
# example of new config file for setup-storage
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>
#disk_config disk1 disklabel:msdos
disk_config /dev/sda align-at:4k disklabel:msdos
#fstabkey:uuid

primary  /boot          300	  	-   -
primary  -              0-        -      -
primary  swap      2G      swap      -
###home_disabled###logical  -              0-        -      -
###efi_disabled###logical  -              20        -      -

        ERROR (line 5): Invalid line: Was expecting '\n' but found 
"disk_config /dev/sda align-at:4k disklabel:msdos" instead
Syntax error



Patrick



More information about the linux-fai mailing list