installer/functions.sh (create_partitions): Add sync calls and
--no-reread to sfdisk.