Solved

issue with "read only" NTFS partitions

Posted on 2004-04-15
10
1,218 Views
Last Modified: 2010-04-20
Good day everyone,
i have this problem that everytime i install my mandrake 9.2 distro, it mounts all my NTFS partitions as read only file systems.  I'm what you might call a "Linux Newbie", is there any way to revert this? so i can write data to NTFS partitions?
I'd really appreciate any help i might get...
0
Comment
Question by:redzkull
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 7

Expert Comment

by:troopern
ID: 10839973
To write to a NTFS partition, you need to have kernel 2.6.x, but it's not recommended to use the WRITE support for NTFS partitions since it can mess with the integrity of files. Usually the permissions get messed up.
But to enable NTFS write support you need to recompile the kernel with write support for it.
After this you will need to change the mount options for your NTFS partitions in /etc/fstab.

Be adviced that enabling write support for NTFS can inflict damage on your already existing files.
0
 
LVL 8

Expert Comment

by:da99rmd
ID: 10839989
I think there is a path that solves this but i read in another questione about this and dont think they solved it so i think you have to live with the read only NTFS. At least untill some one have writen a better driver for NTFS.

By the way why are do you need to write to the NTFS partition?
If you wnat some thing from linux just mount the linux partitions in windows there is programs fore that f.ex. explore2fs.
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm

/Rob
0
 
LVL 6

Accepted Solution

by:
prof666 earned 50 total points
ID: 10840206
Nope you don't have to live with read only NTFS.

Go to:
http://www.jankratochvil.net/project/captive/

download and follow the instructions and you can mount all NTFS as RW under kernel 2.4.XX

I have used this for a long time and never had a problem with it.

Da Proff
0
Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 
LVL 8

Expert Comment

by:da99rmd
ID: 10840233
Oki nice i thought it only worked in 2.6 kernels.

/Rob
0
 
LVL 6

Expert Comment

by:karlwilbur
ID: 10845181
I have used NTFS rw in both 2.4.x and 2.6.x and have not had any problems.  Keep in mind, howewer, that the write capabilities are still somewhat experimental and considered a no no in many cases.  Is is offically recommended _against_ using NTFS write.

"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." (from Linux-NTFS Project Docs link below)

If you are still considering using NTFS write, re-read troopern's post and then read this links:
(From LinuxQuestions.org last month)
http://www.linuxquestions.org/questions/history/158157
(Linux-NTFS Project Docs)
http://linux-ntfs.sourceforge.net/info/ntfs.html#3.1
(Linux-NTFS Project Home)
http://linux-ntfs.sourceforge.net

It is possible to read and write to an NTFS partition without destroying it. Again, I have been doing it myself for over a year now with no problems, but you must understand the risk.  Make sure that you read the documentation available at the Linux-NTFS Project. (The drivers are available there too.).

-Karl
0
 
LVL 6

Expert Comment

by:karlwilbur
ID: 10845201
I want to clarify something.  You can use NTFS write in a 2.4.x kernel.  I have done it without problems.  So you do not "need" a 2.6.x kernel but the NTSF write has been further developed in the 2.6.x kernel.  Even so, you can get the better drivers for 2.4.x as well.
0
 
LVL 1

Expert Comment

by:SciGuy
ID: 10850219
Also, the safest way to write to NTFS is to write to an existing file and to not increase the file's size.
0
 
LVL 1

Author Comment

by:redzkull
ID: 10854042
i want to thank everyone for their support, and specialy prof for the cool link for captive.  i already downloaded it and mounted my partitions with no problem.
i'll keep in mind the high risks that everyone advised.
0
 

Expert Comment

by:cxxxcxxx
ID: 11684773
I've downloaded and run the captive rpm mentioned above onto my system, but now how do I use it?  The instructions on the site are not enough for me.  It says run captive-install-acquire.  I guess I'm just too much of a Linux newbie to understand.  I can't get mine to mount.  Any special instructions I need to follow to make this work?
0
 
LVL 4

Expert Comment

by:Kryztoval
ID: 12935445
captive has some problems, i talked to the developer and admited the problems too, wich of course are too messy to fix (one of the hardest ones being that it generates a VirtualMemory for the full size of the file, even if you are just reading the first byte out of it....) all this needs a flush, so i am still stuck to not using ntfs as a write partition or my whole system will drain down. All of which are really technicallyties and can be ommited, and you should have no trouble if you use it for small files (1MB or so)

however... i even considered converting from ntfs to fat, but since my partition is 160G+ it can't be converted... really stuck here :D

So, good luck, and the captative driver is great, i wish ntfs would had an open standard

Best Regards
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question