I am running Linux Ubuntu 16.04 LTS (kernel: 4.4.0-38 generic), and I am unable to modify any content on my USB stick. What happens is that I receive an error message, telling me it's a "Read-only file system". I tried to change the permissions through
Permissions, but it doesn't allow me to: still the same error message.
I've already looked for information from the other threads on the forum, and especially the advice given by @user284234 / @antivirtel took me one step further. However, this is the point where I need a bit different kind of help.
So, I was adviced to run the following commands in
sudo su df -Th dosfsck /dev/sda1
/dev/sda1 is my USB stick; checked and confirmed! Anyway, this is where I get confused. After the very third command, I am asked five sequential questions. First:
fsck.fat 3.0.28 (2015-05-16) 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. 1) Remove dirty bit 2) No action
There are differences between boot sector and its backup. This is mostly harmless. Differences: (offset:original/backup) 65:01/00 1) Copy original to backup 2) Copy backup to original 3) No action
FSINFO sector has bad magic number(s): Offset 0: 0x00000000 != expected 0x41615252 Offset 484: 0x00000000 != expected 0x61417272 Offset 510: 0x0000 != expected 0xaa55 1) Correct 2) Don't correct (FSINFO invalid then)
FATs differ but appear to be intact. Use which FAT ? 1) Use first FAT 2) Use second FAT
So far, I chose to do nothing on every question (well, Use first FAT on the question number four). After that in the fifth phase, the terminal produces 48 lines similar to this:
Cluster 1542915 out of range (134217728 > 1962495). Setting to EOF.
Right after the previous messages, it also enlists twelve specific files on my USB stick. I've given two examples below to cover the both cases given by the
terminal: lines 1-2 refer to a folder name, lines 3-
/example folder/example sub-folder one/ Contains a free cluster (45643). Assuming EOF. /example folder/example sub-folder two/presentation.ppt File size is 1488896 bytes, cluster chain length is 229376 bytes. Truncating file to 229376 bytes.
After going through all the files (1 folder and 11 files), am I finally asked the following (including my answer):
Reclaimed 957 unused clusters (3919872 bytes). Perform changes ? (y/n) n /dev/sda1: 323 files, 42936/1962494 clusters
I hope this helps to understand my problem. The thing is that I really need those files on my USB stick, and I am afraid to take any actions that might accidentally harm them / destroy them.
Thanks a lot for your help in advance guys! There's no way I am going back to Windows although I am a newbie!