run parted with the --script option to prevent from hanging