Rewrite the partition table on first boot