LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-01-2011, 09:43 PM   #1
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Just a windows/linux WINE Idea


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.
Old 03-01-2011, 11:47 PM   #2
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Hi jmc1987,

It's a great idea, but unfortunately WINE isn't quite at that stage yet.

See http://wiki.winehq.org/FAQ#head-497f...13312c7767afa2

Quote:
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.
 
2 members found this post helpful.
Old 03-02-2011, 09:47 AM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by Awatto View Post
Hi jmc1987,

It's a great idea, but unfortunately WINE isn't quite at that stage yet.

See http://wiki.winehq.org/FAQ#head-497f...13312c7767afa2
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.
 
Old 03-02-2011, 05:42 PM   #4
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
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...
 
Old 03-02-2011, 07:33 PM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
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.
 
Old 03-06-2011, 06:36 PM   #6
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Excellent, I'm interested to hear the results. 4GB files don't occur too frequently, I doubt you'll have any trouble.
 
Old 03-13-2011, 03:42 PM   #7
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
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.
 
Old 03-14-2011, 02:24 PM   #8
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
Okay so far I haven't made much progress I can' figure out how to get pass this. Here is what I've done

I've create .wine folder in my home directory
added vfat partition in fstab as
Quote:
#VFAT Windows/Linux Shared Programs
UUID=B244-FADF /home/james/.wine vfat uid=james,gid=users,utf8 0 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Here's a crazy security idea - ditch Windows for Ubuntu 10.10 Linux LXer Syndicated Linux News 1 10-16-2010 07:17 PM
[SOLVED] What's better for running Windows software in Linux, Wine or Windows VMware? LAPIII Linux - Software 1 03-31-2009 03:20 PM
My Crazy Idea, aka how linux can defeat Windows and Mac forever jmite General 44 09-28-2008 10:07 AM
Linux game idea, Windows invaders njbrain General 5 02-12-2004 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration