Article Title: Practical Tips: Mount NTFS partitions under the CentOS5.1 system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. uname-r: view the current Linux kernel version.
[Root @ localhost Desktop] # uname-r
2.6.18-53.1.19.el5
2. Go to the linux-ntfs.org/"> http://www.linux-ntfs.org/download ntfspatch that is the same as the internal kernel.
3. Install patches: kernel-module-ntfs-2.6.18-53.1.19.el5-2.1.27-0.rr.10.11.i686.rpm
[Root @ localhost Desktop] # rpm-Uv kernel-module-ntfs-2.6.18-53.1.14.el5-2.1.27-0.rr.10.11.i686.rpm
Preparing packages for installation ......
Package kernel-module-ntfs-2.6.18-53.1.14.el5-2.1.27-0.rr.10.11 is already installed
4. Use fdisk-l to view the partition information of the hard disk.
5. Create a folder named mkdir/mnt/x in the mnt folder, which corresponds to the partition in windows (x is the file folder name)
For example, mkdir/mnt/c corresponds to drive c.
Mkdir/mnt/d corresponds to disk d
Mkdir/mnt/e corresponds to the edisk
6. mount-t ntfs/dev/xxx/mnt/x mount each partition in windows to the new folder (xxx is the Partition Number of the hard disk)
For example:
[Root @ localhost Desktop] # mount-t ntfs/dev/sda7/mnt/F
[Root @ localhost Desktop] # mount-t ntfs/dev/sda6/mnt/E