Home  >  Article  >  System Tutorial  >  How to solve the problem of "module fuse not found" when mounting ntfs disk under Linux system?

How to solve the problem of "module fuse not found" when mounting ntfs disk under Linux system?

王林
王林forward
2023-12-31 15:17:35882browse

1. First confirm the Linux system kernel

[root@localhost~]# uname -r -p 2.6.18-194.el5 i686

2. Go to http://sourceforge.net/projects/linux-ntfs/files/ to download the rpm package corresponding to the kernel

If you can't find the exact same one, you can find the closest one. I couldn't find the exact same one. What I downloaded is:

kernel-module-ntfs-2.6.18-128.1.1.el5-2.1.27-0.rr.10.11.i686.rpm

3. Install rpm package

rpm -ivh kernel-module-ntfs-2.6.18-128.1.1.el5-2.1.27-0.rr.10.11.i686.rpm

4. Install module

Use find / -name ntfs to find the installation directory of the ntfs module/lib/modules/2.6.18-128.1.1.el5/kernel/fs/ntfs, enter the directory, and execute insmod ntfs.ko.

5. Check whether the ntfs module is loaded correctly

[root@localhost~]# dmesg|grep NTFS NTFS driver 2.1.27 [Flags: R/W MODULE].

Until now, ntfs reading is supported, but ntfs writing is not supported. You need to install ntfs-3g

6. Download ntfs-3g

http://ntfs-3g.org/ntfs-3g-2009.4.4.tgz

./configure

make

make install

7. Let’s first check the partitions of the original hard disk

[root@localhost~]# fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 8 64228 de Dell Utility /dev/sda2 * 9 6535 52428127 7 HPFS/NTFS /dev/sda3 6536 38913 260076285 f W95 Ext'd (LBA) /dev/sda5 6536 13062 52428096 7 HPFS/NT FS/ dev/sda6 13063 35039 176530221 7 HPFS/NTFS /dev/sda7 35040 35052 104391 83 Linux /dev/sda8 35053 38913 31013451 8e Linux LVM

8.Mount the hard disk

mkdir /media/disk_d

mount /dev/sda5 /media/disk_d -t ntfs-3g

After success, go visit and have a look.

9. Automatically load when booting up

Write a mounting script first:

First write the mounting script

#cd /home

#vim mount

enter:

#!/bin/bash

mount /dev/sda5 /media/disk_d -t ntfs-3g

Save the file and modify permissions:

#chmod u x mount

Add the following line in /etc/rc.d/rc.local:

sh ./home/mount

It will be automatically mounted next time you turn on the computer.

The above is the detailed content of How to solve the problem of "module fuse not found" when mounting ntfs disk under Linux system?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete