16
16
# You should have received a copy of the GNU General Public License
17
17
# along with this program. If not, see <http://www.gnu.org/licenses/>.
31
24
dd if=/dev/null of=$dev bs=1 seek=1M || framework_failure
33
26
# create a GPT partition table
34
27
parted -s $dev mklabel gpt > out 2>&1 || fail=1
38
31
# Fill the first $bootcode_size bytes with 0's.
39
32
# This affects only the protective MBR, so doesn't affect validity of gpt table.