Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was just thinking. I have a windows partition and a linux partition. Now must of the time I use Linux but sometimes I have to boot into windows to play some games. Some games/software require a Linux Native files system for proper read/write functions but only Windows don't see any linux file systems. Now I want on my windows software to be accessible on both linux and windows with out multiple installations of the same software so I was thinking of making a
/usr/share/wine and mounting a fat32 files system
Create a symlink in all users home directory .wine > /usr/share/wine
Now on Windows the fat32 files system will be mounted as c:\Programs Files
Is there anything I should be aware of by doing this? It seems like it will work out pretty good. What is your input?
Thanks
Last edited by jmc1987; 03-02-2011 at 09:47 AM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
WARNING: Do not try to configure Wine to point to your actual Windows C:\ drive. This will break Windows and require a Windows reinstall. We have tried to make this hard to do, so you probably cannot do it by accident. If you do manage this, Wine may or may not continue to operate, but your Windows install will be 100% dead due to critical parts of it being overwritten. The only way to fix Windows after this has happened is to reinstall it.
Last edited by Awatto; 03-01-2011 at 11:48 PM.
Reason: Adding a quote.
Yes I am aware of that but I don't think you see how this would really work. Wine is going to run of the root C: Drive. All of Wine configuration folders would be in the windows programs folder. So it shouldn't over wright any of windows core system files. C:\Windows Won't even be mounted. The only real problem I see is if I install everything through windows I would have to import bits and pieces into WINE Regedit to fix some issues.
I'm no expert on Windows but I think there's things like .dll's you'll have to worry about too.. as far as I know Windows doesn't store everything in those program files, but I could be wrong. Some settings may also not be transferred which may cause problems (ie. since the registries will be two seperate copies, there will be inconsistencies).
Whats the worst that could happen? I think you'll spend a lot of time tinkering around with some programs, and others will "just work". Worst case you'll need to re-install an application in Windows that Wine somehow messed up. Give it a shot and report back. I suppose, as long as you make sure Wine doesn't touch Windows specific files, you should be safe from destroying your Windows install...
I guess there is only 1 way to find out. I guess I can send a backup of my windows to my fileserver and try it. It will be a little bit befor I get the time but I will try it out and see how it works. The only thing I am worry about it being a fat32 partition is that I can't hold an file bigger than 4gb. But I don't think to many programs make files that big anyways so it prolly don't matter. I will report back soon.
Just an UPdate if you guys wanted to know the outcome of this idea, I am in the process of doing it now. I will give details on how I done it and going to test this with Sim city 4 Delux, The sims 2, World of Warcraft Cata and we'll see how this turn out.
Command "sudo mount -a" to mount fat partition.
Command "wineboot" to fill in the files"
Here is where my first problem begins and I can't figure it out why it won't work right.
Quote:
james@james-ubdesktop:~/.wine$ wineboot
err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3
err:wineboot:main Cannot set the dir to L"C:\\windows" (2)
err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3
err:wineboot:main Cannot set the dir to L"C:\\windows" (2)
err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\james\\Desktop".
err:wineboot:ProcessStartupItems Couldn't get desktop folder.
It created the base files in .wine but none of the subdirectory files such as system32. Is there something im doing that fat32 don't support?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.