Mount windows in arch

This commit is contained in:
Manuel Thalmann 2023-08-07 20:29:24 +02:00
parent b5c1d31417
commit c62f691aca
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;