LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-23-2008, 09:38 AM   #1
sundoe
LQ Newbie
 
Registered: Jan 2008
Distribution: centos 5.1
Posts: 5

Rep: Reputation: 0
unable to mount ntfs partitions


I am unable to mount ntfs partitions on my hd.I found this wiki article and followed it: http://wiki.centos.org/TipsAndTricks/NTFSPartitions) but in the end its not working. I am giving the output of the things i think are important. Please tell me what the problem is. I will post any more outputs that are required if you can tell me the commands to run.

Machine has centos5.1 installed, pentium 4 processor.

$ mount -t ntfs /dev/hda1 /mnt/video
mount: unknown filesystem type 'ntfs'
$ mount -t ntfs-3g /dev/hda6 /mnt/video
FATAL: Module fuse not found.
fuse: device not found, try 'modprobe fuse' first

$ rpm -qa | grep rpmforge
rpmforge-release-0.3.6-1.el5.rf
$ rpm - qa | grep fuse
fuse-ntfs-3g-1.1120-1.el5.rf
fuse-2.7.0-2.el5.rf
dkms-fuse-2.7.0-1.nodist.rf

$ uname -r
2.6.18-53.el5
$ rpm - qa | grep kernel-devel
kernel-devel-2.6.18-53.1.4.el5

All i can see is that kernel and kernel-devel versions are different (as in http://bugs.centos.org/view.php?id=2376)
I have not done any changes to the kernel, infact all i have done on the machine is something like "yum install fuse fuse-ntfs-3g dkms dkms-fuse"

Thanks
 
Old 01-24-2008, 05:10 AM   #2
JivanAmara
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 1
Quote:
Originally Posted by sunflight View Post
FATAL: Module fuse not found.
fuse: device not found, try 'modprobe fuse' first
Did you try this?
Is fuse listed in your lsmod output?
 
Old 01-26-2008, 04:19 AM   #3
sundoe
LQ Newbie
 
Registered: Jan 2008
Distribution: centos 5.1
Posts: 5

Original Poster
Rep: Reputation: 0
Solved NTFS mount problems on centOS

It turns out the incompatibility of the kernel with the devel package was the issue.
I think that when I installed the packages with "yum install fuse fuse-ntfs-3g dkms dkms-fuse" the devel pkg was automatically upgraded to the next version while the kernel was left as it is.
So the solution was updating the kernel.
yum list available kernel\*
yum install kernel-2.6.18-53.1.4.el5

So any other newbies facing NTFS mount problems on centOS
First follow the steps on this page: http://wiki.centos.org/TipsAndTricks/NTFSPartitions
Then check versions of your kernel and devel package with
$ uname -r and $ rpm - qa | grep kernel-devel
If they differ upgrade as required.
Upgrading the kernel is a one line command listed above.
Then you can choose to boot with the new kernel at boot time, grub shows two options of linux - named with the kernel version.

Anyways, thanks for answering JivanAmara
 
Old 01-26-2008, 05:06 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If you use fuse, also install the ntfs-3g package if it isn't installed. Instead of using the "ntfs" filesystem, use the "ntfs-3g" filesystem.

It is also possible that you had ntfs supported by the kernel but you just needed to modprobe the "ntfs" kernel module. Also, you need to run your mount command as root, so precede the command with "sudo":
sudo mount -t ntfs-3g /dev/hda6 /mnt/video
or
sudo mount -t ntfs /dev/hda6 /mnt/video

Also, read the mount manpage. You want to either use "uid=" so that you are the owner of the partition, or use the fmask & dmask options to give you permissions as the "other" user.

for example:
sudo mount -t ntfs-3g /dev/hda6 /mnt/video -o rw,uid=<yourusername>,fmask=117,dmask=007
or
sudo mount -t ntfs /dev/hda6 /mnt/video -o rw,fmask=111,dmask=000
 
  


Reply

Tags
mount, ntfs


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
How to mount NTFS partitions of Windows in FC6 ajeya Linux - Newbie 5 02-05-2008 03:14 PM
[SOLVED] I want to mount ntfs partitions after booting Kubuntu phazon Linux - Laptop and Netbook 13 06-14-2007 01:14 AM
How to properly mount NTFS partitions please help!!! Roni_G Ubuntu 11 06-06-2007 04:15 PM
how t mount my ntfs partitions ??? BReal Fedora 5 04-19-2005 02:42 PM
mount NTFS partitions heinrich Linux - Software 3 08-11-2003 03:27 PM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration