-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RWFus failing to mount on brand new SteamOS Install #12
Comments
I've been trying to reproduce this problem for a while now! Thanks for letting me know it happens on a fresh install. I'll do a fresh install on my Deck and get back to you as soon as I can! |
I spent a good 12 hours troubleshooting this, and as it turns out, there's a major difference between how Valve formats the Deck at the factory, and a Deck that's been "recovered" using Valve's so-called recovery image. Sometime between then and now, Valve started formatting the home partition with There are a few options from this point:
As for me, I'm going to err on the side of caution, and test if casefolding is enabled on the target filesystem before proceeding, for now. It may be possible to fix this problem in a shell script, but I can't guarantee it'll work, and it has the potential to bork the deck bad enough to require reimaging with the recovery image. Rwfus was never meant to be anywhere near that invasive. |
Here's my plan for solving this issue:
TODO: How large should the file be? |
Disabling Casefold is greatly discuraged if you work with Windows Applications. |
Wine/Proton implements user-space casefolding, which will kick in if native casefolding is not available. It's just slower than the filesystem driver implementation. If you haven't reimaged your Deck, your home partition will have ext4 casefolding disabled. You'll know this is the case if Rwfus works for you. Windows games still work, falling back to Wine/Proton's casefolding implementation. |
I had multiple games failing while loading dlls with diffrent names in the Hardcoding than they have in the Folder. Wines Casefolding is not a catch all. |
This should be fixed on dev branch as of this morning. I've instituted a workaround, creating a 4GB (sparse, it doesn't actually take up 4GB even if it says it does) disk image w/ btrfs on it, and storing all the upper and workdirs in that. Hopefully, that doesn't have any weird gotchas. |
It is useful,but it only 4GB can be used? |
4GB at the moment, yeah. I should probably add that to the config file, but I chose 4GB because it's ~4x the size of the largest Rwfus directories I found when asking around on the Steam Deck Homebrew discord. |
Rwfus 0.4.0 defaults to 8GB, and the size can be increased by editing /etc/opt/rwfus.conf and uncommenting the Once the config file has been edited, run |
It's perfect!
|
Hey!there is a issue.When I reboot steamos, /var/cache/pacman will fail to mount with wrong fs type. of course,/usr /etc/pacman.d /var/lib/pacman,these three directories are enough |
Ah! Knew something from steamos-offload would kick me in the butt. Seems overlayfs won't even accept a case-folding lowerdir. Shame on it, but I suppose that makes some sense. I'll have a fix soon, hopefully. My ideal is to have all the pacman state stored inside Rwfus, so when you wipe Rwfus or use the backup/restore functionality it's actually gone. Thanks for testing it out! |
- Actually loads config files now. - How did I miss that? - Actually stores config files now. - Loaded config options are marked CF_REQUIRE - CF_REQUIREd config options are uncommented - This is kinda jank, but it's bash. Jank happens. - Config file specifies which systemd units to enable, disable, and mask now - This fixes #12 - Rwfusd now aborts and unmounts if it can't successfully mount_all - This should hopefully make it less painful to work with in the event of a catastrophic failure. - Preparations have begun for porting parts of the script to a better language - I hope I can actually do that sometime. Bash is syntactic-sugar-coated hell.
Hi there, I have a little issue 😅.
I followed the steps on your GitHub Readme to install RWFus on my brand new SteamOS install (SteamOS 3.3.1). But everytime (done multiple reinstalls) the mount systemd targets fail to mount because of a bad option in the mount command. Since I'm a Linux novice and not sure what I should do here I am asking you directly if you know anything.
The text was updated successfully, but these errors were encountered: