max dev blog & other stuff

char name[] = "maksymilian";

char surname[] = "babarowski";

char github[] = "k0mmsussert0d";

printf("repo:\n", github);

printf("e-mail:\n", name, surname);

Wine not detecting drives in winecfg

Dec 2, 2021 • linux

Just wanted to drop this quick fix for anyone who runs into it the same issue as the viable solution is not trivial to find. My two evenings full of efforts prove it.

When I run winecfg and try to go into Drives tab to make a change in the config, there’s an error message saying:

Failed to connect to the mount manager, the drive configuration cannot be edited.

Looking at stdout of the process, this log entry can be spotted:

0009:err:winecfg:open_mountmgr failed to open mount manager err 2

Several topics on WineHQ forums provide no insight into the cause of the problem, besides fact that it predominantly occurs on 64-bit systems running 32-bit Wine prefixes.

The solution I found is to run this command:

wineboot --update

Alerts about uninstalled Mono or other dependencies can be safely ignored. After the command finished running, I was more than happy to run winecfg and see drives configuration in its right place.

winecfg 'Drives' tab

💞 Did you like the post? Add my blog to your RSS feed! [click] 💞