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