LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2003, 11:15 AM   #1
maneeshsethi
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Rep: Reputation: 15
Wine Problem, cannot write to C: Drive


Hi everyone

I recently installed Mandrake 9.1 and the Wine that was included with the distro. When I run notepad, using wine, it works fine. However, I get these errors.

Warning: access to temporary directory '/mnt/win_c/WINDOWS/Temp' failed (Read-only file system).
fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?
fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?
fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?




Here is the C and D drives of my config file.

[Drive C]
"Path" = "/mnt/win_c"
"Type" = "hd"
"Label" = "Windows"
"Filesystem" = "win95"

[Drive D]
"Path" = "/mnt/win_d"
"Type" = "hd"
"Label" = "/mnt/win_d"
"Filesystem" = "win95"



and here is my winecheck file.
----------------------------------
------------------------- checking miscellaneous stuff -------------------------
001. Checking for root user... OK.

--------------------------- checking Wine base files ---------------------------
002. Checking for file "wine"... OK.
003. Checking for correct .so lib config (please wait)... OK.

----------------------------- checking config file -----------------------------
004. Checking config file access... OK.

>>> Checking drive A settings:
005. Checking Path option... OK.
006. Checking Type option... OK.
007. Checking device /dev/fd0... OK.
008. Checking Filesystem option... OK.
--> OK.

>>> Checking drive C settings:
009. Checking Path option... FAILED (/mnt/win_c is not writable for you).
- ADVICE: If your user account is supposed to be able to access
it properly, use chmod as root to fix it ("man chmod"). If that doesn't help, change mount options in case of VFAT ("umask" option).
010. Checking Type option... OK.
011. Checking Filesystem option... OK.
--> PROBLEM.

>>> Checking drive D settings:
012. Checking Path option... SUSPICIOUS (/mnt/win_d is not writable for you).
- ADVICE: If your user account is supposed to be able to access
it properly, use chmod as root to fix it ("man chmod"). If that doesn't help, change mount options in case of VFAT ("umask" option).
013. Checking Type option... OK.
014. Checking Filesystem option... OK.
--> PROBLEM.

>>> Checking drive E settings:
015. Checking Path option... OK.
016. Checking Type option... OK.
017. Checking device dev=/dev/hdc,fs=auto,ro,--,iocharset=iCRITICAL (dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 does not exist).
- ADVICE: use MAKEDEV script to create it.
018. Checking Filesystem option... OK.
--> PROBLEM.

>>> Checking drive F settings:
019. Checking Path option... OK.
020. Checking Type option... OK.
021. Checking device dev=/dev/scd0,fs=auto,ro,--,iocharset=CRITICAL (dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 does not exist).
- ADVICE: use MAKEDEV script to create it.
022. Checking Filesystem option... OK.
--> PROBLEM.

>>> Checking drive G settings:
023. Checking Path option... OK.
024. Checking Type option... OK.
025. Checking Filesystem option... OK.
--> OK.

>>> Checking drive H settings:
026. Checking Path option... SUSPICIOUS (maneesh does not exist !).
- ADVICE: create this directory or point Path to a real directory.
027. Checking Type option... OK.
028. Checking Filesystem option... OK.
--> PROBLEM.

--------------------- checking system devices used by Wine ---------------------
029. Checking sound device /dev/dsp... OK.
030. Checking audio mixer device /dev/mixer... OK.
031. Checking MIDI sequencer device /dev/sequencer... OK.

----------------------- checking registry configuration ------------------------
032. Checking availability of winedefault.reg entries... CRITICAL (entry "SHAREDMEMLOCATION" not found in system.reg registry file).
- ADVICE: file winedefault.reg, the most basic wine registry environment, doesn't seem to have been applied using regapi.
033. Checking availability of windows registry entries... NOTICE (entry "Default Taskbar" not found).
- ADVICE: A Windows registry does not seem to have been added to Wine as this typical Windows registry entry does not exist in Wine's registry. A complete original Windows registry entry set will *not* be available with a no-windows install. Usually this will present no problem in running applications although this can affect newer programs.

33 tests. 2 suspicious, 0 bad, 3 critical, 1 failed.
Wine configuration correctness score: 9.12%
-----------------------------------

I tried to chmod my win_c to 751, but I don't know if that worked or not.

If you can help me that would be great. I can not open any programs that use temp files whatsoever.

-Maneesh



Last edited by maneeshsethi; 09-28-2003 at 11:18 AM.
 
Old 09-28-2003, 11:54 AM   #2
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
you're better off editing ~/.wine/config to mount /tmp as a drive, and then marking that as the temporary directory. eg:

