Mount Windows Server Share as drive letter

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Daniel T
Newbie
Newbie
Posts: 4
Joined: Thu Jan 01, 2009 9:31 am

Mount Windows Server Share as drive letter

Post by Daniel T »

Hello all,

New to Wine, not so new to Linux but still a newbie.

I need to run my Goldmine software on my Ubuntu machine, so I need to mount the drive letter that I use on my workstation (windows) to the share on my Windows server so that Goldmine can see its database and license file.

I tried pointing the drive letter to the path using SMB://server/share but that does not seem to work.

Please advise, how can I mount a drive letter (even if it is using something other than Wine) so that my software can see its database and license files?

Thanks in advance, this will be a real time saver for me.

Dan
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Mount Windows Server Share as drive letter

Post by dimesio »

Daniel T wrote: I need to run my Goldmine software on my Ubuntu machine, so I need to mount the drive letter that I use on my workstation (windows) to the share on my Windows server so that Goldmine can see its database and license file.

I tried pointing the drive letter to the path using SMB://server/share but that does not seem to work.

Please advise, how can I mount a drive letter (even if it is using something other than Wine) so that my software can see its database and license files?
http://www.winehq.org/docs/en/wineusr-guide.html#AEN415
Daniel T
Newbie
Newbie
Posts: 4
Joined: Thu Jan 01, 2009 9:31 am

Post by Daniel T »

but my /wine directory has no "unc" subdirectory.
when I issued the command ln -s /mnt/smb/<myserver>/<myshare> unc/<myserver>/<myshare> it returned No such file or directory error.
Daniel T
Newbie
Newbie
Posts: 4
Joined: Thu Jan 01, 2009 9:31 am

Post by Daniel T »

I tried creating the unc directory then issuing the command, still got that error.
Also, my mnt directory is empty.
I am using Ubuntu 8.10 could that cause smb share to map differently?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Daniel T wrote:I tried creating the unc directory then issuing the command, still got that error.
Also, my mnt directory is empty.
You forgot to do the smbmount. The very first step is
to create a directory somewhere that has the
network share mounted from Unix's point of
view, i.e. one where looking at the directory
with 'ls' shows the right files.

You can do this either with smbmount (the old hard way) into e.g. /mnt,
or with gnome (the new easy way) into ~/.gvfs.

The user guide could use a bit of polish here.
Maybe we should move that section to the wiki
at least for now so people can improve it more easily.
Daniel T
Newbie
Newbie
Posts: 4
Joined: Thu Jan 01, 2009 9:31 am

Post by Daniel T »

Wow awesome! I did not know about the .gvfs obviously being a newibe.

Thanks, I used that path and it worked!!

Yipee :D
IneedAname

Mount Windows Server Share as drive letter

Post by IneedAname »

On Thu, 01 Jan 2009 08:34:41 -0600
"Daniel T" <[email protected]> wrote:
Please advise, how can I mount a drive letter (even if it is using something other than Wine) so that my software can see its database and license files?
smbmount //192.168.100.10/guest ~/1 -o user=LogInNameOfServer
Then map a drive letter to ~/1
Locked