Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NTFS Support for RHEL4

Status
Not open for further replies.

stevenriz

IS-IT--Management
May 21, 2001
1,069
Hi I am trying to mount a windows based usb drive in my rhel system. I added ntfs support...

[root@server1 rpms]# rpm -ivh kernel-module-ntfs-2.6.9-34.ELsmp-2.1.20-0.rr.10.10.i686.rpm
Preparing... ########################################### [100%]
1:kernel-module-ntfs-2.6.########################################### [100%]
[root@server1 rpms]#

It is definately there...

[root@server1 media]# rpm -qa | grep ntfs
kernel-module-ntfs-2.6.9-34.ELsmp-2.1.20-0.rr.10.10
[root@server1 media]#

Tried to mount it and I still get this message...

[root@stevenrizvm1 media]# mount /dev/sda1 /media/New_Volume -t ntfs -o ro
mount: fs type ntfs not supported by kernel
[root@stevenrizvm1 media]#

Is there some other module(s) I need to be able to do this?

Thanks!!
Steve
 
You may need to either "lsmod [modulename]", "modprobe [modulename]" or just reboot. I forget how .RPM kernel modules are treated, but I infer that your's is not yet loaded into mem for service.

D.E.R. Management - IT Project Management Consulting
 
Hey stevenriz,
Are you sure the USB has ntfs on it? They default to FAT.

I have had good results with ntfs-3g:

But with what you have try this:

modprobe ntfs
dmesg | grep -i ntfs (you should see the module name and version)
mount -t ntfs -o ro /dev/sda /your/mount_point

Good luck
DrD
 
Hi thanks for the help. Yes it is definately NTFS.

I will try your other suggestions but the modprobe returned nothing...

[root@server1 ~]# modprobe ntfs
FATAL: Module ntfs not found.
[root@server1 ~]#
 
Hey Stevenriz,

Are you able to try ntfs-3g? Or are you in a tight environment?

Good luck
DrD
 
I loaded ntfs3g without an issue... but still am unable to mount that usb drive

[root@server1 ~]# rpm -qa | grep ntfs
kernel-module-ntfs-2.6.9-34.ELsmp-2.1.20-0.rr.10.10
ntfs-3g-devel-1.417-1.EL4
ntfs-3g-1.417-1.EL4
[root@server1 ~]#
 
I got it working and was able to mount the ntfs usb drive... I went to re-download the RPM from here and noticed they had specific versions mapped to specific releases of your kernel. I downloaded the correct one, installed it and did a modprobe ntfs and away I went... Everything looks good now!!!

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top