diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-04-18 20:58:11 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-04-18 20:58:11 -0400 |
commit | ef13192ee02a6c243c0ae805ff1353a545fffe10 (patch) | |
tree | 388ce88b8c3195585ede413c454b55b7e9a60fff | |
parent | 3bae5a919f3d40f836554313a5302a956914c431 (diff) |
script mode parted
-rwxr-xr-x | install.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |