By default, the ntfs file system is not supported in Linux. View the file systems supported by linux. The Installation tool is required to support NTFS partitioning. [Root @ localhostaudisp] # cat/etc/filesystemsext3ext2nodevprocnodevdevptsiso9660vfathfshfsplus first install the tool ntfs-3g_ntfsprogs-2013.1.13.tgz. [Root @
By default, the ntfs file system is not supported in Linux. View the file systems supported by linux. The Installation tool is required to support NTFS partitioning.
[Root @ localhostaudisp] # cat/etc/filesystems
Ext3
Ext2
Nodev proc
Nodev devpts
Iso9660
Vfat
Hfs
Hfsplus
First install the tool ntfs-3g_ntfsprogs-2013.1.13.tgz.
[Root @ localhost ~] # Ls
Anaconda-ks.cfg Desktop install. log install. log. syslog ntfs-3g_ntfsprogs-2013.1.13.tgz scsrun. log vmware-tools-distrib
Decompress the package to the/data directory.
[Root @ localhost ~] # Tar zxvf ntfs-3g_ntfsprogs-2013.1.13.tgz-C/data/
[Root @ localhost ~] # Ls/data/
Lost + found mytest ntfs-3g_ntfsprogs-2013.1.13
Go to the directory
[Root @ localhost ~] # Cd/data/ntfs-3g_ntfsprogs-2013.1.13/
[Root@localhostntfs-3g_ntfsprogs-2013.1.13] # ls
Aclocal. m4 ChangeLog config. h. in configure. ac credits install libntfs-3g Makefile. am NEWS src
AUTHORS compile config. sub COPYING depcomp install-sh ltmain. sh Makefile. in ntfsprogs TODO. ntfsprogs
Autogen. sh config. guess configure COPYING. LIB include libfuse-lite m4 missing README
Execute configuration compilation and installation.
[Root@localhostntfs-3g_ntfsprogs-2013.1.13] #./configure
[Root@localhostntfs-3g_ntfsprogs-2013.1.13] # make & make install
Create a new partition and change the system type to 7, that is, ntfs.
[Root @ localhost ~] # Fdisk/dev/sdc
Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 2
First cylinder (1218-2610, default 1218 ):
Using default value 1218
Last cylinder or + size or + sizeM or + sizeK (1218-2610, default 2610 ):
Using default value 2610
Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 7
Changed system type of partition 2 to 7 (HPFS/NTFS)
Command (m for help): w
[Root @ localhost ~] # Partprobe
Create a/NTFS directory. Format the/dev/sdc2 partition file system as ntfs.
[Root @ localhost ~] # Mkdir/NTFS
[Root @ localhost ~] # Mkfs. ntfs/dev/sdc2
Cluster size has been automatically set to4096 bytes.
Initializing device with zeroes: 100%-Done.
Creating NTFS volume structures.
Mount/dev/sdc2 to the/NTFS directory.
[Root @ localhost ~] # Ntfs-3g/dev/sdc2/NTFS
[Root @ localhost ~] # Df-h
File System capacity used available % mount point
/Dev/sda3 95G 2.5G 88G 3%/
/Dev/sda2 95G 605 M 90G 1%/data
/Dev/sda1 99 M 12 M 82 M 13%/boot
Tmpfs 500 M 0 500 M 0%/dev/shm
/Dev/sdc2 11G 56 M 11G 1%/NTFS
For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10