add initial partition flushing code
fix issue where sfdisk freaks out if there's no partition data