LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with WINE (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-wine-103506/)

Bill Hicks 10-13-2003 03:04 PM

help with WINE
 
i want to be able to use the widows .exe programs on my other partition,

How do i set up wine and mount my other partition?

i am using red hat 9 KDE.

jpbarto 10-13-2003 03:24 PM

to mount the partition you would edit fstab ... there are plenty of posts in these forums on how to do it. Or you could read the manual pages via 'man fstab' and 'man mount'.

As for wine, download the rpm (and install it), edit the config file so that it points to your old C drive and then 'cd' on over to your favorite .exe...

say like if your old windows drive is mounted at /mnt/win
'cd /mnt/win/Windows'
'wine sol.exe'

that should do it. I know that was brief but these topics really have been covered in quite large detail throughout these forums, but if you run into any particular problems let us know.

jpbarto

slightcrazed 10-13-2003 03:28 PM

I believe that RedHat does come with a pre-compiled version of wine, so you can just install the .rpm and go with it. You may have to setup a ~/.wine/config file in your users directory, but there should be instructions either on RedHat's site (or man wine) for getting it setup. Once it is setup, you can run most apps just by mounting the partition that they are on:

as root:

mount /dev/hda* /something/somewhere

example, I have /dev/hda1 (win2k partition) mounted as /mnt/winC and if I want to run an executable on that partition I can do:

wine /mnt/winC/path/to/executable.exe

and it will run.

Wine is not perfect though. Many applications do not run correctly on Wine. The problem is twofold. First, many applications require access to resources that wine can not mimic. Second, wine typically approaches the problem using the accepted methods of resource access on windows, however many application developers stray from these defact standards and this causes problems.

Using Wine is often more an art than a science. Many applications will work with wine only after some very specific tinkering has been done.

Other options:

For games, check out www.transgaming.com for winex, a wine spin off that has better support for DirectX applications.

For apps that simply won't work with wine, an emulator or Virtual machine may be a better solution. I don't know of any opensource VM solutions, but many commercial ones do exist. The company I work for uses a VM product called connectix which works very well.

slight

Mara 10-13-2003 03:31 PM

Do you mean you can access the files in Linux but can't use them with WINE? If that's the reason, you need to edit 'config' file in '.wine' directory in your home dir. Among other things, it has a list of 'drives' presented to Windows programs. An example entry:
Code:

[Drive E]
"Path" = "/opt/wine"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"

It makes my /opt/wine appear as E: under WINE. You can do the same with any directory you have mounted.


All times are GMT -5. The time now is 03:27 AM.