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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-22-2009, 04:25 PM
|
#1
|
LQ Newbie
Registered: Mar 2009
Location: Wisconsin
Distribution: CentOS
Posts: 10
Rep:
|
Unable to get ntfs-3g working on CentOS 5.2
I have a machine running CentOS 5.2, no GUI, and one of the thing I'm trying to do is have it mount a USB HDD so that I can access the files across my whole network using Samba. I have samba working fine, and I can access mounted filesystems with no trouble from my other machines. The problem I have is that I can't mount NTFS filesystems. The drive has to be NTFS because some of the files I keep on it are larger than 4 gigs (knoppix liveDVD anyone?).
Using this page and those that it links to as guides, I have installed the priorities plugin, and that seems to be working fine. I then installed the rpmforge repository, which also seems to be working. I then attempt to install ntfs-3g with the line "yum install fuse fuse-ntfs-3g dkms dkms-fuse". This is what I get:
Quote:
[root@centos52 ~]# yum install fuse fuse-ntfs-3g dkms dkms-fuse
Loading "priorities" plugin
342 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package fuse.i386 0:2.7.4-1.el5.rf set to be updated
---> Package dkms-fuse.noarch 0:2.7.4-1.nodist.rf set to be updated
--> Processing Dependency: gcc for package: dkms-fuse
---> Package fuse-ntfs-3g.i386 0:2009.2.1-1.el5.rf set to be updated
---> Package dkms.noarch 0:2.0.20.4-1.el5.rf set to be updated
--> Processing Dependency: kernel-devel for package: dkms
--> Running transaction check
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp.so.1 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
---> Package kernel-devel.i686 0:2.6.18-92.1.22.el5 set to be installed
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-headers = 2.5-24.el5_2.2 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc = 2.5-24.el5_2.2 for package: glibc-devel
---> Package cpp.i386 0:4.1.2-42.el5 set to be updated
---> Package libgomp.i386 0:4.1.2-42.el5 set to be updated
--> Running transaction check
---> Package glibc-headers.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
---> Package glibc.i686 0:2.5-24.el5_2.2 set to be updated
--> Running transaction check
---> Package kernel-headers.i386 0:2.6.18-92.1.22.el5 set to be updated
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
---> Package glibc.i686 0:2.5-24.el5_2.2 set to be updated
--> Running transaction check
---> Package kernel-headers.i386 0:2.6.18-92.1.22.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
dkms-fuse noarch 2.7.4-1.nodist.rf rpmforge 70 k
fuse-ntfs-3g i386 2009.2.1-1.el5.rf rpmforge 388 k
Updating:
glibc i686 2.5-24.el5_2.2 updates 5.2 M
Installing for dependencies:
cpp i386 4.1.2-42.el5 base 2.7 M
dkms noarch 2.0.20.4-1.el5.rf rpmforge 61 k
fuse i386 2.7.4-1.el5.rf rpmforge 249 k
gcc i386 4.1.2-42.el5 base 5.2 M
glibc-devel i386 2.5-24.el5_2.2 updates 2.0 M
glibc-headers i386 2.5-24.el5_2.2 updates 611 k
kernel-devel i686 2.6.18-92.1.22.el5 updates 4.8 M
kernel-headers i386 2.6.18-92.1.22.el5 updates 854 k
libgomp i386 4.1.2-42.el5 base 82 k
Transaction Summary
================================================== ===========================
Install 11 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 22 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): dkms-2.0.20.4-1.el 100% |=========================| 61 kB 00:01
(2/3): kernel-devel-2.6.1 100% |=========================| 4.8 MB 00:57
(3/3): dkms-fuse-2.7.4-1. 100% |=========================| 70 kB 00:00
Running rpm_check_debug
Running Transaction Test
Killed
[root@centos52 ~]#
|
Sorry about the wall of text there, I like to be thorough :P.
Any help greatly appreciated.
|
|
|
03-22-2009, 04:52 PM
|
#2
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep: 
|
rebuild rpm database
install ntfs-3g then the fuse versions
but you can use xfs on the hard disk for large files
|
|
|
03-22-2009, 07:54 PM
|
#3
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,702
|
you might want to uninstall the "priorities"plugin it causes nothing BUT TROUBLE
and is meant to try to keep the nix newbe ( and MS windows illiterate / first time nix user) from killing the os
or use the --noplugins option in yum
|
|
|
03-22-2009, 11:24 PM
|
#4
|
LQ Newbie
Registered: Mar 2009
Location: Wisconsin
Distribution: CentOS
Posts: 10
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
you might want to uninstall the "priorities"plugin it causes nothing BUT TROUBLE
and is meant to try to keep the nix newbe ( and MS windows illiterate / first time nix user) from killing the os
or use the --noplugins option in yum
|
Well I'm far from MS illiterate but I am still something of a Nixn00b. Once I get home tomorrow I'll try the suggestions here and see what I can figure out.
Last edited by Nightfighter89; 03-24-2009 at 03:28 PM.
|
|
|
03-23-2009, 02:20 AM
|
#5
|
Member
Registered: Mar 2009
Posts: 36
Rep:
|
nightfighter, please dont think im discouraging you.... dont waste your time....
I run the same version of centos/vista.
I had no luck in reading vista using ntfs-3g...... I got fed up and left it.
I spent nearly two days trying every piece of workaround available, i did not take support here, but i tried googling.... If you could crack it please post step by step as to how you did it, cos many guys like me would love to hear if it was possible.
|
|
|
03-23-2009, 12:14 PM
|
#6
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,702
|
ntfs-3g should be able to read the win drive .My centos5.2 can
i mount it in fstab
here is my line ( reading from fedora - for cent)
Code:
su -
mkdir /mnt/windows
and add this to /etc/fstab ( last line and add one extra line - empty below that )
Code:
/dev/hda1 /mnt/windows ntfs-3g rw,umask=000,defaults 0 0
and the win drive is the first drive ( hda1)
question-- is that drive internal or a usb
what dose ( - Lower case L " l" )
that say the drive is
|
|
|
03-24-2009, 06:34 PM
|
#7
|
LQ Newbie
Registered: Mar 2009
Location: Wisconsin
Distribution: CentOS
Posts: 10
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
what dose ( - Lower case L " l" )
that say the drive is
|
Said it's HPFS/NTFS.
I tried rebuilding the repositories, still doesn't work. Working through some of the other suggestions.
|
|
|
03-24-2009, 06:40 PM
|
#8
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,702
|
Nightfighter89 is the drive internal or an external drive
Is it on a raid setup ? if it is on a "software raid" then it is ran by the MS windows OS
and what partition is the win drive ( hda1, hda2,hdb1 , hdb2, hdc1,...)
|
|
|
03-24-2009, 06:50 PM
|
#9
|
LQ Newbie
Registered: Mar 2009
Location: Wisconsin
Distribution: CentOS
Posts: 10
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
Nightfighter89 is the drive internal or an external drive
Is it on a raid setup ? if it is on a "software raid" then it is ran by the MS windows OS
and what partition is the win drive ( hda1, hda2,hdb1 , hdb2, hdc1,...)
|
External USB. No type of raid. sda1.
|
|
|
03-25-2009, 11:02 AM
|
#10
|
LQ Newbie
Registered: Mar 2009
Location: Wisconsin
Distribution: CentOS
Posts: 10
Original Poster
Rep:
|
Removed priorities and tried amani's suggestion. No luck there.
|
|
|
03-25-2009, 11:53 PM
|
#11
|
Member
Registered: Mar 2009
Posts: 36
Rep:
|
Quote:
Originally Posted by Nightfighter89
Removed priorities and tried amani's suggestion. No luck there.
|
I still doubt whether there is a bug with centos kernel and fuse..... Im still confused....
|
|
|
03-26-2009, 12:13 AM
|
#12
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,702
|
if "fdisk -l" is seeing the windows drive as ( sda1 )then it will mount
then adding this to /etc/fstab should work
after making the folder /mnt/windows ( as root " mkdir /mnt/windows ")
Code:
/dev/sda1 /mnt/windows ntfs-3g rw,umask=000,defaults 0 0
do you have the " autofs " service running for run level 3,4,and 5 .
it autofs installed ?
( yum install autofs )
|
|
|
03-26-2009, 09:33 AM
|
#13
|
LQ Newbie
Registered: Mar 2009
Posts: 20
Rep:
|
Hi,
I'm having the same issue. Followed all the steps. Here is my history so far:
Quote:
root@host [~]# uname -a
Linux host.localhost 2.6.18-92.el5PAE #1 SMP Tue Jun 10 19:22:41 EDT 2008 i686 i686 i386 GNU/Linux
I am not able to mount external NTFS drives read/write or read only.
I have tried this with rpmforge repo installed:
http://wiki.centos.org/TipsAndTricks/NTFS
yum install fuse fuse-ntfs-3g dkms dkms-fuse
yum install kernel-PAE-devel
root@host [~]# mount -t ntfs-3g /dev/sdb1 /mnt/ntfs
FATAL: Module fuse not found.
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
root@host [~]# /sbin/modprobe fuse
FATAL: Module fuse not found.
I have also tried to install this:
rpm -ivh kernel-module-ntfs-2.6.18-92.el5-2.1.27-0.rr.10.11.i686.rpm
root@host [~]# /sbin/modprobe ntfs
FATAL: Module ntfs not found.
root@host [~]# cat /proc/filesystems
does NOT show the NTFS files system
I've also tried to install ntfsprogs-2.0.0.tar.gz. No luck.
Since I was thinking it could be fuse installation issue, even though the YUM install went fine without errors, I thought I'd try to manually install fuse. That has its own challenges and may be revealing a deeper issue:
root@host [~/fuse-2.7.4]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
...
... skipping stuff here.
...
=== configuring in kernel (/root/fuse-2.7.4/kernel)
configure: running /bin/sh ./configure '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking if FUSE is loaded as a module... no
checking if FUSE module is built into the kernel... no
checking if FUSE module is from official kernel... no
checking kernel source directory... Not found
configure: error:
*** Please specify the location of the kernel source with
*** the '--with-kernel=SRCDIR' option
configure: error: ./configure failed for kernel
Then I tried:
root@host [~/fuse-2.7.4]# ./configure --with-kernel=SRCDIR
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
...
... skipping stuff here.
...
=== configuring in kernel (/root/fuse-2.7.4/kernel)
configure: running /bin/sh ./configure '--prefix=/usr/local' '--with-kernel=SRCDIR' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking kernel source directory... SRCDIR
checking kernel build directory... SRCDIR
checking kernel source version... Not found
configure: error:
*** Cannot determine the version of the linux kernel source. Please
*** prepare the kernel before running this script
configure: error: ./configure failed for kernel
I google hunted and found this:
http://www.linuxquestions.org/questi...1/#post3003929
I tried copying the kernel headers to the to fuse kernel folder, but that did not help. Same errors.
|
I've tried googling for hours. Any suggestions would be great. I've tried removing all the stuff I added and restarted the install without any better results. I've rebooted to several times to make sure kernel changes took effect. Thank you for any suggestions.
Thanks,
Mike
|
|
|
03-26-2009, 11:51 AM
|
#14
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,702
|
mbrando : from what you posted it looks like you DID NOT REBOOT after installing ntfs-g3 .
That IS REQUIRED .
also in the future DO NOT install a program you build ( from source) on top of something that is already installed from a *.rpm THAT WILL CAUSE YOU NOTHING BUT TROUBLE and might even prevent you from booting the computer.
lets see if you did indeed mess things up badly
can you post the output of these commands
so i can see what is installed
Code:
rpm -qa | grep ntfs
------------
rpm -qa | grep kernel
------------
rpm -qa | grep fuse
|
|
|
03-26-2009, 12:26 PM
|
#15
|
LQ Newbie
Registered: Mar 2009
Posts: 20
Rep:
|
Quote:
Originally Posted by John VV
mbrando : from what you posted it looks like you DID NOT REBOOT after installing ntfs-g3 .
That IS REQUIRED .
also in the future DO NOT install a program you build ( from source) on top of something that is already installed from a *.rpm THAT WILL CAUSE YOU NOTHING BUT TROUBLE and might even prevent you from booting the computer.
lets see if you did indeed mess things up badly
can you post the output of these commands
so i can see what is installed
Code:
rpm -qa | grep ntfs
------------
rpm -qa | grep kernel
------------
rpm -qa | grep fuse
|
Hi John,
Thank you. Point taken. I did reboot after. Here is my output:
Quote:
root@host [~]# rpm -qa | grep ntfs
fuse-ntfs-3g-2009.2.1-1.el5.rf
kernel-module-ntfs-2.6.18-92.el5-2.1.27-0.rr.10.11
root@host [~]# rpm -qa | grep kernel
kernel-devel-2.6.18-92.1.22.el5
kernel-headers-2.6.18-92.1.22.el5
kernel-PAE-2.6.18-92.1.22.el5
kernel-PAE-devel-2.6.18-92.1.22.el5
kernel-module-ntfs-2.6.18-92.el5-2.1.27-0.rr.10.11
kernel-PAE-2.6.18-92.el5
root@host [~]# rpm -qa | grep fuse
fuse-2.7.4-1.el5.rf
fuse-ntfs-3g-2009.2.1-1.el5.rf
dkms-fuse-2.7.4-1.nodist.rf
root@host [~]#
|
Sincerely,
Mike
|
|
|
All times are GMT -5. The time now is 08:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|