Can I mount an ntfs partition or read one using linux?
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.
Can I mount an ntfs partition or read one using linux?
I was wondering if I can mount my windows ntfs partition with linux; and if there is no way then is there a program that can read ntfs partitions using linux? any responce is appreciated.
Yeah, Linux has support for reading NTFS built into the kernel. Just type (IIRC)
mount -t ntfs /dev/hda1 /mnt/mountpoint
where /dev/hda1 is the device node (first drive is hda, second is hdb, first partition on hda would be hda1, second hda2, etc) and /mnt/mountpoint is the folder where you want to mount the filesystem.
Your fstab file may already have an entry for it. To find out, type this.
grep /etc/fstab ntfs
It'll say what device it is, and it's mountpoint. If it's already there, it'll probably automatically be mounted on boot (if it says noauto, then it won't). Just CD to the directory of the mountpoint, if it's already mounted.
If it isn't mounted, then you can type mount (mountpoint) and you should be fine (eg: mount /mnt/ntfs-d is from mine)
If you still need help, feel free to ask.
*edit* also, you may need root permissions to mount the file system.
Last edited by SocialEngineer; 11-19-2004 at 12:54 PM.
hi there... I've got red-hat 9 and as I input the "mount -t ntfs /dev/hda1 /mnt/mountpoint" code the system replies that mount: fs type ntfs not supported by the kernel....
so waht know... do i need to recompile the kernel...
is there any patch to solve this problem?...
i'm still new to linux.. but very eager to learn more and more and be independent from other non-open source Operative systems...
It appears RH9 doesn't have support built in for NTFS, and you'll have to recompile the kernel for it.
Do some googling for guides on recompiling the kernel for your distro, and if yah can't find one let me know. I've gotta go get ready for a performance
thanks for the help. I did need to grab an rpm off the internet to mount it thou, from this site: http://linux-ntfs.sourceforge.net/rpm/fedora2.html
and I was wondering if (using this rpm) can I write to the partition with out screwing up the file system?
Thanks again
r^2
Not without something else, such as Captive. It requires a windows DLL, but supposedly it works pretty well. I'd be a little iffy about using it myself, but if it works, go for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.