Mount a mobile hard drive in NTFS format in Linux)

Source: Internet
Author: User

When a linux system Red Hat Enterprise5.7 is used to mount a Seagate ntfs mobile hard drive, an ERROR prompt box is displayed: the volume 'eaget-nqh' user the ntfs file system which is not supported by your system. here, 'eaget-nqh' is the name of my mobile hard drive.

Find information found that linux supports ntfs format partitions need to install ntfs-3g plug-in, download and install it,

What is NTFS-3G

NTFS-3G is an open source software that supports reading and writing NTFS format partitions in Linux, FreeBSD, Mac OS X, NetBSD, and Haiku operating systems. It can quickly and securely operate Windows XP, Windows Server 2003, Windows 2000, and Windows Vista file systems, except for full file ownership and access permissions, it supports all POSIX-compliant disk operations.

NTFS-3G is designed to provide trusted, functional, high-performance solutions for hardware platforms and operating systems that require reliable interconnectivity with NTFS.

Install ntfs-3g as follows:
1. Compile and install the fuse module (supported libraries. skip this step if the editing environment has been configured)
Download fuse-2.7.0.tar.gz copy to linux

 

# Tar-zxvf fuse-2.7.0.tar.gz

# Cd fuse-2.7.0

#./Configure

# Make

# Make install

# Lsmod

# Modprobe fuse

 

2. Install ntfs-3g Software
Download ntfs-3g copy to linux

: Http://www.tuxera.com/community/ntfs-3g-download/ current latest: ntfs-3g_ntfsprogs-2012.1.15

# Tar-zxvf ntfs-3g_ntfsprogs-2012.1.15.gz

# Cd ntfs-3g_ntfsprogs-2012.1.15

#./Configure

# Make

# Make install

 

After installation, you can enable RedHat to support the NTFS file system.
# Mkn // after you enter mkn and press the tab key twice, you will find that the mknfs command is supported
Mknod mkntfs

 

Iii. Mount


# Fdisk-l (view the mounting partitions in linux and find the mobile hard disk partition)

Disk/dev/sdg: 11982.1 GB, 11982198865920 bytes

255 heads, 63 sectors/track, 1456752 cylinders

Units = cylinders of 16065*512 = 8225280 bytes

 

Disk/dev/sdg doesn't contain a valid partition table

 

Disk/dev/sdh: 11982.1 GB, 11982198865920 bytes

255 heads, 63 sectors/track, 1456752 cylinders

Units = cylinders of 16065*512 = 8225280 bytes

 

Disk/dev/sdh doesn' t contain a valid partition table

 

Disk/dev/sdi: 1000.2 GB, 1000204883968 bytes

255 heads, 63 sectors/track, 121601 cylinders

Units = cylinders of 16065*512 = 8225280 bytes

 

Device Boot Start End Blocks Id System

/Dev/sdi1*1 121601 976760001 7 HPFS/NTFS

# Mkdir backup creates a load point or mounts it to an existing folder. I use/media

# Mount-t ntfs-3g/dev/sdi1/media

Note:-t ntfs-3g parameters should be used for Disk Partitions In ntfs format, and-t vfat parameters should be used for disk partitions in fat32 format. If the Chinese character file name is garbled or not displayed, you can use the following command format.

# Mount-t ntfs-3g-o iocharset = cp936/dev/sdi1/media

 

You can view the mounting status.

# Df-lh

 

/Dev/cciss/c0d0p2 30G 571 M 28G 3%/

/Dev/cciss/c0d0p7 74G 1.4G 69G 3%/home

/Dev/cciss/c0d0p6 3.0G 228 M 2.6G 9%/var

/Dev/cciss/c0d0p3 20G 3.5G 15G 19%/usr

/Dev/cciss/c0d0p1 97 M 16 M 76 M 18%/boot

Tmpfs 1.9G 0 1.9G 0%/dev/shm

/Dev/sda 9.9 T 165 M 9.4 T 1%/home/book/upload/BookFile1

/Dev/sdb 9.9 T 165 M 9.4 T 1%/home/book/upload/BookFile2

/Dev/sdd 9.9 T 165 M 9.4 T 1%/home/book/upload/BookFile3

/Dev/sde 9.0 T 973G 7.6 T 12%/backup

/Dev/sdi1 932G 444G 488G 48%/media

Now that the mounting is complete, you can do your work. I will share with you how to mount a mobile hard disk in RedHat linux. I hope my work or study will be helpful ......

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.