LinuxQuestions.org
Review your favorite Linux distribution.
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 08-18-2006, 09:36 PM   #1
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Rep: Reputation: 15
NTFS module is not loading up


Hello all
I seem to be having some great difficulty getting this NTFS module to work. I just built the new kernel (2.6.17.9) and ensured I had the NTFS module loaded. It seems this doesn't attain NTFS access though. OK, so I try the module and download the RPM (Not sure if I got the correct one) and this is what I get:

[root@localhost BOX]# rpm -ihv kernel-module-ntfs-2.6.17-1.2174_FC5-2.1.27-0.rr.10.5.i686.rpm
Preparing... ########################################### [100%]
1:kernel-module-ntfs-2.6.########################################### [100%]
FATAL: Could not rename /lib/modules/2.6.17.9/modules.dep.temp into /lib/modules/2.6.17.9/modules.dep: Permission denied
[root@localhost BOX]# rpm -Uhv kernel-module-ntfs-2.6.17-1.2174_FC5-2.1.27-0.rr.10.5.i686.rpm
Preparing... ########################################### [100%]
package kernel-module-ntfs-2.6.17-1.2174_FC5-2.1.27-0.rr.10.5 is already installed
[root@localhost BOX]# rpm -e kernel-module-ntfs-2.6.17-1.2174_FC5-2.1.27-0.rr.10.5.i686.rpm
error: package kernel-module-ntfs-2.6.17-1.2174_FC5-2.1.27-0.rr.10.5.i686.rpm is not installed
[root@localhost BOX]#

I have never been able to access the C: drive, always get a bad line in fstab where I have the entry to load it up. If someone could point me the right way I would appreciate it. Thanks
 
Old 08-19-2006, 01:28 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,829

Rep: Reputation: 257Reputation: 257Reputation: 257
If you have NTFS support enabled in the kernel as a module you have NTFS support. You have to mount the NTFS drive. The kernel doesn't need the NTFS module to tell you the partition is NTFS, only to mount the partition and make it readable. Here is what the line in /etc/fstab should look like:

/dev/sda3 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

Just change the first part to the proper partition, the second part to the right mount point, and leave everything else. Cd to /usr/src/linux and run depmod. Issue the command:

mount /windows/C

or whatever mount point the NTFS partition uses. Then, cd /windows/C. Then, ls. There should be all the files.
 
Old 08-19-2006, 10:08 PM   #3
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Thank you for the prompt reply. Well my fstab looks like this-
/dev/sda1 /mnt/windows ntfs ro, umask=0222,nls=uf8 0 0
and all I get is a bad line on bootup. A modprobe NTFS yields an unknown module error, Which leads me to believe that the module isnt loaded. Not sure why really, since as I said I selected it in the kernel I recently compiled. Any thoughts ?
 
Old 08-19-2006, 10:26 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
What is your Linux drive? IDE? Just guessing here. You kernel may lack SATA controller support.
 
Old 08-20-2006, 08:55 PM   #5
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Well I dont think it is the sata causing a problem. I gave ntfsmount a try, and it worked once. Tried to reboot to see if the fstab entry worked, and viola, nothing just like before. Well actually I got different errors. I am not sure why this is being so difficult. I shouldn't be having any issues with the kernel module all loaded, but it doesn't seem to be ??
 
  


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
module loading kurrupt Slackware 1 02-28-2005 11:48 AM
module loading supervillan Linux - Newbie 4 10-16-2004 07:07 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-28-2004 12:40 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 04:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 03:27 PM


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