Mounting methods for disk partitions and removable hard disks under Linux

Source: Internet
Author: User
Tags linux

My Computer 80G hard drive Windows pulls a primary partition two extended partitions, all of which are NT-formatted partitions. The rest of the whole to the Linux pull, I have a mobile hard drive 80g of their own two districts, a FAT32, an NTFS (60g mainly put the film Ha I love to see) as well as a 2g u disk and a number of small u disk is basically FAT32.

First I input yum install in Linux terminal ntfs-3g3

Then modify the/etc/fstab and add

label=//ext3 Defaults 1 1

Devpts/dev/pts devpts gid=5,mode=620 0 0

TMPFS/DEV/SHM TMPFS Defaults 0 0

PROC/PROC proc Defaults 0 0

Sysfs/sys Sysfs Defaults 0 0

LABEL=SWAP-HDA4 Swap Defaults 0 0

/DEV/HDA1/MNT/HDA1 NTFS Umask=000,nls=utf8

/dev/hda5/mnt/hda5 NTFS Umask=000,nls=utf8

/dev/hda6/mnt/hda6 NTFS Umask=000,nls=utf8

/dev/sda2/mnt/y NTFS Umask=000,nls=utf8

You might see me. The first three are the first three NTFS partitions on the system hard disk, and the last one is the second NTFS partition on my mobile hard disk

This will allow my system to automatically mount the native hard disk and the NTFS partition of the hard drive and display Chinese normal when booting

But I didn't do that at first.

label=//ext3 Defaults 1 1

Devpts/dev/pts devpts gid=5,mode=620 0 0

TMPFS/DEV/SHM TMPFS Defaults 0 0

PROC/PROC proc Defaults 0 0

Sysfs/sys Sysfs Defaults 0 0

LABEL=SWAP-HDA4 Swap Defaults 0 0

/DEV/HDA1/MNT/HDA1 NTFS Umask=000,nls=utf8

/dev/hda5/mnt/hda5 NTFS Umask=000,nls=utf8

/dev/hda6/mnt/hda6 NTFS Umask=000,nls=utf8

So there is a problem pull, first move the first FAT32 partition on the hard disk can be read and write, while the second NTFS partition can only be manually mounted and can not display the Chinese name directory after the mount, but hda1, Hda2, Hda3 can display the Chinese name directory normal. Puzzled by the solution.

And then I

label=//ext3 Defaults 1 1

Devpts/dev/pts devpts gid=5,mode=620 0 0

TMPFS/DEV/SHM TMPFS Defaults 0 0

PROC/PROC proc Defaults 0 0

Sysfs/sys Sysfs Defaults 0 0

LABEL=SWAP-HDA4 Swap Defaults 0 0

/DEV/HDA1/MNT/HDA1 NTFS Umask=000,nls=utf8

/dev/hda5/mnt/hda5 NTFS Umask=000,nls=utf8

/dev/hda6/mnt/hda6 NTFS Umask=000,nls=utf8

/dev/sda1/mnt/x VFAT Umask=000,nls=utf8

/dev/sda2/mnt/y NTFS Umask=000,nls=utf8

This is good. NTFS partition normal pull, FAT32 partition but hint error, no way can only use my first way to pull

Have a good friend to learn to explain (I guess maybe I set the FAT32 partition automatic mount and system automatic mount conflict)

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.