Need help. USB flash stick not being able to be read!
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
When you plug it into your machine, does it show up in your kernel log?
As when the kernel detects it, there should be some messages that appear in the kernel log straight after you plug it in.
To check, type the following into a terminal window:
Code:
dmesg
If it does, see if it still shows the partition on it:
Code:
fdisk -l
or
Code:
parted -l
If so, do a file system check on it:
Code:
fsck -C /dev/sdX
Replace "sdX" with the actual drive letter. Make sure you UN-MOUNT the USB BEFORE running the above command on it.
If you can manually mount it, if you have to, then you should be able to access via a terminal, or file manager. These were files kept on a OS live with persistence, right? Meaning, You didn’t burn tails on after the fact, if you did then everything that was on it was destroyed.
so you're booting a live OS OFF USB STICK, another USB Stick is the one you want to get into, did you look at your dmesg in a terminal after you plugged in the USB Stick you want to get into to see if it pick up any activity on any of your USB Ports?
some systems need it to be ran in root privs. 'sudo dmesg | tail'
also run the other commands as root, sudo blkid some times it picks up more.
Yes, tails is a live OS. so its usually ran from a cd or usb stick. I have 2 USB sticks im currently in use of. a 128gb stick which is the one that has gone bad. and a 64gb stick.
The 128GB stick is what I initially ran tails OS from until it went bad then I set up the 64gb stick to run tails from.
I have purchased another 128gb stick so if theres any way to copy any pertinent info some how that may get the old broken 128gb stick to mount so i can get the info off that would be wonderful.
I recently set up the new 128gb stick for tails and the usb port and it was writing to sda which Im guessing is the port that I will use from now on for the broken 128gb stick just in case this info can be useful
if it is broken then it is broken, as in no longer accessible. you can open gparted after you plug it in and see if it picks it up then see what it says about it and if it can do any thing with it. but if it quit working, I'd say you're at a loss, gParted might be able to make it useable again, but I am afraid you may have lost everything that was on it.
I am not an expert on that, but I know every time I get a hard drive that loess it’s partition table. It’s crap and use gParted to see if I can re-establish a new one. Losing everything that was on it in the process.
You should start searching for ways to recover partition tables to see if you can. This is why I back up my important files so I’ll have more than one copy of them.
I wish you the best, it’s late here, if I come up with something more, I’ll post it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.