Cannot copy files from linux to windows/C folder
I have Suse 9.0 and Windows XP installed on the same Pentium M laptop machine. From within linux, I can copy files from the windows/C shared folder to other linux folders. I cannot do the opposite. I could do it though in another machine with Suse 9.0 and Windows 98 installed on it. I tried to change the permissions of windows/C folder as root, but it was not possible. In the file etc/fstab I changed the appropriate line to /dev/hda1 /windows/C ntfs rw,users,gid=users,umask=0002,nls=iso8859-1 0 0 but no luck. Any hint? Dimitris
Dimitrios Eftaxiopoulos wrote:
I have Suse 9.0 and Windows XP installed on the same Pentium M laptop machine. From within linux, I can copy files from the windows/C shared folder to other linux folders. I cannot do the opposite. I could do it though in another machine with Suse 9.0 and Windows 98 installed on it.
I tried to change the permissions of windows/C folder as root, but it was not possible. In the file etc/fstab I changed the appropriate line to
/dev/hda1 /windows/C ntfs rw,users,gid=users,umask=0002,nls=iso8859-1 0 0
but no luck.
I _thought_ that the NTFS filesystem under Linux was read-only (regardless of what mount options you used) unless you explcitly compiled in read-write access into your kernel. I still think that is the case. Read-write NFTS filesystems have been marked as experimental for a long time now and I don't think that has changed. The reason why you can access your windows 98 partition is because the kernel fully supports read-write access to fat32 partitions. Mike
Dimitrios Eftaxiopoulos wrote:
From within linux, I can copy files from the windows/C shared folder to other
I have Suse 9.0 and Windows XP installed on the same Pentium M laptop machine. linux folders. I cannot do the opposite. I could do it though in another machine with Suse 9.0 and Windows 98 installed on it.
I tried to change the permissions of windows/C folder as root, but it was not possible. In the file etc/fstab I changed the appropriate line to
/dev/hda1 /windows/C ntfs rw,users,gid=users,umask=0002,nls=iso8859-1 0 0
but no luck.
Any hint? Dimitris
NTFS filesystems have database like structures that make writing to them extremely difficult. It is quite easy to destroy your NTFS filesystem if you try from inside Linux. You can safely mount and read an NTFS volume but I would seriously avoid attempting to write to one. There are tools to let Windows read your EXT/ReiserFS file systems, also in a read only mode so that you could boot into Windows and copy over the data from there. Or you could setup a 'shared' drive either internal or external USB and format it with FAT32, which both OSes can read and write to. -- Donald Grayson Systems Administrator SportPaint, Inc.
On Thu, 2004-04-22 at 12:51, Donald Grayson wrote:
Dimitrios Eftaxiopoulos wrote:
From within linux, I can copy files from the windows/C shared folder to other
I have Suse 9.0 and Windows XP installed on the same Pentium M laptop machine. linux folders. I cannot do the opposite. I could do it though in another machine with Suse 9.0 and Windows 98 installed on it.
I tried to change the permissions of windows/C folder as root, but it was not possible. In the file etc/fstab I changed the appropriate line to
/dev/hda1 /windows/C ntfs rw,users,gid=users,umask=0002,nls=iso8859-1 0 0
but no luck.
Any hint? Dimitris
NTFS filesystems have database like structures that make writing to them extremely difficult. It is quite easy to destroy your NTFS filesystem if you try from inside Linux.
You can safely mount and read an NTFS volume but I would seriously avoid attempting to write to one. There are tools to let Windows read your EXT/ReiserFS file systems, also in a read only mode so that you could boot into Windows and copy over the data from there. Or you could setup a 'shared' drive either internal or external USB and format it with FAT32, which both OSes can read and write to.
If one had an additional disk, they might consider mounting it with a vfat system on it so it is commonly available to both Winders and Leeeenux. Just a thought... that's what I do, anywho.... `*8> -- Brad Shelton On Line Exchange http://www.ole.net Phone: 313-526-1111 Fax: 313-526-3333
On Thursday 22 April 2004 12:10 pm, Brad Shelton wrote:
On Thu, 2004-04-22 at 12:51, Donald Grayson wrote:
NTFS filesystems have database like structures that make writing to them extremely difficult. It is quite easy to destroy your NTFS filesystem if you try from inside Linux.
You can safely mount and read an NTFS volume but I would seriously avoid attempting to write to one. There are tools to let Windows read your EXT/ReiserFS file systems, also in a read only mode so that you could boot into Windows and copy over the data from there. Or you could setup a 'shared' drive either internal or external USB and format it with FAT32, which both OSes can read and write to.
If one had an additional disk, they might consider mounting it with a vfat system on it so it is commonly available to both Winders and Leeeenux.
Just a thought... that's what I do, anywho....
Brad Shelton
Sage advice and very well worth heeding. Since you already have a valid license for XP check out http://www.jankratochvil.net/project/captive/. This does give you read/write support for NTFS through Linux. Take adequate precautions for your data as usual such as good restores. Captive relies on the latest Microsoft NTFS drivers from XP so there is less chance of corrupting your NTFS files versus an open source NTFS driver that doesn't have access to the closed source Microsoft drivers. I have my data on NTFS preserved elsewhere and use captive under SUSE 2.4.21-203 with VMWare 4.5 also accessing the same partition. So far so good. Win2K boots to the same partition no problem. Stan
Donald Grayson wrote:
Dimitrios Eftaxiopoulos wrote:
I have Suse 9.0 and Windows XP installed on the same Pentium M laptop machine.
From within linux, I can copy files from the windows/C shared folder to other
linux folders. I cannot do the opposite. I could do it though in another machine with Suse 9.0 and Windows 98 installed on it.
I tried to change the permissions of windows/C folder as root, but it was not possible. In the file etc/fstab I changed the appropriate line to
/dev/hda1 /windows/C ntfs rw,users,gid=users,umask=0002,nls=iso8859-1 0 0
but no luck.
Any hint? Dimitris
NTFS filesystems have database like structures that make writing to them extremely difficult. It is quite easy to destroy your NTFS filesystem if you try from inside Linux.
You can safely mount and read an NTFS volume but I would seriously avoid attempting to write to one. There are tools to let Windows read your EXT/ReiserFS file systems, also in a read only mode so that you could boot into Windows and copy over the data from there. Or you could setup a 'shared' drive either internal or external USB and format it with FAT32, which both OSes can read and write to.
Since your machine is a laptop, and utmost security should not be an issue, why not convert the Windows filesystem to FAT32? That's what I did and I can write to /windows/C with no problems. I used Partition Magic to do the conversion. Dan
participants (6)
-
Brad Shelton
-
Dan Weisenstein
-
Dimitrios Eftaxiopoulos
-
Donald Grayson
-
Michael Ferguson
-
S.R.Glasoe