LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2006, 12:08 AM   #1
alex1986
Member
 
Registered: Nov 2005
Location: Ottawa, Canada
Distribution: none yet
Posts: 96

Rep: Reputation: 19
Writing to NTFS


I heard somewhere that linux can't write to Windows XP partitions on your drive.
Is this true or not?
and Using Samba shares can i copy a document to my friends computer over the lan if he's running XP and i'm Slackware?
 
Old 08-03-2006, 12:20 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Samba uses SMB protocol (which Windows uses natively) so that works all right, no problem. You can copy a document to your friends computer over the lan if he's running XP and you're running Slackware, if you just have Samba installed and are granted access (like username/password if needed) to the shares.

The claim that Linux "can't write to XP partitions" (meaning: it can't write to ntfs partitions) is basically false, but not completely:

The ordinary, native ntfs "driver" of Linux can be used to access an ntfs partition, but read-only. It cannot write to ntfs. However there is software that can write to ntfs partitions too, one of them being Captive. But they're not perfect - their writing is unsure, it might or might not work (it's like 50% chance of succeeding in writing/deleting data), and could cause problems like data loss or corruption. And last time I checked, the other one of the two I tested, didn't work on 64-bit systems. So to cut it short: Linux can read and write to an ntfs partition, reading works quite perfectly, but writing is unsure and at the time does not work all right.

You might want to read more about this, so google for "linux ntfs write support", or visit Captive's website.

Last edited by b0uncer; 08-03-2006 at 12:23 AM.
 
Old 08-03-2006, 02:58 AM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Google for ntfs-3g it's supposed to be pretty good.

Last edited by cs-cam; 08-03-2006 at 03:00 AM.
 
Old 04-06-2007, 02:34 PM   #4
newsbot
LQ Newbie
 
Registered: Feb 2007
Location: Corsica
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
Writing on ntfs partition ?

Hi,

I use slackware 11 & install the huge26.s
just after i install the rest of the kernel ( header / source / generic / ... ) & compile ... reboot
all is ok

but as i can read an ntfs partition i can't write on it.

I don't understand because when i compile it ... i choose to write on the ntfs partion in the option of make xconfig

does one of you've got an idea ?
 
Old 04-06-2007, 03:20 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I have many x86_64 systems and i686, that read & write to a shared NTFS data partition, I installed ntfs-3g and dependencies from Debian repositories for my Debian Etch because their ntfs-3g package is version 1.0 or above. The rest of my systems I installed ntfs-3g and Fuse from source because their version is below 1.0 which is considered unstable, except for Fedora's package, but it has issues with SELinux, so I installed from source on it also. There is a link to the Fuse package on the ntfs-3g site highlighted in blue in the install instructions which has to be installed first. Instructions for installing them are pretty easy, if your kernel is version 2.6.20 or above, you still need to go through the steps to install fuse from source, but the ./configure step will tell you it will not compile the kernel module because the kernel module has the proper one. For kernels below 2.6.20, you have to add something to the configure step as such:

./configure --enable-kernel-module

For Mandriva and PC Linux, you need to remove the "fuse.ko.gz" module in /lib/modules/uname -r/kernel/fs/fuse directory and back it up by putting it in your /home or separate data partition. Because the supplied "fuse.ko.gz" will over ride the module you build with the proper version of fuse from source. And you need to install kernel source or headers for the current running kernel to compile them.

Here is the link to ntfs-3g http://www.ntfs-3g.org/

Last edited by Junior Hacker; 04-06-2007 at 03:23 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing NTFS fatenabu Linux - Distributions 2 09-09-2005 06:09 PM
Writing to ntfs cheater1034 Linux - Hardware 2 08-02-2005 09:53 PM
Writing to an NTFS volume using captive-ntfs (repairing boot.ini) macskeeball Linux - General 3 02-06-2005 09:28 PM
[SOLVED] writing to NTFS bucovaina78 Linux - Software 2 11-02-2004 05:27 PM
Writing to NTFS irfanhab Linux - Software 6 05-14-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:26 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
Open Source Consulting | Domain Registration