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.

18 lines
310 B
Bash

#!/bin/bash
set -e
# / 1020GB
# /boot 1GB
# /boot/efi 1GB
# free 0GB
parted /dev/nvme0n1 mklabel msdos
parted /dev/nvme0n1 mkpart primary 1 1020GB
parted /dev/nvme0n1 mkpart primary 1020GB 1022GB
parted /dev/nvme0n1 mkpart primary 1022GB 1024GB
# set flag for ESP
parted /dev/nvme0n1 set 3 boot on
sleep 1