protonscr

Wiki suggestion - "nofail" flag when editing fstab to add external NTFS disk

protonopen
ValveSoftware/Proton#7428 · opened 2024-01-21 by Fantomas4 · updated 2024-07-19 · 1 comments · github
FFantomas4 2024-01-21 github

Hello,

I am using an external NTFS disk that contains my steam library (used interchangeably between Windows and Linux). For Linux, I followed the instructions provided in Proton's Wiki: https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows

One thing to notice here is, although these instructions should work fine with internal disks, using an external disk does bring up an issue. Specifically, the following command:
UUID=<disk-uid-here> /media/gamedisk ntfs uid=1000,gid=1000,rw,user,exec,umask=000 0 0
causes the system to boot really slowly (due to a linux "job timeout" on the specified disk), if the external disk is not connected to the system during boot.

A simple fix for that would be adding the "nofail" flag to the aforementioned command:
UUID=<disk-uid-here> /media/gamedisk ntfs nofail,uid=1000,gid=1000,rw,user,exec,umask=000 0 0
which forces the system to ignore any errors while mounting the specified disk, and to continue booting even if the device cannot be mounted properly.

I have tested this on Ubuntu 22.04 and it indeed appears to solve the issue.

Thanks!

Bbentenjamin 2024-07-19 github

I have run into this myself as well as 3 others in the Nobara discord. I think it is a really important change.

Github does not allow for PRs to a wiki so...
Valve please fix

Nothing extracted yet.