This is a Linux script designed to automate the process of configuring a NTFS disk, previously used in a Windows environment for Steam games, to work with Proton. This allows users to play the same games on both Windows and Linux without needing to reinstall them for each operating system.
This script aims to automate as much as possible from the Proton guide: Using a NTFS disk with Linux and Windows.
The script performs the following:
- Verifies NTFS driver (defaults to lowntfs-3g).
- Verifies mount path (defaults to /media/gamedisk).
- Finds User ID and Group ID.
- Checks availability of required tools.
- Displays available block devices for user selection.
- Finds UUID for the selected device.
- Backs up fstab.
- Writes data to fstab and creates mount point.
- Attempts to mount the disk and verifies the result.
The script provides important information during and after its execution to help guide you through the process, and will not modify any files unless you give it permission to do so.
To use the script, simply run it in your terminal.
The script will guide you through the process and automate as much as possible.
If Windows is installed on the NTFS partition, the Windows Fast Startup feature can cause the mount command to fail.
To prevent that, consider disabling it.
For more information, refer to this tutorial: PassFab: Disable Fast Startup.