Adjust script for installing dual boot arch
This commit is contained in:
parent
fa32e7eb3f
commit
6f16eb75e6
2 changed files with 29 additions and 0 deletions
28
profiles/DerGeret/Arch/partition.sh
Normal file
28
profiles/DerGeret/Arch/partition.sh
Normal 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";
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
|
PARTITION_SCRIPT="$(realpath ./partition.sh)" \
|
||||||
ARCH_MOUNT_ROOT="/mnt" \
|
ARCH_MOUNT_ROOT="/mnt" \
|
||||||
ARCH_DISK=nvme0n1 \
|
ARCH_DISK=nvme0n1 \
|
||||||
ARCH_HOSTNAME="der-geret" \
|
ARCH_HOSTNAME="der-geret" \
|
||||||
|
|
Loading…
Reference in a new issue