How to solve the garbled display of USB flash drives in linux

Source: Internet
Author: User
Solution to the garbled problem displayed on the USB flash drive in linux-general Linux technology-Linux technology and application information. For details, refer to the following section. What is the problem? I have not studied it carefully. It should be because the default encoding is not utf8 during automatic mounting.

So we need to manually mount it to utf8

Main steps: first plug in the USB flash drive and the system will automatically mount it. Now right-click to unmount it. If there is no automatic mount, it will be better. This will not be used.

Run the fdisk-l command to view the directory where your USB flash drive is located.

Usually/dev/sdb

Now mount the usb flash drive to a directory. Whatever directory is required, I will mount it to the/mnt/usb directory (new directory is required if this directory is not available)

Command: mount/dev/sdb1/mnt/usb-o iocharset = utf8

Note that sdb1 is used instead of sdb. I am not very clear about the reason.

The USB flash disk is mounted. The icon will appear on the desktop.

Open it and check that the text in. is displayed normally.
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.