This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
| #!/bin/bash | |
| echo "Latest known working version for patching: 2.3.5" | |
| if [[ -z "$1" ]]; then | |
| echo 'Enter absolute path to SteamVR (for example, /home/user/.local/share/Steam/steamapps/common/SteamVR)' | |
| read STEAMVR_PATH | |
| else | |
| STEAMVR_PATH="$1" | |
| fi | 
| Updated more detailled guide: https://gist.github.com/ANBAL534/8057b5200ace9bdd98795b627e550ba0 | |
| Make steam force Proton 5.0-10 (Needs to be this version, no modern one because modern proton/wine versions have broken dotnet winetricks installs, needed to run the game) | |
| * If at any stage of the steps wine asks you to install mono or gecko, just cancel/press 'no' on the popup and continue. | |
| * If at any stage of the steps a info/warning/error message appears and asks you if you want to get more information in a webpage just cancel/press 'no' on the opoup and continue. | |
| * If you mess up and need to restart the process from the start you have to manually delete the 'pfx' (steam's wine bottle folder) (/path/to/SteamLibrary/steamapps/compatdata/244210/pfx) and restart the process from the very begining. | |
| Execute the game once and let it close | |
| Then: |