[Drive Z]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"


and then:

[wine]
"Temp" = "z:\\"


Alternatively you can edit /etc/fstab to mount win_c readwrite and give all users write permissions, but i wouldn't recommend it.

Last edited by lezek; 09-28-2003 at 11:55 AM.
 
Old 09-28-2003, 12:19 PM   #3
maneeshsethi
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
Hmm. I tried both ways (editing config and editing /etc/fstab) and the same thing happens. I still get the error that win_c is read only.

What else can I do?


Also, I noticed that I was unable to chmod the win_c. I get the error that it was a Read-Only Filesystem.

-Maneesh

Last edited by maneeshsethi; 09-28-2003 at 12:34 PM.
 
Old 09-28-2003, 04:04 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
you'd be way better off going to frankscorner website (its in my sig below) and getting the app called Winetools and create a fake windows drive...it will be easier than using a existing windows partition..
 
Old 09-28-2003, 04:25 PM   #5
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
is win_c ntfs?
 
Old 09-28-2003, 06:05 PM   #6
maneeshsethi
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
win_c is in fact ntfs.'

--Maneesh
 
Old 09-28-2003, 09:58 PM   #7
maneeshsethi
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
Bump. Anyone else have any ideas?
 
Old 09-29-2003, 03:23 AM   #8
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
have u recompiled your kernel to allow u to write to a ntfs fs?
 
Old 09-29-2003, 03:25 AM   #9
maneeshsethi
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
Heh, I'm a newbie and have no idea how to recompile a kernel. Can you point me to some instructions?

Thanks

-Maneesh
 
Old 09-29-2003, 03:40 AM   #10
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
there is detailed instructions already posted on this site, doing a search should get them up for u.

in the mean time, go to /usr/src/linux
type make xconfig
this will bring up a user interface with the kernel options.
follow them through, u should do some research about some of the things in there, do not make changes if u do not know what u are doing.
u need to look in filesystems, u can enable writing to ntfs partitions in there
and one thing, make sure that ur kernel can read the partition that linux is installed on or else the kernel will panic :O
save and exit;
$make dep modules modules_install bzImage

if ur machine is less than 1 Ghz, go get some lunch

$cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernelx.xx.xx
$cp /usr/src/linux/SystemMap /boot/SystemMap

edit ur /etc/lilo.conf accordingly
run /sbin/lilo

these are general steps, if its ur first time recompiling the kernel, then do a search in these forums for more detailed instructions

Last edited by Gill Bates; 09-29-2003 at 03:41 AM.
 
Old 09-30-2003, 02:12 AM   #11
maneeshsethi
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Gill Bates
...
edit ur /etc/lilo.conf accordingly
run /sbin/lilo

I'm good up to here, but what should I edit lilo.conf to include?


Thanks

-Maneesh
 
Old 09-30-2003, 03:27 AM   #12
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
direct it to your new kernel and tell it to boot it. u need to look examples of that up, i is different from case to case depending on your disk structure

generally just copy the section for the current boot and replace the image with the path of ur new kernel

eg
current boot
image=/boot/vmlinuz
...
...

u add to end
image=/boot/kernel2.4.22
...
...

Last edited by Gill Bates; 09-30-2003 at 03:52 AM.
 
Old 09-30-2003, 10:00 AM   #13
maneeshsethi
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
Hmm

After changing my lilo.conf file, whenever i try to startx, i get this error.

Using vt 7
NV could not open control device /dev/nvidiact1 (No such file or directory!)

EE Nvidia(0) Failed to initialize Nvidia kernel module.
EE Screens found, but none have useable configuration

Fatal Server Error
No Screens Found.


Does anyone have any idea what I can do to fix this?

THanks

-Maneesh
 
Old 09-30-2003, 11:37 AM   #14
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
mmm, no idea, maybe u took support out for ur card in character devices part of the kernel ?

backup the xf86config file and try to make a new one with generic vesa drivers
 
  


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
nagging problem --sharing USB drive with Windows for read/write 1kyle SUSE / openSUSE 2 09-25-2005 04:35 AM
PROBLEM: write failures to USB drive with 2.6 kernel luv2hike Linux - General 0 08-02-2004 10:29 AM
Wine installtion problem(mounting NTFS drive) karfei00 Linux - Software 1 05-20-2004 10:06 PM
wine can't write to dir alaios Linux - Software 3 03-23-2004 11:27 AM
Wine problem- cannot define drive letters minister_fister Linux - Software 1 10-01-2003 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 AM.

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