LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2008, 12:56 PM   #1
sree45jith
LQ Newbie
 
Registered: Oct 2008
Location: New Delhi
Posts: 3

Rep: Reputation: 0
Unhappy To read ntfs partions


Hi..
i m using Rhel5 in my system with Win-Xp(dual boot), now i want my Rhel5 to read ntfs partion also..so which rpm should i install and wat 2 do after installing it..plz provid solution...
 
Old 11-05-2008, 01:18 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,699

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by sree45jith View Post
Hi..
i m using Rhel5 in my system with Win-Xp(dual boot), now i want my Rhel5 to read ntfs partion also..so which rpm should i install and wat 2 do after installing it..plz provid solution...
Should be automatically detected and mounted...have you looked?

Otherwise, specify the mount command with the -t option, for the ntfs file type. "man mount" will show you the command.
 
Old 11-05-2008, 02:38 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
you probably need to install ntfs-3G

http://www.ntfs-3g.org/


mount -t ntfs-3g /dev/sda1 /mnt/windows
 
Old 11-05-2008, 03:29 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,699

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by farslayer View Post
you probably need to install ntfs-3G

http://www.ntfs-3g.org/

mount -t ntfs-3g /dev/sda1 /mnt/windows
I thought that was installed by default these days? My last RHEL5 server was able to mount a Windows partition right off the bat.....but I did auto-update things, so perhaps it was shoveled down then....
 
Old 11-05-2008, 06:21 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I couldn't say if it is, or is not installed by default..
I try to never assume something is there, but rather point to what to look for, and let the user check if it's present or not.
 
Old 11-06-2008, 03:08 AM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Both responses are correct yet incomplete.
Since the OP mentioned needing to read the ntfs partition (not write to it), the first response is more accurate.
If you do not see an access point in the directory tree such as /win or /mnt/win or something, then you'll need to make a directory to access the ntfs partition, make sure it's not mounted and mount it. First check with fdisk to see the name of the partition as such:
Code:
#fdisk -l
#mkdir /win
#umount /dev/xxx
#mount -t ntfs /dev/xxx /win
Replace xxx with the proper device name.
If you do decide to install ntfs-3g for read/write access, you should be able to install it with yum instead of the tarball from ntfs-3g.org. Then go through the same steps as before except replace ntfs with ntfs-3g in the mount command.
The mount command will have to be re-done upon every boot. If you want it to be mounted automatically upon every re-boot you'll have to put a line in /etc/fstab like so:
Code:
/dev/xxx     /win     ntfs     defaults     0     0
Or like so for ntfs-3g:
Code:
/dev/xxx     /win     ntfs-3g     defaults     0     0

Last edited by Junior Hacker; 11-06-2008 at 03:15 AM.
 
  


Reply

Tags
ntfs



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
Urgent: Failing NTFS HD - Will ddrescue Read & Write To Windows NTFS Drives? zipgunner Linux - Newbie 15 03-08-2011 06:29 AM
Problems mounting NTFS windows partions in openSUSE 10 drastikat Linux - General 5 03-09-2006 06:56 PM
NTFS Read Only? boxxa SUSE / openSUSE 10 10-24-2005 02:21 AM
Read/write to windows partions from RH9 scm86 Linux - Newbie 0 01-05-2004 04:42 PM
Can't find all my NTFS partions on 9.1 John Fante Mandriva 5 08-27-2003 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:19 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
Open Source Consulting | Domain Registration