UbuntuThe file system read-only problem occurs on the next USB flash drive. The symptom is that you cannot delete the existing files on the USB drive and cannot copy the new files to the USB drive. But I don't know what the reason is. Today is determined to solve the problem. Workaround:1. Run the following command on the Ubuntu terminaltail-f/var/log/syslog 2. Insert a USB flash drive with read-only file system failure3. Watch the command line outputThe output is localized as follows:Jul 8 16:44:50 cslouis-pc kernel: [15595.155904] Fat:filesystem error (Dev sdb4)Jul 8 16:44:50 cslouis-pc kernel: [15595.155905] fat_get_cluster:invalid cluster chain (i_pos 0)from the above can be seen on the USB stick mounted file system 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. Repair USB Drive File system failuresudo dosfsck-v-a/dev/sdb4after 5 steps above, the USB stick can resume reading and writing function.
Solve the problem of U-Disk read-only file system under Ubuntu