Forked from Captain Anonymous's Pen NqQEVV.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ |