From ef13192ee02a6c243c0ae805ff1353a545fffe10 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 18 Apr 2020 20:58:11 -0400 Subject: script mode parted --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 443f465..76a4bf4 100755 --- a/install.sh +++ b/install.sh @@ -18,11 +18,11 @@ xargs -n1 echo | sed 1q | rev | cut -c 2- | rev ))" umount $DRIVE* if [ ! -e installed ]; then - parted $DRIVE -- mklabel gpt - yes ignore | parted $DRIVE -- mkpart fat32 0 512M - parted $DRIVE -- set 1 esp on - yes ignore | parted $DRIVE -- mkpart ext4 512M -30G - parted $DRIVE -- mkpart ntfs -30G -0 + parted -s $DRIVE -- mklabel gpt + parted -s $DRIVE -- mkpart fat32 0 512M + parted -s $DRIVE -- set 1 esp on + parted -s $DRIVE -- mkpart ext4 512M -30G + parted -s $DRIVE -- mkpart ntfs -30G -0 yes | mkfs.vfat ${PART}1 yes | mkfs.ntfs ${PART}3 cryptsetup luksFormat ${PART}2 -- cgit