Adjust script for installing dual boot arch

This commit is contained in:
Manuel Thalmann 2023-07-12 23:01:37 +02:00
parent fa32e7eb3f
commit 6f16eb75e6
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,28 @@
#!/bin/bash
{
echo "d";
echo "2";
echo "d";
echo "3";
echo "n";
echo "";
echo "";
echo "+${SWAP_SIZE}G";
echo "y";
echo "t";
echo "2";
echo "19";
echo "n";
echo "";
echo "";
echo "";
echo "y";
echo "t";
echo "3";
echo "23";
echo "w";
} | fdisk "$ARCH_DISK";

View file

@ -1,6 +1,7 @@
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
PARTITION_SCRIPT="$(realpath ./partition.sh)" \
ARCH_MOUNT_ROOT="/mnt" \
ARCH_DISK=nvme0n1 \
ARCH_HOSTNAME="der-geret" \