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
304 B
Bash
18 lines
304 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
|
|
# / 440GB
|
|
# /boot 2GB
|
|
# /boot/efi 1GB
|
|
# free 7GB
|
|
|
|
parted /dev/nvme3n1 mklabel msdos
|
|
parted /dev/nvme3n1 mkpart primary 1 500GB
|
|
parted /dev/nvme3n1 mkpart primary 500GB 505GB
|
|
parted /dev/nvme3n1 mkpart primary 505GB 510GB
|
|
# set flag for ESP
|
|
parted /dev/nvme3n1 set 3 boot on
|
|
|
|
sleep 1
|