Hard Disk mounting under centos

Source: Internet
Author: User

Different Versions of Linux systems have different hard drive mounting methods. If you use the traditional hard disk mounting command, the "NTFS" "FAT32" error cannot be solved"

If this problem is not supported, you need to check whether the NTFS active FAT32 in your Linux kernel is consistent with the version of the Linux system. Hard Disk Under centos4.3

The method for re-mounting is as follows:

1. First, run rpm-Qa | grep NTFS to check whether the NTFS kernel is installed. If the NTFS kernel has been installed, the version information is displayed. Otherwise, the version is not installed.


2. If NTFS does not match the Linux kernel, You need to download the latest NTFS patch to fix it and install it. The specific method is as follows:


[Root @ localhost ~] # Yum install ntfs-3g

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

Setting up install process

Resolving Dependencies

--> Running transaction check

---> Package fuse-ntfs-3g.i386. 4.4-2. el5.rf set to be updated

--> Processing dependency: fuse> = 2.6.3 for package: fuse-ntfs-3g

--> Running transaction check

---> Package fuse. i386. 7.4-8. EL5 set to be updated

--> Finished dependency resolution

Dependencies resolved

========================================================== ==========================================================

Package arch version repository size

========================================================== ==========================================================

Installing:

Fuse-ntfs-3g i386 2009.4.4-2. el5.rf Dag 385 K

Installing for dependencies:

Fuse i386 2.7.4-8. EL5 163-com-base 83 K

Transaction Summary

========================================================== ==========================================================

Install 2 package (s)

Update 0 package (s)

Remove 0 package (s)

Total download size: 468 K

Is this OK [Y/n]: Y

Downloading packages:

(1/2): fuse-2.7.4-8.el5.i386.rpm | 83 KB

(2/2): fuse-ntfs-3g-2009.4.4-2.el5.rf.i386.rpm | 385 KB

--------------------------------------------------------------------------------

Total 22 kb/s | 468 KB

Running rpm_check_debug

Running transaction Test

Finished transaction Test

Transaction test succeeded

Running transaction

Installing: fuse 1/2

Installing: fuse-ntfs-3g 2/2

Installed:

Fuse-ntfs-3g.i386. 4.4-2. el5.rf

Dependency installed:

Fuse. i386. 7.4-8. EL5

Complete!


3. Use fsdisk-L to view the detailed information of the hard disk to be attached.

[Root @ localhost ~] # Fdisk-l

Disk/dev/SDA: 158.7 GB, 158717154816 bytes

255 heads, 63 sectors/track, 19296 Cylinders

Units = cylinders of 16065*512 = 8225280 bytes

Device boot start end blocks ID system

/Dev/sda1*1 2612 20980858 + 7 HPFs/NTFS

/Dev/sda2 2613 19295 134006197 + F w95 ext 'd (LBA)

/Dev/sda5 2613 7839 41985846 7 HPFs/NTFS

/Dev/sda6 7840 13066 41985846 7 HPFs/NTFS

/Dev/sda7 13067 18021 39801006 B w95 FAT32

/Dev/sda8 18022 18046 200781 B w95 FAT32

/Dev/sda9 18047 19165 8988336 83 Linux

/Dev/sda10 19166 19295 1044193 + 82 Linux swap/Solaris

4. Create a mount point through mkdir/mnt/XX to view the mounted Hard Disk

[Root @ localhost ~] # Mkdir/mnt/myhdc5

Mount the corresponding hard disk with Mount-T ntfs-3g/dev/sdax/mnt/E

[Root @ localhost ~] # Mount-TNtfs-3g

/Dev/sda5/mnt/E

[Root @ localhost ~] #

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.