Operating System - Linux
1829121 Members
2169 Online
109986 Solutions
New Discussion

Re: How do I mount a NTFS partition with rw support?

 
SOLVED
Go to solution
James_173
Advisor

How do I mount a NTFS partition with rw support?

Hello,

I have two disk,one installed RH8 and another install W2k server with NTFS.I want to mount NTFS partition under linux with write support.I compiled my kernel with NTFS file system support(read only) to M and NTFS write support to Y.I boot my system with the new kernel.But when I try to mount the Ntfs partition,the system tell me the partition is read-only.

Is there anything I need do to get my purpose.Thanks for your help.

Best regards,
James
11 REPLIES 11
Stuart Browne
Honored Contributor

Re: How do I mount a NTFS partition with rw support?

You said you built in NFS write support with a new kernel build? Did you also rebuilt and install all of the modules?

Is the NTFS module inserted when you try mount?

How are you mounting ? Are you using "-o rw", or is it already mounted?

Sorry for the questions, just trying to get a clear picture of whats happening.
One long-haired git at your service...
James_173
Advisor

Re: How do I mount a NTFS partition with rw support?

Dear Stuart,

Thanks for your quick response.I try to make it more clear about the question you asked.

1.I did install the all modules by using make modules and make modules_install commands.

2.The attached file is the output by issue lsmod.

3.I use that command to mount the ntfs partition,
mount -t ntfs -o rw /dev/sdb1 /mnt

After that,I can get into the /mnt and see all the files.But I can't write the boot.ini file.

I am looking forward to your reply. Thanks again.

James
James_173
Advisor

Re: How do I mount a NTFS partition with rw support?

Sorry,I forget to attach file.
Chakravarthi
Trusted Contributor

Re: How do I mount a NTFS partition with rw support?

i think boot.ini is a hidden file, in windows, change the permissions in windows and then try

James_173
Advisor

Re: How do I mount a NTFS partition with rw support?

Dear chakravarthi,

I am afraid it isn't root cause to my question.When I get into the /mnt,I see all the files were set to -rw-------,all directorys were set to drwx------.

Thanks for your help.

James

Chakravarthi
Trusted Contributor

Re: How do I mount a NTFS partition with rw support?

who is the owner of the files,,

the user who mounts it, should be able to view it,,,,

U.SivaKumar_2
Honored Contributor
Solution

Re: How do I mount a NTFS partition with rw support?

Hi ,

The Project says that Write support is not fully functional and will have problems on machines with SMP ( Multi-processors ).

regards,
U.SivaKumar
Innovations are made when conventions are broken
James_173
Advisor

Re: How do I mount a NTFS partition with rw support?

Hello,

I think U.SivaKumar is right.

BTW,I found a way to get write support.
1.mount -t ntfs /dev/sdb1 /mnt
2.mount -o remount,rw /dev/sdb1 /mnt

Maybe others have different result with me.

Regards,
James
Jon_87
Advisor

Re: How do I mount a NTFS partition with rw support?

SuSE 8 seems to have this in the Desktop version built in BTW
James_173
Advisor

Re: How do I mount a NTFS partition with rw support?

I am sorry I forgot to assign points to people who help me.Thank all of you again.

Regards,

James
md wills
Occasional Contributor

Re: How do I mount a NTFS partition with rw support?

I have recently seen this discussion on another list. I think you have to mount the drive as such

mount -t ntfs /dev/device /filesystem-mountpoint -o uid=root -o gid=root -o umask=022

A good place to readup on this would be http://linux-ntfs.sourceforge.net/info/ntfs.html#4.1

Hope this helps.