You are not logged in.

#1 2004-03-08 12:25:52

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 707
Website

ntfs write not working

when i try to write to my windows partition, it says "Operation not permitted" and "Permission denied" even as root!  Here's my fstab!

/dev/hda1 /mnt/windows ntfs defaults,umask=0,rw 0 0

It works fine with captive-ntfs, but not with the write ntfs i compiled in the kernel![/code]


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#2 2004-03-08 16:15:22

Win
Member
Registered: 2004-03-04
Posts: 155

Re: ntfs write not working

In the present version of the NTFS utilities, it is not possible to write to NTFS partitions.  DO NOT WRITE TO THE NTFS PARTITION: You risk VERY serious damage to your NTFS partition if you write to it. 

For more information about NTFS utilities, see:

Linux-NTFS Project
http://linux-ntfs.sourceforge.net/misc.html

WRT: Writing to NTFS volumes, here's a quotation from the FAQ at this site:

"3.2 Can the Driver write to an NTFS volume, too?

Not really, but if you only need to copy files from Linux to Windows on a dual-boot machine, see "How to write to NTFS" below for a possible way to work around the lack of write support. For write support in Linux, read on.

There are two drivers, currently. The original driver, in 2.4 has some write code in it, but it is extremely dangerous to use it. The possibility of destroying your filesystem is very high.

The new driver, introduced in 2.5.11, has some write code, but it's very limited. The driver can overwrite existing files, but it cannot change the length, add new or delete existing files.

Adding write support will take a long time. NTFS is built like a database. Any changes you make, necessitate making changes in many places, for consistancy. Make a mistake and the filesystem will be damaged, make too many mistakes and the filesystem will be destroyed. Also, the current developers are only working on NTFS as a hobby, during their free time. If you'd like to help, please email me: webmaster@flatcap.org.

How to write to NTFS. If you are using a dual-boot machine and just need NTFS write support to transfer files from Linux to Windows, you can instead use a Windows driver for ext2/ext3 and, while running Windows, read the files from the Linux partition instead. This way, using two read-only drivers, you can still copy files from one file system type to the other."

Offline

#3 2004-03-08 20:45:34

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 707
Website

Re: ntfs write not working

What about captive-ntfs?  That works fine doesn't it?

Also:  What is a good ext3 reader in Windows?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#4 2004-03-08 21:05:50

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: ntfs write not working

general idea of accessing files from linux and windows:
use FAT32 format and mount in linux with -t vfat ... works best, no problems


The impossible missions are the only ones which succeed.

Offline

#5 2004-03-08 21:14:40

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

Re: ntfs write not working

the german magazin c't just announced the mentioned captive [1] ntfs as the first solution to really read and write ntfs partitions in linux. There is only the speed-problem cause you have to simulate too much.
Personally I didn't tried it yet, cause I don't want to loose my windows again smile

[1] http://www.jankratochvil.net/project/captive/

Offline

#6 2004-03-09 01:27:12

Win
Member
Registered: 2004-03-04
Posts: 155

Re: ntfs write not working

On machines with which I share data, I make a practice of always creating an extra, moderately sized FAT32 partition (moderate for me is usually about 5 Gb).  If the machine is dual-boot, this partition serves as a common directly that can be visible to the user whether booted under Windows or Linux.  If networked, it can be used "live" to store and transfer data between native NTFS and any other Linux filesystem.

For the more adventurous, there is at least one way of accessing ext2 (but not yet ext3) Linux filesystems under Windows:

ext2fsd  -- ext2 filesystem driver for Windows NT/2K/XP with read/write support
http://sourceforge.net/projects/ext2fsd

Regards,

Win

Offline

#7 2004-03-09 05:20:35

afu
Member
From: Tuscalooser, Alabummer
Registered: 2004-02-19
Posts: 155

Re: ntfs write not working

And for those that dual-boot winXP and Linux on a laptop - don't ever shutdown XP via suspend/hibernate, boot into Linux and write a file to your XP partition, and then expect to ever see that file again when you re-start XP. It sucks to loose your work and this will surely do it to you.
-Shawn

Offline

#8 2004-03-10 00:51:03

kritoke
Member
From: Texas, USA
Registered: 2003-08-01
Posts: 211
Website

Re: ntfs write not working

I myself tend to use explore2fs (its like an explorer clone for accessing ext2/3 file systems, they have a driver to, but its highly unstable
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm

Is that driver stable at all?

Kritoke


http://counter.li.org/ Registered Linux User #318963 kritoke@jabber.org

Offline

#9 2004-03-10 01:01:45

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 707
Website

Re: ntfs write not working

What program can I use to resize my NTFS partition, and create a FAT32 Partition in the free space (for win/lin exchange)?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#10 2004-03-10 01:07:36

kritoke
Member
From: Texas, USA
Registered: 2003-08-01
Posts: 211
Website

Re: ntfs write not working

You can use http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html to resize your ntfs partition, but use it at your own risk.

Kritoke


http://counter.li.org/ Registered Linux User #318963 kritoke@jabber.org

Offline

Board footer

Powered by FluxBB