Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Writing to NTFS is still experimental. Don't do it if there's anything you can't afford to lose.
To mount an ntfs partition as read only:
Code:
mount -t ntfs -o ro /dev/hda1 /mnt/ntfs_partition
You'll need to change what's in red to match your specific device, and where you want to mount the drive at.
NOTE: You will need NTFS filesystem support in your kernel (either built-in or as a module) to mount an NTFS partition. Otherwise, you will receive an error message "filesystem NTFS is not supported". You'll have to recompile your kernel to add it in if you don't have it. There is plenty of documentation available about recompiling a kernel if you don't have it, and your situation requires access to that data.
Last edited by Dark_Helmet; 01-27-2005 at 01:52 AM.
Originally posted by raynet thx
But is it safe to write?
It's best to avoid it if at all possible. If you're just transferring data from Linux to Windows, the best thing to do is to create a FAT32 partition that both windows and Linux can read/write to
As others have mentioned, writing under NTFS is strictly experimental: Use at your own risk. Sharing a common FAT32 partition is a simple and proven approach to allow you to transfer a given file between systems.
Regardless, keep in mind that while OS-neutral file types will be usable under both systems (eg, .html files, .txt files, .jpg, etc), OS-specific file types won't be usable under the "other" OS (eg, an .exe file won't run under Linux, and a .tgz or .rpm file won't be recognized by Windows). Additionally, Windows has no concept of *Nix file permissions, which may or may not be a factor. -- J.W.
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383
Rep:
I personally haven't run into any permission errors I have downloaded exe in linux and then run them in windows. I made mp3 in both windows and linux and no problems there. But also I don't have anything I need to lock down or worry about.
Originally posted by raynet thx
But is it safe to write?
Captive is safe for NTFS writing because it uses the NTFS files from Windows itself (sort of a WINE-style emulation type of thing.) Read the Captive FAQ.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.