diff --git a/builder/cmds/autostart.sh b/builder/cmds/autostart.sh index 9e5ecc6..c5f5957 100644 --- a/builder/cmds/autostart.sh +++ b/builder/cmds/autostart.sh @@ -53,6 +53,9 @@ if [[ $(tty) == "/dev/tty1" ]]; then # Get username from installer config for reliable error recovery OMARCHY_USER="$(jq -r '.users[0].username' user_credentials.json)" + # Ensure that no mounts exist from past install attempts + findmnt -R /mnt >/dev/null && umount -R /mnt + # Install using files generated by the ./configurator archinstall \ --config user_configuration.json \