Mount windows in arch

This commit is contained in:
Manuel Thalmann 2023-08-07 20:29:24 +02:00
parent 187e58801a
commit ac3d551c95
2 changed files with 11 additions and 0 deletions

View file

@ -1,6 +1,12 @@
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
extraMounts()
{
disks=($(bash -c "echo $ARCH_DISK*"));
mount --mkdir "${disks[-1]}" "$ARCH_MOUNT_ROOT/mnt/win";
}
PARTITION_SCRIPT="$(realpath ./partition.sh)" \
SKIP_FORMAT_EFI=1 \
ARCH_MOUNT_ROOT="/mnt" \

View file

@ -45,4 +45,9 @@ mount "$linuxDisk" /mnt;
mount --mkdir "$bootDisk" /mnt/boot;
swapon "$swapDisk";
if command -v extraMounts
then
extraMounts;
fi;
popd > /dev/null;