LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 06-24-2018, 02:13 AM   #1
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Rep: Reputation: Disabled
Need help. USB flash stick not being able to be read!


nothings worked

Last edited by LinuxNoob18; 07-03-2018 at 03:49 AM.
 
Old 06-24-2018, 02:20 AM   #2
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
nothings worked

Last edited by LinuxNoob18; 07-03-2018 at 03:49 AM.
 
Old 06-24-2018, 07:02 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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.
 
Old 06-24-2018, 09:00 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.
 
Old 06-24-2018, 02:09 PM   #5
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
nothings worked

Last edited by LinuxNoob18; 07-03-2018 at 03:50 AM.
 
Old 06-24-2018, 04:00 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
remember which one is which, do both, to figure it out.

Code:
blkid
lsblk
might help you in determining which one is which.
 
Old 06-24-2018, 05:11 PM   #7
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
nothings worked

Last edited by LinuxNoob18; 07-03-2018 at 03:50 AM.
 
Old 06-24-2018, 07:33 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.

Last edited by BW-userx; 06-24-2018 at 07:40 PM.
 
Old 06-24-2018, 08:13 PM   #9
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
nothings worked

Last edited by LinuxNoob18; 07-03-2018 at 03:50 AM.
 
Old 06-24-2018, 09:23 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by LinuxNoob18 View Post
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.
 
Old 06-24-2018, 10:23 PM   #11
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
nothings worked

Last edited by LinuxNoob18; 07-03-2018 at 03:50 AM.
 
Old 06-24-2018, 10:30 PM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.
 
Old 06-24-2018, 10:32 PM   #13
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
nothings worked

Last edited by LinuxNoob18; 07-03-2018 at 03:50 AM.
 
Old 06-25-2018, 03:19 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by LinuxNoob18 View Post
I just ran
Code:
sudo dmesg | tail
from root terminal and here is what it returned. the problem is, I have absolutely no idea as to what Im looking for.

Code:
root@amnesia:~# sudo dmesg | tail
[  729.970693] Dropped outbound packet: IN= OUT=wlan0 SRC=fe80:0000:0000:0000:963c:3dfe:b59f:54b1 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=617261 PROTO=UDP SPT=8612 DPT=8610 LEN=24 UID=109 GID=117 
[  730.754887] Dropped outbound packet: IN= OUT=wlan0 SRC=10.0.0.7 DST=255.255.255.255 LEN=43 TOS=0x00 PREC=0x00 TTL=64 ID=8446 DF PROTO=UDP SPT=54470 DPT=3289 LEN=23 UID=109 GID=117 
[  731.004248] Dropped outbound packet: IN= OUT=wlan0 SRC=fe80:0000:0000:0000:963c:3dfe:b59f:54b1 DST=ff02:0000:0000:0000:0000:0000:0000:0002 LEN=48 TC=0 HOPLIMIT=255 FLOWLBL=409208 PROTO=ICMPv6 TYPE=133 CODE=0 UID=0 GID=0 
[  731.775463] Dropped outbound packet: IN= OUT=wlan0 SRC=10.0.0.7 DST=255.255.255.255 LEN=65 TOS=0x00 PREC=0x00 TTL=64 ID=8676 DF PROTO=UDP SPT=37669 DPT=1124 LEN=45 UID=109 GID=117 
[  731.816044] usb 2-1.1: reset high-speed USB device number 5 using ehci-pci
[  733.268079] usb 2-1.1: reset high-speed USB device number 5 using ehci-pci
[  734.716129] usb 2-1.1: reset high-speed USB device number 5 using ehci-pci
[  735.003057] Dropped outbound packet: IN= OUT=wlan0 SRC=fe80:0000:0000:0000:963c:3dfe:b59f:54b1 DST=ff02:0000:0000:0000:0000:0000:0000:0002 LEN=48 TC=0 HOPLIMIT=255 FLOWLBL=409208 PROTO=ICMPv6 TYPE=133 CODE=0 UID=0 GID=0 
[  736.164133] usb 2-1.1: reset high-speed USB device number 5 using ehci-pci
[  739.002210] Dropped outbound packet: IN= OUT=wlan0 SRC=fe80:0000:0000:0000:963c:3dfe:b59f:54b1 DST=ff02:0000:0000:0000:0000:0000:0000:0002 LEN=48 TC=0 HOPLIMIT=255 FLOWLBL=409208 PROTO=ICMPv6 TYPE=133 CODE=0 UID=0 GID=0 
root@amnesia:~#
did you do this ~10s after inserting the usb stick in question?
it looks like your stick is definitely recognized.

in any case, it might be better this way:
  • remove stick
  • enter 'dmesg -w' in terminal, maybe press enter a few times to get a visual divider
  • insert stick
  • post everything NEW that appeared in terminal
you can also look at
Code:
ls /dev/disk/by-id
before and after inserting the stick.
 
Old 06-25-2018, 04:59 AM   #15
LinuxNoob18
LQ Newbie
 
Registered: Jun 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
did you do this ~10s after inserting the usb stick in question?
it looks like your stick is definitely recognized.

in any case, it might be better this way:
  • remove stick
  • enter 'dmesg -w' in terminal, maybe press enter a few times to get a visual divider
  • insert stick
  • post everything NEW that appeared in terminal
you can also look at
Code:
ls /dev/disk/by-id
before and after inserting the stick.
https://pastebin.com/qVaRs57K
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 04:56 PM
USB Flash stick boot yosemite Linux - Software 3 03-07-2007 01:27 PM
can not write to usb stick, only read Vensan Linux - Hardware 3 02-28-2007 06:54 PM
usb flash memory stick HeyAZ Fedora 2 08-21-2006 09:34 PM
How do I mount a USB flash memory stick? brian Linux - Newbie 3 02-07-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration