root@localhost ~]# mount -t ntfs-3g /dev/hda5 /mnt/windows
FATAL:Module fuse not found. fuse: device not found, try 'modprobe fuse' first
[root@localhost ~]# modprobe fuse
FATAL: Module fuse not found.
先查看系统的内核版本:
[root@localhost ~]# uname -r
2.6.18-92.el5 该内核不支持
因为系统默认的内核并不支持FUSE模块,所以说要更新内核。
可以用yum install kernel* 方式来更新。
如果你要节约点时间的话可以只更新以下的几个包:
kernel-devel
kernel
kernel-headers
更新后的内核版本是:
[root@localhost ~]# uname -r2.6.18-274.11.1.el5最新版支持2.6.18-164.11.1.el5.centos.plus重启后进入系统,在系统菜单那选择新的内核(2.6.18-164.11.1.el5.centos.plus)启动,重新安装FUSE和NTFS-3G,之后一切正常。
如果想要开机启动时挂载WIN分区,可以修改/etc/fstab文件。
总结:
原因就是CentOS 5.2这一个版本的内核在默认情况下不支持NTFS挂载;
解决:网上说可以通过修改内核进行对NTFS的支持,对于小菜来说并不现实,只有更新,一个yum install kernel*多好,,,完了之后重启,选择新的内核版本进去重新编译FUSE和NTFS-3G,,注意先安装FUSE。
NTFS-3G is a stable, full-featured, read-write NTFS driver for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems. It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 NTFS file systems. A high-performance alternative, called Tuxera NTFS is available for embedded devices and Mac OS X.
The release notes and the software changes can be found on the Release History page. Subscribe here for new release notifications.
The latest stable version is ntfs-3g_ntfsprogs-2011.4.12, released on April 10, 2011.
The latest test version is ntfs-3g_ntfsprogs-2011.10.9-RC, released on October 9, 2011.
Availability:
Linux: Most distributions include and use NTFS-3G by default. Please use that one unless it’s an old version. If you wish to install NTFS-3G from the source code then make sure you have installed the basic development tools (gcc compiler, libc-dev libraries). Then type:
./configure
make
make install # or 'sudo make install' if you aren't root
Non-Linux: Please see the OS specific installation and source packages above.
If there was no error during installation then the NTFS volume can be mounted in read-write mode for everybody as follows. Unmount the volume if it had already been mounted, replace /dev/sda1 and /mnt/windows, if needed.
mount -t ntfs-3g /dev/sda1 /mnt/windows
Please see the NTFS-3G Manual for more options and examples.
You can also make NTFS to be mounted during boot by adding the following line to the end of the /etc/fstab file:
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0