Mount NTFS/FAT32 partitions in centos 5.3 Linux

Source: Internet
Author: User

If the FAT32 partition is mounted, you can directly jump to Step 1 to mount the partition.

1. view the release version
[Root @ zhuliting ~] # Cat/etc/RedHat-release
Centos release 5.3 (final)
2. view the kernel version and processor:
[Root @ zhuliting ~] # Uname-r-p
2.6.18-128. EL5 i686

3. Download RPM packages suitable for Kernel versions and processors
Kernel-module-ntfs-2.6.18-8.el5-2.1.27-0.rr.10.11.i686.rpm
This is a website that provides RPM packages. Each Red Hat Enterprise kernel supports ntfs rpm packages.
Http://rpm.pbone.net search for "kernel-module-NTFS" and find the version you need

4. Installation
[Root @ zhuliting ~] # Rpm-ihv kernel-module-ntfs-2.6.18-128.el5-2.1.27-0.rr.10.11.i686.rpm
5. Run/sbin/modprobe NTFS to load the kernel module
[Root @ zhuliting desktop] #/sbin/modprobe NTFS
Fatal: module NTFS not found.
If an error occurs, the NTFS module cannot be found. Okay, manually load it.
6. Manually load the module. [You must load the module once every time you start the system.]
[Root @ zhuliting desktop] # Find/-name NTFS. Ko
/Lib/modules/2.6.18-8. EL5/kernel/fs/NTFS. Ko
[Root @ zhuliting ~] # Insmod/lib/modules/2.6.18-8. EL5/kernel/fs/NTFS. Ko
[Root @ zhuliting ~] # Lsmod | grep NTFS
NTFS 189588 0 # Here we can see that the NTFS module has been loaded
[Root @ zhuliting ~] # Dmesg | grep NTFS
NTFS Driver 2.1.27 [flags: R/W module].
NTFS Volume version 3.1.
7. Mount partitions
[Root @ zhuliting ~] # Fdisk-l

Disk/dev/SDA: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 Cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Device boot start end blocks ID system
/Dev/sda1*1 3832 30775296 7 HPFs/NTFS
/Dev/sda2 3832 16580 102400000 7 HPFs/NTFS
/Dev/sda3 16580 29328 102400000 7 HPFs/NTFS
/Dev/sda4 29328 38914 76993536 F w95 ext 'd (LBA)
/Dev/sda5 29329 33432 32960512 7 HPFs/NTFS
/Dev/sda6 33433 33444 96358 + 83 Linux
/Dev/sda7 33445 33571 1020096 82 Linux swap/Solaris
/Dev/sda8 33572 38913 42909583 + 83 Linux
[Root @ zhuliting ~] # Mount/dev/sda5/mnt
Mount/dev/sda5 to the/mnt folder without adding parameters./dev/sda5 is a partition in my windows system.
8. Modify the/etc/fstab file to enable automatic partitioning.
9. Uninstall the NTFS module. We recommend that you do not perform this step ......
[Root @ zhuliting ~] # Rpm-Qa | grep-I NTFS
[Root @ zhuliting ~] # Rpm e kernel-module-ntfs-2.6.18-8.el5-2.1.27-0.rr.10.11.i686

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.