How to load NTFS partitions in RHEL5

Source: Internet
Author: User
My computer is equipped with a dual-system. windows uses the NTFS partition format. By default, RHEL5 does not support the NTFS file format. Therefore, you cannot retrieve files stored in the RHEL5 system and under the NTFS partition. Now there is a simple way to implement RHEL5's support for NTFS partitions. First confirm your kernel version [root @ localhost ~] # Uname-r-p2.6.18-8.el5xenathlon 2 go to http://www.linux-ntfs my computer installed with a dual system, windows adopts the NTFS partition format, the default RHEL5 does not support NTFS file format, therefore, you cannot obtain files stored in the NTFS partition in the RHEL5 system. Now there is a simple way to support the NTFS partition in RHEL5.

First, confirm your kernel version
[Root @ localhost ~] # Uname-r-p
2.6.18-8. el5xen athlon

The RPM package corresponding to the kernel under the two de-http://www.linux-ntfs.org
My kernel is 2.6.18-8. el5xen so I download 2.6.18-8. el5 i686-xen

Kernel-module-ntfs-2.6.18-8.el5xen-2.1.27-0.rr.10.11.i686.rpm

Install Rpm
[Root @ localhost Download] # rpm-ivh kernel-module-ntfs-2.6.18-8.el5xen-2.1.27-0.rr.10.11.i686.rpm
Preparing... ######################################## ### [100%]
1: kernel-module-ntfs-2.6. ######################################## ### [100%]

4. Load the ntfs module into the kernel
[Root @ localhost Download] #/sbin/modprobe ntfs

Check whether ntfs is correctly loaded.
[Root @ localhost Download] # dmesg | grep NTFS
NTFS driver 2.1.27 [Flags: R/w module].
NTFS volume version 3.1.

If the following information appears, it should be correctly loaded.

5 Mount
First, check the partition of the original hard disk.

[Root @ localhost Download] # fdisk-l

Disk/dev/hda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Device Boot Start End Blocks Id System
/Dev/hda1*1 2550 20482843 + 7 HPFS/NTFS
/Dev/hda2 2551 30514 224620830 f W95 Ext 'd (LBA)
/Dev/hda5 2551 7649 40957686 7 HPFS/NTFS
/Dev/hda6 7650 20397 102398278 + 7 HPFS/NTFS
/Dev/hda7 20398 20410 104391 83 Linux
/Dev/hda8 20411 30514 81160348 + 8e Linux LVM

/Dev/hda6 partition in Mount windwos

[Root @ localhost Download] # mkdir/media/windows
[Root @ localhost Download] # mount-t ntfs/dev/hda6/media/windows/

Check whether it is mounted.

[Root @ localhost Download] # df-h
Filesystem Size Used Avail Use % Mounted on
/Dev/mapper/VolGroup00-LogVol00
74G 20G 50G 29%/
/Dev/hda7 99 M 12 M 82 M 13%/boot
Tmpfs 710 M 0 710 M 0%/dev/shm
/Dev/hda6 98 GB 29G 70G 29%/media/windows

In this way, you can use files in the NTFS partition format under RHEL5.
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.