nixos-config/1systems/shack-autoinstall/grub-partition.sh
2018-09-17 00:36:33 +02:00

6 lines
159 B
Bash

#!/bin/sh
set -euf
parted -s ${disk} mklabel msdos
parted -s ${disk} -- mkpart primary linux-swap 1M 4096M
parted -s ${disk} -- mkpart primary ext2 4096M 100%