How to access partition on HD...

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
NJ0E
Newbie
Newbie
Posts: 2
Joined: Tue Sep 09, 2008 9:13 pm

How to access partition on HD...

Post by NJ0E »

I have my HD in 4 partitions:
C;Windows
D: Everything else (personal info and program install other than windows
E:Ubuntu 8.04
F: Swap File for ubuntu

When I configure Wine I get
C; windows
D:/home/njoe
H:../
Z:
How can I point to the correct dirves?
How can I install form the Everything esle drive?

Thanks for the assist
Joe
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to access partition on HD...

Post by vitamin »

NJ0E wrote:I have my HD in 4 partitions:
C;Windows
D: Everything else (personal info and program install other than windows
E:Ubuntu 8.04
F: Swap File for ubuntu

When I configure Wine I get
C; windows
D:/home/njoe
H:../
Z:
How can I point to the correct dirves?
How can I install form the Everything esle drive?

Thanks for the assist
Joe
You have to mount those partitions with Linux first. Then map those mount points with winecfg to drives.
NJ0E
Newbie
Newbie
Posts: 2
Joined: Tue Sep 09, 2008 9:13 pm

Re: How to access partition on HD...

Post by NJ0E »

ok... mount HD partitions -- WHY? I can see them under ubuntu when I go to the places tab on my desktop. Arent they mounted? Pardon the noobie quesitons.

Joe
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to access partition on HD...

Post by vitamin »

NJ0E wrote:ok... mount HD partitions -- WHY?
That's what you have to do before accessing them. What some other program might do is irrelevant.
If you want Wine to access that information, you have to mount them first. See output of 'mount' command to verify if they are mounted or not.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

When I configure Wine I get
C; windows
D:/home/njoe
H:../
Z:
How can I point to the correct dirves?
How can I install form the Everything esle drive?
What exactly did you do to "configure Wine"?

If your Windows partitions are mounted, winecfg should detect them when you click the Autodetect button on the drives tab.
jimtanis
Level 1
Level 1
Posts: 7
Joined: Mon Sep 22, 2008 8:40 pm

I also have this problem

Post by jimtanis »

I have 2 partitions as well as a mapped network drive I would like to access from Wine. I have the drives in question mounted, and they show up in the places under Ubuntu hardy heron. I go to the winecfg , or just clock on applications, Wine, Configure Wine, and go to the drives tab, and can't find the drives in question. I have used the autodetect button as well, and nothing shows up.

Again, the drives are already mapped, mounted, and accessible from the places tab in Ubuntu.

Thanks! Jim NX0R
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

What happens when you try to add them manually in winecfg?
jimtanis
Level 1
Level 1
Posts: 7
Joined: Mon Sep 22, 2008 8:40 pm

Post by jimtanis »

I tried that . They show up in the configuration page, but are not accessible from any programs. For example I have Quicken installed, and use a Network drive to store my data files with backups on individual computers. The drives I need don't show up as a choice when I browse for files. Same with Notepad. Here (to the best of my ability to type them in) is what shows in the cnf page:

C: //drive_c
D: /media/cdrom0
E: /my book (g) on nx0r (added manually by me)
F: /nx0r/g: "
G: /
H: /home/jimtanis
I: /
Z: /


On Notepad when I look at My Computer I have listed C: D: G: Home H: I: and Z: None of which when opened are remotely what the network drive has on it.

Is there a network browser for wine like in XP ?

Thanks! Jim
Plamen.Vassilev
Level 2
Level 2
Posts: 25
Joined: Thu Mar 13, 2008 7:41 am

Post by Plamen.Vassilev »

Hello, maybe the spaces and braces in the below name are the problem?

/my book (g) on nx0r

try using something without blank spaces and braces, or escape them (or quote) the name, like
/my_book_g_on_nx0r

Hope that helps
-P
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

jimtanis
Level 1
Level 1
Posts: 7
Joined: Mon Sep 22, 2008 8:40 pm

Post by jimtanis »

Ok, I posted a screenshot of some of the stuff I am talking about at http://www.agapesbc.org/Screenshot.png .

I know I am doing something wrong setting up the network drives. I looked at the /mnt folder and there are no entries in it at all. But there are shares shown (See the left side of my folder browser). It is displaying the /mnt folder in the main pane.

I am a newbie to Linux, and appreciate all the help I can get.

Thanks! Jim NX0R
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jimtanis wrote:Ok, I posted a screenshot of some of the stuff I am talking about at http://www.agapesbc.org/Screenshot.png .
Each partition have to be mounted for Wine to access it. Wine does not support "smb://" "filesystem". If you do not know how to do it - ask on your distro's forum.
jimtanis
Level 1
Level 1
Posts: 7
Joined: Mon Sep 22, 2008 8:40 pm

Post by jimtanis »

If the partitions were not mounted, would I be able to click and browse them from the links in the Ubuntu file browser?

Thanks Jim
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jimtanis wrote:If the partitions were not mounted, would I be able to click and browse them from the links in the Ubuntu file browser?
Yes, especially cifs (samba).
jimtanis
Level 1
Level 1
Posts: 7
Joined: Mon Sep 22, 2008 8:40 pm

Post by jimtanis »

Can you give me an example of what the share would like like in Wine Configuration (drives tab) for a windows computer xxxxx sharing drive G: with a name like my drive ?

Thanks! Jim
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jimtanis wrote:Can you give me an example of what the share would like like in Wine Configuration (drives tab) for a windows computer xxxxx sharing drive G: with a name like my drive ?
/mnt/some_dir (or whatever you mounted it to).

In case you still don't understand - you have to mount the remote share first (no smb:// is NOT a mount). Then you point Wine there.
jimtanis
Level 1
Level 1
Posts: 7
Joined: Mon Sep 22, 2008 8:40 pm

Post by jimtanis »

Ok, I am stupid! I don't understand HOW to do this. I have am trying to connect to another computer on my network, and to an external 2tb raid drive connected to it.

HOW Specifically do I mount the drive in wine, and use it? Assume the computer name is xxxx and the external drive is yyyy

I am just too windows orientated. Thanks for trying to help me!

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

Post by dimesio »

jimtanis wrote:Ok, I am stupid! I don't understand HOW to do this. I have am trying to connect to another computer on my network, and to an external 2tb raid drive connected to it.

HOW Specifically do I mount the drive in wine, and use it? Assume the computer name is xxxx and the external drive is yyyy

I am just too windows orientated. Thanks for trying to help me!

Jim Tanis
You mount it in Linux, not Wine. If you don't know how to do that, ask in your distro's support forums.
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Post by Tlarhices »

jimtanis wrote:Ok, I am stupid! I don't understand HOW to do this. I have am trying to connect to another computer on my network, and to an external 2tb raid drive connected to it.

HOW Specifically do I mount the drive in wine, and use it? Assume the computer name is xxxx and the external drive is yyyy

I am just too windows orientated. Thanks for trying to help me!

Jim Tanis
First you have to choose a folder where you want to mount it. For instance, let's call it "samba_folder"
Start a terminal, type :

Code: Select all

sudo mkdir /mnt/samba_folder
To prepare the future folder where you will find the files.

We make a copy of the file "/etc/fstab" before playing with it :

Code: Select all

sudo cp /etc/fstab /etc/fstab.old
Then edit as root the file "/etc/fstab"

Code: Select all

gksudo gedit /etc/fstab
You will see some line looking like this :

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda3 UUID=b6084658 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda1 UUID=86BAAFD /media/sda1 ntfs defaults,umask=007,gid=46 0 1
# /dev/sda2 UUID=9f206381 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
Don't play with them or your computer might not be able to mount all your partitions ;)

After the last line, add a new one and put this :

Code: Select all

//xxxx/yyyy /mnt/samba_folder smb defaults 0 0
And replace xxxx and yyyy by the name of the computer and the name of the folder respectively and /mnt/samba_folder by the folder you have created at the beginning.

Then restart your computer, run winecfg and add a drive pointing to the /mnt/samba_folder (or whatever you have called it)

If you have a problem at restart and/or have destroyed your /etc/fstab file, just do :

Code: Select all

sudo mv /etc/fstab.old /etc/fstab
And restart.

There might be some graphical tools to do it for you but I don't know any.
Also your computer might become slower at boot as it will connect to your samba folder at that time.

If you want to mount it without playing with /etc/fstab, without restarting, ... but you will have to do it after each computer reboot. Google for smbmount and you will find how. I'll not write a complete tutorial on every single way to mount a samba folder, just putting the most "traditional" way of doing it.

If you need more help, ask/search on your distribution forum how to mount a samba folder. This is not a Wine problem by itself.
jimtanis
Level 1
Level 1
Posts: 7
Joined: Mon Sep 22, 2008 8:40 pm

Post by jimtanis »

Wow! Thank You Tlarhices ! You have put it in a way that makes sense to me! I will try some of these things tonight after work!

Thanks again

Jim NX0R
Locked