LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-28-2011, 05:46 AM   #1
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Rep: Reputation: 25
Help with mounting NTFS Drive on CentOS 5.6 x64


I am trying to mount my NTFS partitions on CentOS 5.6 x64 but getting an error message.

I have followed the instructions provided here.
http://wiki.centos.org/TipsAndTricks/NTFS

But I am getting an error message while mounting filesystem.

[root@localhost Administrator]# mount /mnt/win
mount: unknown filesystem type 'ntfs-3g'
 
Old 09-28-2011, 07:52 AM   #2
ieth0
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
just need to run
Code:
yum install fuse-ntfs-3g -y
then mount your volume
 
Old 09-28-2011, 10:20 AM   #3
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
I think I have already installed that package but here is the output when I ran it again.

[root@localhost Administrator]# yum install fuse-ntfs-3g -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
Setting up Install Process
No package fuse-ntfs-3g available.
Nothing to do
[root@localhost Administrator]#
 
Old 09-28-2011, 05:31 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
you are using a bit of the wrong commands
a few questions
1) do you want this AUTO mounted at boot
or
2) ONLY mounted sometimes when YOU MANUALLY mount it

for auto mount , but REQUIRING the root password to access it (a good idea )
add a line to the fstab file
1) make a folder /mnt/windows
2) add line to file fstab
Code:
/dev/sd??  /mnt/indows       ntfs-3g         defaults        1 0
and replace the two ?? with the partition you get from
Code:
su -
fdisk -l
for the MANUAL mount do the above but put a # infront of the line and run
Code:
mount /dev/sd??
replace the two ??

or
the use the FULL command
Code:
su -
mount  -t ntfs-3g /dev/sd?? /mnt/windows
again replace the two ?? with the partition.


-- edited ---
also the wrong install command
you ALSO must have the rpmforge repo INSTALLED
-- to quote the help page --
Quote:
Make sure you have the rpmforge repo installed. If not, refer to Repositories.
Repositories is a link -- click on it .

Last edited by John VV; 09-28-2011 at 05:34 PM.
 
1 members found this post helpful.
Old 09-29-2011, 02:21 AM   #5
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
I always had this question.

How can I now which files in /dev are my windows partitions ?

There are so many of them.

sda - sda10

and I only have 5 Windows partitions.
 
Old 09-29-2011, 02:25 AM   #6
snooly
Member
 
Registered: Sep 2011
Posts: 124

Rep: Reputation: Disabled
Quote:
Originally Posted by coolsg5636 View Post
I always had this question.

How can I now which files in /dev are my windows partitions ?

There are so many of them.

sda - sda10

and I only have 5 Windows partitions.
Use the command "fdisk -l /dev/sda". Windows partitions are marked in the system column as HPFS/NTFS or FAT32 or FAT16 or W95 FAT32 or things like that. Lines marked Linux or Linux Swap clearly aren't Windows partitions.
 
1 members found this post helpful.
Old 09-29-2011, 03:22 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
If you do not know what your partition set up is ,then you have a very big problem .

one way is to mount them and have a look

some studying is in order
a bit old but useful
http://tldp.org/HOWTO/Partition/
http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
http://tldp.org/HOWTO/Partition/partition-types.html
 
1 members found this post helpful.
  


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
problem mounting NTFS partition on CentOS. avee137 Linux - Newbie 1 05-15-2010 04:37 PM
problem mounting ntfs partition on centos mia_tech Linux - General 4 08-05-2009 07:01 PM
mounting a NTFS drive.. tamere SUSE / openSUSE 4 07-16-2009 02:33 AM
Bug: mounting ntfs in CentOS 5 using ntfs-3g brianmcgee Linux - Enterprise 4 12-27-2007 10:55 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM


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