Why are files copied to a USB stick invisible?
I recently crashed my LMDE system, and trying to retrieve something from the disaster, booted up the failsafe OS and copied a number of files onto a USB stick using the 'cp'command.
'ls -alrt /media/dougb' showed that the files were present and correct on the stick. However when I attached the stick to a working LMDE PC there appeared to be nothing on it, whether I looked at the stick in the desktop file manager or by listing in a terminal. I've tried changing the permissions and/or ownership of the files (via the broken OS) without success. Why aren't the files visible? What can I do about it? |
how did you copy those files? Probably you forgot to umount/eject that usb.
|
Does your USB stick have persistence?
My live USB stick doesn't have persistence. So once I shutdown from the live USB, then all my browser preferences, copied files etc are automatically deleted. |
Quote:
|
[SOLVED] Thanks Yancek, that must be the answer. On checking 'ls -alrt' *without* the USB stick plugged in, the list of files comes up anyway.
With the USB plugged in I get no UUID or name, so I suppose the USB has to be mounted. However 'mount -t <some type> /dev/sdb <previously defined dir>' is failing because I'm not able to specify the correct fstype. Any suggestions? |
what kind of filesystem was created on that usb stick?
probably you need to install cifs |
cifs is a network protocol (samba) and not a local filesystem. It is probably vfat.
|
yes, sorry I wanted to say ntfs....
|
I tried '-t vfat' without success.
"FAT-fs: utf8 is not a recommended IO charset.... FAT-fs: bogus number of reserved sectors FAT-fs: can't find a valid FAT filesystem................." |
"NTFS signature is missing"
|
Post the output of the blkid command.
|
"No command 'blkld' found, did you mean
'blkls'..... 'blkld' fom package 'util-linux' blkld: command not found" |
/sbin/blkid that is an i (not l) before the d at the end
you should run it as root |
You can also look at the output of the file command
file -s /dev/sdb1 (replace sdb1 with actual partition ID) ---------- Post added 01-07-15 at 07:35 AM ---------- You can also look at the output of the file command file -s /dev/sdb1 (replace sdb1 with actual partition ID) |
Quote:
|
All times are GMT -5. The time now is 03:31 AM. |