LinuxQuestions.org
Review your favorite Linux distribution.
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 11-11-2005, 10:35 PM   #1
masoninc61
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Help using Wine


matt@linux:~> wine
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/home/matt', starting in the Windows directory.
Wine 0.9.1
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit


I get that error.

Then I found out trying to do some stuff I cannot write anyfiles to my windows partition or any other drives and partitions. It says I do not have permission. Any suggestions please?

oh yes... I am usinge SuSe 9.3

Last edited by masoninc61; 11-11-2005 at 10:37 PM.
 
Old 11-12-2005, 03:55 AM   #2
Xena
Member
 
Registered: Nov 2005
Posts: 84

Rep: Reputation: 15
Writing to windows partition is easily answered, so I'll answer that first. Do you have write permission on the windows partition? Is it FAT or NTFS format? If it's bigger than about 30Gb it's certainly NTFS and therefore read-only to linux, unless you have NTFS support.

And problems with wine - did you install it correctly? I've never come across such an error, I usually get the latest rpm of wine and it works fine.
 
Old 11-12-2005, 05:51 PM   #3
cormack
Member
 
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156

Rep: Reputation: 30
With wine i sorta had problems like that. downlaod the wine-tools from winehq and compile them. that creates a fake c:.../ partition in your home directry for you if the initial wine install didnt do that. you also get internet exploer...yay hmm.. and minesweeper lol. helps as some apps require internet xplorer.
Also Xena what you said i would normaly total have agreed with but when i first got my comp i installed windoz. i read the leaflet i got with my xp disk and it said that any partition over 32gb would need to be NTFS. i installed and selected FAT32 so any future lionx install could rite to it. and to my suprise it created 1 75gb FAT32 partition!!
So it is not nessesarily NTFS if it is bigger than 32 gigs.
 
Old 11-12-2005, 06:06 PM   #4
Xena
Member
 
Registered: Nov 2005
Posts: 84

Rep: Reputation: 15
175Gb and FAT? Well done. I've never achieved such a thing. Perhaps I should say, "if it's bigger than 30Gb then it's likely to be NTFS"
 
Old 11-12-2005, 08:39 PM   #5
masoninc61
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
The partition that windows is on is 10 gigs and is NTFS.
 
Old 11-13-2005, 01:41 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can not run just wine. You have to include a program that you want to run. For example 'wine notepad' will run notepad. I do not recommend using WINE to run programs off of your orginal Windows setup. WINE can corrupt the windows program and mess everything up. Just install the programs that you want to use in WINE. Let it store the program in ~/.wine/drive_c.

Writing to NTFS is very experimental. If you do write to it, all your files could be corrupted when you boot up into Windows. I normally compile the kernel with out write support for NTFS.

Windows 2000 and Windows XP can not format partitions as FAT32 that are larger than 32 GB because of limitations in these versions. These versions can handle FAT32 partitions up to 2 TB. To get around the 32 GB limit issue is to use a format utility from Windows 95 or Windows 98. The format utility will have no problems formatting a few hundred gigabytes. I prefer people use FAT32 instead of NTFS because NTFS can cause problems if using poorly written programs.

Xena, I think cormack said that he or she created one 75 GB partition. I have created a 120 GB partition. I converted it to XFS because I have switch to Linux as my primary OS.
 
Old 11-14-2005, 01:44 AM   #7
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
you may need to look at
winecfg
where you can associate the fake c: drive

Also on newer version of wine you may need to run once after install / compilation of wine
something called wine???? it also creates some links (cannot remember name)
 
Old 12-02-2005, 03:41 PM   #8
linluvr
LQ Newbie
 
Registered: Dec 2005
Distribution: Linux Mint 9
Posts: 10

Rep: Reputation: Disabled
The same thing just happened to me!

I just got very similar results, doing something after upgrading my system that I had been doing in the predecessor system with no problems:

| Warning: the specified Windows directory L"c:\\windows" is not accessible.
|
| Warning: the specified System directory L"c:\\windows\\system" is not accessible.
|
| Warning: could not find DOS drive for current working directory '/foo/bar',
| starting in the Windows directory.
|
| wine: cannot open (null)

I had been using SuSE Linux 9.0, and just upgraded to 10.0. I'm wondering whether it's more than a coincidence that both Matt and I were using SuSE versions that probably have a lot in common with one another. (BTW, "/foo/bar" is not the actual name of the directory where I was at the time - I just edited the message, since the directory name is not important. However, the directory does exist, and it does contain the same thing it always has. I have the old system on another partition, so I can prove that things still work (I assume) under SuSE 9.0).

I'm wondering whether wine could be trying to look in the "windows" directory because it can't open a DLL or some such.

Hmmmm.

--

Ahhhh. After carefully reading all the postings in this thread, and doing some poking around based on what I learned thereby, I've solved my problem, and suspect the same might work for Matt.

It turns out that I had copied my old ~/.wine directory and its contents from my old home directory when I did an upgrade from SuSE 9.0 to SuSE 10.0 - which I think gave wine indigestion. I just renamed the old .wine and ran winecfg, letting it create a new .wine dir. Now all is well.

BTW, I tend to think that all that speculation about NTFS partitions and such is a red herring - it has nothing to do with the problem, afaik. I'm running from Reiser and ext2 filesystems, partition sizes from 5 gigs to about 30 gigs. There's no Windoze nonsense involved, since everything lives on Linux filesystems.

Last edited by linluvr; 12-02-2005 at 04:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 brynjarh Linux - Newbie 2 05-28-2013 10:59 AM
Wine - Diablo II LOD TCP/IP doesn't work +where is my wine.conf brainlesspinkey Linux - Games 7 08-26-2007 08:10 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
wine [wine] config detailed settings...directory paths... breezewax Linux - Software 2 10-19-2004 06:15 PM
wine: chdir to /tmp/.wine-tom/server-306-33fca : No such file or directory Kinstonian Linux - Software 19 06-21-2003 05:16 AM


All times are GMT -5. The time now is 12:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration