How do I set my virtual C drive to a different hard drive

Questions about Wine on Linux
Locked
Roranicus
Newbie
Newbie
Posts: 3
Joined: Fri Dec 20, 2013 11:22 am

How do I set my virtual C drive to a different hard drive

Post by Roranicus »

Hey there, sorry for the noob question but it's my first time using Wine. I'm using Linux Mint and have it installed on a SSD, therefore I do not want to install bulky windows games on that drive, but rather on a separate hard drive. I tried to look up information on how to change the location of the virtual C: drive without success. How would I go about doing that? If it's impossible, how would I go about creating a virtual D: drive on that separate hard drive?

Thanks for your help.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How do I set my virtual C drive to a different hard driv

Post by dimesio »

Roranicus
Newbie
Newbie
Posts: 3
Joined: Fri Dec 20, 2013 11:22 am

Re: How do I set my virtual C drive to a different hard driv

Post by Roranicus »

I tried that, either I'm not understanding it or it doesn't work. Essentially it doesn't do anything. I don't get new folders and the C: drive is still where it used to be.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How do I set my virtual C drive to a different hard driv

Post by dimesio »

What exactly are you entering at the command line?
Roranicus
Newbie
Newbie
Posts: 3
Joined: Fri Dec 20, 2013 11:22 am

Re: How do I set my virtual C drive to a different hard driv

Post by Roranicus »

export WINEPREFIX=/media/sda1/wine wine winecfg

this is not the drive on wich my home folder is, as I mentioned earlier. When I enter it, I get no error message but absolutely nothing happens.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How do I set my virtual C drive to a different hard driv

Post by dimesio »

Is /media/sda1 really the path? "/media" is usually used for mounting removable devices, but "sda1" would normally be the first partition on an internal hard drive.

I have a feeling you don't quite understand how Linux handles drives/partitions/directories/files. Maybe a concrete example will help. I have all my wineprefixes in a partition on my second hard drive; the partition is sdb7, mounted at /wine. One of the wineprefixes is /wine/office2007. The command I used to create that wineprefix was:

Code: Select all

WINEARCH=win32 WINEPREFIX=/wine/office2007 winecfg
(FYI, the WINEARCH variable is to make it a 32 bit wineprefix.)
Locked