Newbie setting up wine: 20001202: o valid DOS drive found, check your configuration file.
Szandor
szandor at t-online.de
Sun Apr 15 09:07:26 CDT 2001
Shalom!
Okay, this is my wine config file, which i have copied out of the wine ini
and then changed it to suite my computer. Im using SuSE 7.1 Professionell
and have my fat32 partition mounted on /windows/C (<= capital). Im am using
Win2000 and this is what wine says:
linux:~ # wine --winver win2000 /windows/F/UO/client.exe
Warning: no valid DOS drive found, check your configuration file.
Warning: could not find wine.conf [Drive x] entry for current working
directory
/root; starting in windows directory.
Invalid path 'c:\windows\system' for system directory
Perhaps you have not properly edited or created your Wine configuration
file.
This is either /etc/wine.conf or $HOME/.winerc
or it is determined by the -config option or from
the WINE_INI environment variable.
Wine has used /root/.winerc as configuration file.
Fact is, nowhere in the configuration file i have a Windows/system left,
everything changed to winnt to fit Win2000. Everything is mounted, I am
root and still this error occurs, although I have tried everything what the
documentation says...
here's my config
Thanks a lot ;)
2 ;; MS-DOS drives configuration
3 ;;
4 ;; Each section has the following format:
5 ;; [Drive X]
6 ;; Path=xxx (Unix path for drive root)
7 ;; Type=xxx (supported types are 'floppy', 'hd', 'cdrom' and
'network')
8 ;; Label=xxx (drive label, at most 11 characters)
9 ;; Serial=xxx (serial number, 8 characters hexadecimal number)
10 ;; Filesystem=xxx (supported types are 'msdos'/'dos'/'fat',
'win95'/'vfat', 'unix')
11 ;; This is the FS Wine is supposed to emulate on a certain
12 ;; directory structure.
13 ;; Recommended:
14 ;; - "win95" for ext2fs, VFAT and FAT32
15 ;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly
recommended)
16 ;; DON'T use "unix" unless you intend to port programs using Winelib !
17 ;; Device=/dev/xx (only if you want to allow raw device access)
18 ;;
19 [Drive A]
20 Path=/floppy
21 Type=floppy
22 Label=Floppy
23 Serial=87654321
24 Device=/dev/fd0
25
26 [Drive C]
27 Path=/windows/C
28 Type=hd
29 Label=MS-DOS
30 Filesystem=win95
31
32 [Drive D]
33 Path=/cdrom
34 Type=cdrom
35 Label=CD-Rom
36 Filesystem=win95
37 ; make sure that device is correct and has proper permissions !
38 Device=/dev/cdrom
39
40 [Drive E]
41 Path=/tmp
42 Type=hd
43 Label=Tmp Drive
44 Filesystem=win95
45
46 [Drive F]
47 Path=${HOME}
48 Type=network
49 Label=Home
50 Filesystem=win95
51
52 [wine]
53 Windows=c:\winnt
54 System=c:\winnt\system
55 Temp=e:\
56 Path=c:\winnt;c:\winnt\system;e:\;e:\test;f:\
57 Profile=c:\winnt\Profiles\szandor
58 GraphicsDriver=x11drv
59 ; Wine doesn't pass directory symlinks to Windows programs by default.
60 ; Enabling this may crash some programs that do recursive lookups of a
whole
61 ; subdir tree in case of a symlink pointing back to itself.
62 ;ShowDirSymlinks=1
63 ShellLinker=wineshelllink
64
65 # <wineconf>
66
67 [DllDefaults]
68 EXTRA_LD_LIBRARY_PATH=${HOME}/wine/cvs/lib
69 DefaultLoadOrder = native, builtin, so
70
71 [DllOverrides]
72 commdlg = builtin, native
73 comdlg32 = builtin, native
74 ver = builtin, native
75 version = builtin, native
76 shell = builtin, native
77 shell32 = builtin, native
78 lzexpand = builtin, native
79 lz32 = builtin, native
80 comctl32 = builtin, native
81 commctrl = builtin, native
82 wsock32 = builtin
83 winsock = builtin
84 advapi32 = builtin, native
85 crtdll = builtin, native
86 mpr = builtin, native
87 winspool.drv = builtin, native
88 ddraw = builtin, native
89 dinput = builtin, native
90 dsound = builtin, native
91 mmsystem = builtin
92 winmm = builtin
93 msvideo = builtin, native
94 msvfw32 = builtin, native
95 mcicda.drv = builtin, native
96 mciseq.drv = builtin, native
97 mciwave.drv = builtin, native
98 mciavi.drv = native, builtin
99 mcianim.drv = native, builtin
100 msacm.drv = builtin, native
101 midimap.drv = builtin, native
102 wnaspi32 = builtin
103 icmp = builtin
104
105 [x11drv]
106 ; Number of colors to allocate from the system palette
107 AllocSystemColors = 100
108 ; Use a private color map
109 PrivateColorMap = N
110 ; Favor correctness over speed in some graphics operations
111 PerfectGraphics = N
112 ; Color depth to use on multi-depth screens
113 ;;ScreenDepth = 16
114 ; Name of X11 display to use
115 ;;Display = :0.0
116 ; Allow the window manager to manage created windows
117 Managed = N
118 ; Use a desktop window of 640x480 for Wine
119 ;Desktop = 640x480
120 ; Use XFree86 DGA extension if present
121 UseDGA = Y
122 ; Use XShm extension if present
123 UseXShm = Y
124 ; Enable DirectX mouse grab
125 DXGrab = N
126 ; Create the desktop window with a double-buffered visual
127 ; (useful to play OpenGL games)
128 DesktopDoubleBuffered = N
129 ; Code page used for captions in managed mode
130 ; 0 means default ANSI code page (CP_ACP == 0)
131 TextCP=0
132 ; Use this if you have more than one port for video on your setup
133 ; (Wine uses for now the first 'input image' it finds).
134 ;; XVideoPort = 43
135
136 [fonts]
137 ;Read documentation/fonts before adding aliases
138 Resolution = 96
139 Default = -adobe-times-
140
141 [serialports]
142 Com1=/dev/ttyS0
143 Com2=/dev/ttyS1
144 Com3=/dev/modem,38400
145 Com4=/dev/modem
146
147 [parallelports]
148 Lpt1=/dev/lp0
149
150 [spooler]
151 LPT1:=|lpr
152 LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
153 LPT3:=/dev/lp3
154
155 [ports]
156 ;read=0x779,0x379,0x280-0x2a0
157 ;write=0x779,0x379,0x280-0x2a0
158
159 [spy]
160 Exclude=WM_SIZE;WM_TIMER;
161
162 [registry]
163 ; Paths must be given in /dir/dir/file.reg format.
164 ; Wine will not understand dos file names here...
165
166 ;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
167 ;Defaults are read all, write to Home
168 ; Global registries (stored in /etc)
169 LoadGlobalRegistryFiles=Y
170 ; Home registries (stored in ~user/.wine/)
171 LoadHomeRegistryFiles=Y
172 ; Load Windows registries from the Windows directory
173 LoadWindowsRegistryFiles=Y
174 ; TRY to write all changes to home registries
175 WritetoHomeRegistryFiles=Y
176 ; Use new file format
177 UseNewFormat=Y
178 ; Registry periodic save timeout in seconds
179 ; PeriodicSave=600
180 ; Save only modified keys
181 SaveOnlyUpdatedKeys=Y
182
183 [Tweak.Layout]
184 ;; WineLook=xxx (supported styles are 'Win31'(default), 'Win95',
'Win98')
185 WineLook=Win95
186
187 [programs]
188 Default=
189 Startup=
190
191 [Console]
192 ;Drivers=tty
193 ;XtermProg=nxterm
194 ;InitialRows=25
195 ;InitialColumns=80
196 ;TerminalType=nxterm
197
198 [Clipboard]
199 ClearAllSelections=0
200 PersistentSelection=1
201
202 # </wineconf>
--
PAX ALTA by Szandor
More information about the wine-users
mailing list