sfdisk doesn't accept blank for start value with -uS
Binary package hint: util-linux
According to the man-page this should work:
sfdisk -uS /dev/sdb << EOF
I got these values by creating the 256MB partition in fdisk, then list the values with sfdisk -l /dev/sdb and then deleting all partitions again in fdisk.
The first line creates a 256MB Swap partition as /dev/sdb1. The second line should create a partition 512000 sectors large right behind that. The problem is that
isn't being accepted, the problem seems to be omitting the starting point.
The first line on it's own works.
Only when I enter the correct starting point (546210) at the beginning of the second line it works.
The problem seems to be -uS specific, -uM works.