Skip to content

Instantly share code, notes, and snippets.

View Clif2's full-sized avatar

Clifford Patterson Clif2

View GitHub Profile
echo "==> creating boot partition on ${DISK}"
/usr/bin/sgdisk \
--new=1:0:+512M \
--typecode 0:ef00 \
--change-name 0:"Boot" ${DISK}
echo "==> creating LVM partition on ${DISK}"
/usr/bin/sgdisk \
--new=0:0:0 \
--typecode 0:8e00 \