aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh10
1 files 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