AS4挂载NTFS文件系统

简介:

AS4内核版本2.6.9-55.ELsmp,将kernel-devel  kernel kernel-headers这个几个包更新了一下,版本为2.6.9-89.33.1.EL 

一、下载软件包:

1、 Linux kernels 2.6.14以后的版本才包含FUSE模块,这里手工编译安装FUSE,我选择的fuse-2.7.0

#wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.7.0/fuse-2.7.0.tar.gz?r=http://sourceforge.net/projects/fuse/files/fuse-2.X/2.7.0/&ts=1315986269&use_mirror=cdnetworks-kr-2

2、NTFS-3G

#wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2011.4.12.tgz

二、安装软件包 

1、安装fuser
    #tar zxvf fuse-2.7.0.tar.gz
    #cd fuse-2.7.0
    #./configure

#make
    #make install

#modprobe fuse

如果编译时报错:

*** Please specify the location of the kernel source with
*** the '--with-kernel=SRCDIR' option
configure: error: ./configure failed for kernel

请安装与内核版本一致的kernel-devel包即可解决。

2、安装ntfs-3g

#tar zxvf ntfs-3g_ntfsprogs-2011.4.12.tgz

#cd ntfs-3g_ntfsprogs-2011.4.12

#./configure

#make

#make install

三、挂载NTFS文件系统

 #mount -t ntfs-3g /dev/sda1 /mnt/windows

四、开机自动挂载NTFS文件系统

编辑文件fstab#vim /etc/fstab,

加入如下内容

/dev/sda1 /mnt/windows ntfs-3g defaults 0 0



本文转自pandazhai 51CTO博客,原文链接:http://blog.51cto.com/dreamway/1045611

相关文章
|
4月前
|
Linux
mount 挂载 NTFS 格式U盘
【1月更文挑战第4天】
571 1
|
11月前
|
存储 负载均衡 算法
p2p的文件系统
p2p的文件系统
117 4
|
9天前
|
Linux
挂载文件系统
文章详细介绍了Linux系统中使用mount命令挂载文件系统的方法和技巧,包括临时挂载、配置文件挂载、使用loop设备、挂载移动介质以及迁移"/home"目录到新分区的案例。
22 1
挂载文件系统
|
4月前
|
存储 算法 IDE
磁盘管理,文件系统,挂载
磁盘管理,文件系统,挂载
|
10月前
|
存储 数据可视化 Linux
文件系统-
文件系统-
59 0
|
存储 缓存 算法
文件系统(上)
文件系统(上)
167 0
|
存储 缓存 算法
文件系统(下)
文件系统(下)
162 0
|
存储 Linux Windows
【文件系统】
【文件系统】
90 0
|
存储 Unix Linux
|
存储 Linux 内存技术
文件系统
文件系统
123 0