How to perfectly mount Windows partitions in Linux

Source: Internet
Author: User
Article Title: How to perfectly mount Windows partitions in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

In Linux, the mount command can load Windows partitions in the FAT32 partition format. But how can I automatically load partitions when the system starts? How can we solve annoying Chinese problems? How can I solve the problem that normal users (non-root users) need to read and write Windows partition content freely?

After the system starts, run the following command to mount windows partitions:

Mount-t vfat-o iocharset = gb2312/dev/hda5/mnt/d

Mount-t vfat-o iocharset = gb2312/dev/hda6/mnt/e

Mount-t vfat-o iocharset = gb2312/dev/hda7/mnt/f

However, when the Linux system is started, partitions cannot be dynamically mounted, and the Chinese characters in the partitions are not displayed normally. Common users can only read but cannot write or execute partitions, which is inconvenient.

After multiple tests, the following code is added to the/etc/fstab file to solve all the above problems, which is very convenient for use:

/Dev/hda5/mnt/d vfat ults, user, iocharset = gb2312, umask = 000 0 0

/Dev/hda6/mnt/e vfat defaults, user, iocharset = gb2312, umask = 000 0 0

/Dev/hda7/mnt/f vfat defaults, user, iocharset = gb2312, umask = 000 0 0

If the above encoding does not work, try-o iocharset = utf8

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.