to mount a permanent external disk under wine

Questions about Wine on Linux
Locked
polowine
Newbie
Newbie
Posts: 3
Joined: Wed Jul 04, 2018 5:04 am

to mount a permanent external disk under wine

Post by polowine »

Hello

I have a secondary disk, external under ubuntu, how to make it visible in WINE?

Or a shared folder in that same drive?

Thank you
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: to mount a permanent external disk under wine

Post by Bob Wya »

polowine wrote:Hello

I have a secondary disk, external under ubuntu, how to make it visible in WINE?

Or a shared folder in that same drive?

Thank you
You can manually add in symbolic links from your WINEPREFIX to the root of a mounted drive, or subdirectory, you want to mount as a Wine virtual Windows drive.

E.g. I have a link to my mounted NFS shares, for my WINEPREFIX's:

Code: Select all

cd "${WINEPREFIX:-${HOME}/.wine}/dosdevices"
ln -s "/mnt/nfs/robs-hp-userver/" "y:"
Which maps the NFS shares under a virtual Y:\ drive.
So applications running under Wine, are able to access this mountpoint directly.

You can also do with the winecfg Drives tab.

Typically all mounted system drives are also accessible via Z:\, which maps to the Unix / root directory.

Bob
Locked