Linux - SoftwareThis 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.
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.
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
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
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.
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.
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,...)
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,...)
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 ")
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 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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.