Linux flash drive File read-only solution

Source: Internet
Author: User

1run the following command at the terminal tail-F/var/log/syslog2insert a USB flash drive with read-only file system failure3. Observe the command-line output in the following part: Jul8  -: -: -CSLOUIS-PC kernel: [15595.155904] Fat:filesystem error (Dev sdb4) Jul8  -: -: -CSLOUIS-PC kernel: [15595.155905] Fat_get_cluster:invalid cluster Chain (i_pos0you can see from the above that the file system mounted on the USB stick is/dev/SDB4, and the file system is faulty (fat:filesystem error)4. Enter the following command: Umount/media/ZCF (ZCF is your USB name, can be viewed in the media directory with LS)5. Fix the USB drive file system failure sudo dosfsck-v-a/dev/SDB4 after 5 steps above, the U disk can resume reading and writing function. 

Linux flash drive File read-only solution

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.