Mount partitioned devices

This commit is contained in:
Manuel Thalmann 2023-04-01 03:15:32 +02:00
parent ce4597a20b
commit c91df63afc

View file

@ -38,4 +38,9 @@ swapSize="$(echo "$memory" | awk '{ print int(($1 / 4) + 0.5)}')";
echo "w";
} | fdisk "$archDisk";
disks=($(bash -c "echo $archDisk*"))
mount "${disks[2]}" /mnt;
mount --mkdir "${disks[0]}" /mnt/boot;
swapon "${disks[1]}";
popd > /dev/null;