You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
301 B
Bash

#!/bin/bash
set -e
# / 440GB
# /boot 2GB
# /boot/efi 1GB
# free 7GB
parted /dev/nvme2n1 mklabel gpt
parted /dev/nvme2n1 mkpart primary 1 500GB
parted /dev/nvme2n1 mkpart primary 500GB 505GB
parted /dev/nvme2n1 mkpart primary 505GB 510GB
# set flag for ESP
parted /dev/nvme2n1 set 3 boot on
sleep 1