LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2010, 12:42 AM   #1
sandysingharoy
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
Lightbulb how to mount NTFS partition in RHEL5


I have Redhat Enterprise linux 5 and Windows 7 installed in my PC. I want to mount NTFS partition from linux. please help me by giving instructions. thanks.
sandip singha roy.
 
Old 04-04-2010, 12:53 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,924

Rep: Reputation: 278Reputation: 278Reputation: 278
sudo mkdir /windows
sudo modprobe ntfs
sudo mount /dev/sdnx /windows -t ntfs
# where n is the disk device and x is the partition (i.e. /dev/sda1 is the first disk and first partition.

The ntfs partition should then be mounted at /windows
 
Old 04-04-2010, 02:52 AM   #3
rajdeepbhattacharya
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 1
To mount any NTFS either local or remote partitions on a linux box simply follow the steps given below :-

cd /usr/local/src/
wget http://sourceforge.net/projects/linu...ar.gz/download
tar -xvf ntfsprogs-2.0.0.tar.gz
chown root.root -R ntfsprogs-2.0.0
cd ntfsprogs-2.0.0
./configure
make && make install

Apart from these method there is also ntfs-3g package which comes with redhat/centos/fedora distribution package and can be installed with the yum package manager . Simply run the following command from any linux terminal :-

yum install ntfs-3g ntfs-3g-devel

To mount any ntfs partition simple run the command :-


mount -t ntfs </path/to/windows/partition/> /mnt (If using ntfsprogs)

OR

mount -t ntfs-3g </path/to/windows/partition/> /mnt (If using ntfs-3g)

To make the entry permanent edit the /etc/fstab file and add the following line :-

</path/to/windows/partition/> /mnt ntfs defaults 0 0 # (If using ntfsprogs)

OR

</path/to/windows/partition/> /mnt ntfs-3g defaults 0 0 # (If using ntfs-3g)

Here the value "</path/to/windows/partition/>" is any path to your windows partition or folder .

Now a days linux os like suse comes pre-installed with ntfs support .

Last edited by rajdeepbhattacharya; 04-04-2010 at 05:50 AM.
 
Old 04-06-2010, 01:15 AM   #4
sandysingharoy
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Question

I have download file from this site and have done these steps..........
http://sourceforge.net/projects/linu...ar.gz/download
tar -xvf ntfsprogs-2.0.0.tar.gz
chown root.root -R ntfsprogs-2.0.0
cd ntfsprogs-2.0.0
./configure
make && make install


Still I have failed to mount ntfs pertition with this command ........
mount -t ntfs /dev/hda1 /mnt

The error is .................
mount: unknown filesystem type 'ntfs'

Now what should I do ?
I am using RHEL5.4 and kernel is 2.6.18-164.el5
 
  


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
ntfs will not mount on RHEL5 disorderly Red Hat 2 05-13-2009 01:26 PM
How can I mount NTFS partition in RHEL5 youssef.salah Linux - Newbie 3 07-28-2008 05:34 PM
mount ntfs with RHEL5 tester^_^ Linux - Newbie 2 06-30-2008 04:08 AM
Mount NTFS in RHEL5 maddy2405 Linux - Newbie 13 11-30-2007 01:45 AM
mount ntfs into rhel5 soumalya Linux - Server 1 11-13-2007 07:42 AM


All times are GMT -5. The time now is 03:32 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