How to install centos to support NTFS partitions [how to mount NTFS partitions in Linux]

Source: Internet
Author: User
Tags dmesg

From http://www.pcjqw.com/show.aspx? Id = 4845 & cid = 26

Install centos NTFS support

Install centos NTFS support
1. view the kernel version of your system
# Uname-

# Uname-R

2. Find the NTFS Module Suitable for your system kernel and CPU. Download:
For example, my: kernel-module-ntfs-2.6.18-53.el5

Google search, find and download.
I'm in http://sourceforge.net/project/showfiles.php? Group_id = 13956 found on the page
Http://jaist.dl.sourceforge.net/... 0. rr.10.11.i686. rpm

3. Install
Run the rpm-ihv kernel-module-ntfs-2.6.18-53.el5-2.1.27-0.rr.10.11.i686.rpm to install this RPM package.
Run/sbin/modprobe NTFS to load the kernel module.
Run dmesg | grep NTFS to view the NTFS Driver version. Display
[Root @ localhost SRC] # dmesg | grep NTFS
NTFS Driver 2.1.27 [flags: R/W module].
Run CAT/proc/filesystems and you can see that NTFS file systems are supported.
Appears
Nodev autofs
NTFS
NTFS is supported!

4. Mount partitions
(1). fdisk-l view partition information
Disk/dev/hda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 Cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Device boot start end blocks ID system
/Dev/hda1*1 1912 15358108 + 7 HPFs/NTFS
/Dev/hda2 1913 9725 62757922 + F w95 ext 'd (LBA)
/Dev/hda5 1913 4462 20482843 + B w95 FAT32
/Dev/hda6 4463 7012 20482843 + 7 HPFs/NTFS
/Dev/hda7 7013 7025 104391 83 Linux
/Dev/hda8 7026 9725 21687718 + 8e Linux LVM

(2) create a mount directory
Mkdir/mnt/C
Mkdir/mnt/d
Mkdir/mnt/E

(3) All partitions under Mount windwos
NTFS Mount-t ntfs/dev/hda6/mnt/C
Mount-T vfat/dev/hda5/mnt/d for vfat

Run DF-h to check whether the file is mounted.

(4). set to enable automatic mounting of partitions
Modify/etc/fstab
Add the following information:
/Dev/hda1/mnt/c ntfs umask = 000, NLS = utf8
/Dev/hda5/mnt/d vfat umask = 000, NLS = utf8
/Dev/hda6/mnt/e NTFS umask = 000, NLS = utf8
Restart and try again!

5. Uninstall the NTFS Module
Rpm-Qa | grep-I NTFS view installed version
Rpm e kernel-module-ntfs-2.6.18-53.el5-2.1.27-0.rr.10.11.i686
You can uninstall it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.