LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2010, 04:31 AM   #1
Bassby
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Smile How can I access NTFS in linux?


Hello everyone!
How can I access NTFS in linux?
My distribution is centos 5.5.
Can anyone help me?
Thanks in advance.
 
Old 07-04-2010, 04:45 AM   #2
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Rep: Reputation: 20
I'm not not familiar with centos,but in fedora:
in terminal type fdisk -l [which will list all disks and partitions attached to this computer] you will see s.th like this:
....
...
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/sda2 1276 19456 146038882+ f W95 Ext'd (LBA)
/dev/sda5 1276 2295 8193118+ 7 HPFS/NTFS
/dev/sda6 2296 6757 35840983+ 7 HPFS/NTFS
...
..
where /dev/sda5 is your c drive,/dev/sda6 is your d drive and so
go to /mnt and create folder for each drives you want to mount,create c [for c drive],create d [for d drive] and so
then open /etc/fstab file,and add these lines at the end of the file:
/dev/sda1 /mnt/c ntfs defaults 0 0
/dev/sda5 /mnt/d ntfs defaults 0 0
and if you have more drives than c and d,just add them like above,
at last type mount -a,
and after logging off you can see your nfts partitions on /mnt/
 
Old 07-04-2010, 05:58 AM   #3
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
You may need to install fuse first.

See this Centos how to.
 
Old 07-04-2010, 07:42 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# yum install ntfs-3g

ntfs-3g : The EPEL repo https://fedoraproject.org/wiki/EPEL
https://fedoraproject.org/wiki/EPEL/FAQ#howtouse
..
 
Old 07-04-2010, 09:07 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Many Linux distros have NTFS support "out of the box"------I'm surprised that CentOS does not.
 
Old 07-04-2010, 09:26 AM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
I just checked on one of my Centos systems. ntfs-3g is not installed and we didn't remove anything installed by default, so it must not be installed by default.

Also, ntfs-3g is in the repository "epel". I didn't think anything in epel was installed by default (but I'm not sure). I'm not even sure whether epel is enabled by default (it is enabled on all the Centos systems I use because we install several packages from epel on each such system).
 
Old 07-04-2010, 09:32 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
No other partitions, be it Linux or Windows can be accessed
in Redhat / CentOS, I think, without 1) a line in /etc/fstab.
Example
/dev/sda1 /mnt/sda1 auto noauto,user 0 0

Or 2) A command , something like this
mount /dev/sda1 /mnt/sda1 ntfs

( The directory /mnt/sda1/ is required ).
Files can then be watched in the file manager > /mnt/sda1/
..

P.S. : EPEL is not default, hence the "how to use"
https://fedoraproject.org/wiki/EPEL/FAQ#howtouse
..

Last edited by knudfl; 07-04-2010 at 09:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can access NTFS partition in Linux but not Windows oudent Linux - General 2 12-10-2005 05:22 PM
Linux to NTFS OK just cant access it! thedosser Linux - Networking 2 01-26-2005 05:44 AM
NTFS access Linux partition unixbrain Linux - General 2 12-28-2004 09:57 AM
Cannot Access NTFS partition from linux farrooda Linux - Newbie 13 11-12-2004 10:24 AM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 01:29 AM


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