summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/shack-autoinstall/grub-partition.sh
blob: c23c89799b041e25cd18fe4cc92cb4b4929379d9 (plain)
1
2
3
4
5
#!/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%