Changed partition check to use sfdisk as its more common