LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2020, 12:55 PM   #1
cmoore90706
LQ Newbie
 
Registered: Nov 2020
Posts: 7

Rep: Reputation: Disabled
usb problem


I have been using a usb drive, but it has stopped working.I have tried changing it to another usb port still doesnt work. I tried reformating it with gparted. When I run lsusb it shows the drive. It also appears in gparted as Sdb. it still wont show up in the files app.I am using mint 20 cinnamon. What am I not seeing. any help is appreciated.I have exhausted my patience with googling the problem. Most of the answers are for windows machines.
 
Old 11-13-2020, 01:14 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,720

Rep: Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914
All USB flash drives will fail eventually due to exceeding their number of write cycles. I've had several fail and their failure mode is sometimes not being recognized, being recognized but not the filesystem or as read only. I have physically abused a few by accident and some of them have failed. Basically you are out of luck, buy a new flash drive.

If the drive is a physical hard drive and not flash it could be either something mechanical or the electronics. While depending on manufacture you might be able to extract the drive and be able to plug directly into a SATA connector but now days the USB bridge connects directly to the electronics board so it isn't as easy to recover files or put into anouther case as it once was. SMART may or may not work across the USB bridge and so makes it difficult to discover if it has really failed. Not much you can do either.
 
Old 11-13-2020, 01:46 PM   #3
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 cmoore90706 View Post
It also appears in gparted as Sdb. it still wont show up in the files app.
It won't until there's a partition and a valid filesystem on it.
Have you done that, too, with gparted?
Maybe show us
Code:
sudo fdisk -l /dev/sdb
 
1 members found this post helpful.
Old 11-13-2020, 03:01 PM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
It's possible the drive just isn't being automounted by the system. Have you tried mounting it manually?
 
Old 11-13-2020, 03:16 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by ondoho View Post
It won't until there's a partition and a valid filesystem on it.
Have you done that, too, with gparted?
Maybe show us
Code:
sudo fdisk -l /dev/sdb
Yes this will be important information to help with the current status.
Quote:
Originally Posted by cmoore90706 View Post
I have been using a usb drive, but it has stopped working.
Is this a situation where you'll want to recover information? Or a situation where the drive formerly worked fine, but for some reason it does not? Just trying to figure out if this was a drive you've been using actively and then it stopped working, for some reason, versus it was a drive which you've used with Linux before and for some reason it didn't work properly now that you've tried to use it again?
 
1 members found this post helpful.
Old 11-16-2020, 04:54 PM   #6
cmoore90706
LQ Newbie
 
Registered: Nov 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
usb problem

Quote:
Originally Posted by ondoho View Post
It won't until there's a partition and a valid filesystem on it.
Have you done that, too, with gparted?
Maybe show us
Code:
sudo fdisk -l /dev/sdb
as requested here is the out put from fdisk -l /dev/sdb

charles@charleslatitude-E6440:~$ sudo fdisk -l /dev/sdb
[sudo] password for charles:
Disk /dev/sdb: 116.7 GiB, 124623257600 bytes, 243404800 sectors
Disk model: USB Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa554a83a
charles@charleslatitude-E6440:~$

gparted shows a partion called unallocated which matchs the space on the usb device
 
Old 11-16-2020, 05:05 PM   #7
cmoore90706
LQ Newbie
 
Registered: Nov 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
It won't until there's a partition and a valid filesystem on it.
Have you done that, too, with gparted?
Maybe show us
Code:
sudo fdisk -l /dev/sdb
never mind i will mark this solved thanks for the direction

The solution came from ondoho who told me it would not show until there was a partition on it. I had a partition showing an unallocated partition that i had not applied yet. Thanks for all thhe kind help

Last edited by cmoore90706; 11-16-2020 at 05:13 PM. Reason: show how the problem was fixed
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: USB 2.0, USB 3.0 And USB Type C – USB Ports Explained LXer Syndicated Linux News 0 11-29-2017 03:40 PM
[SOLVED] Is it ok to use usb 2 and usb 3 devices simultaneously on a usb 3 hub? Ulysses_ Linux - Hardware 3 10-12-2016 06:46 PM
USB-xover-USB cable -- emulate USB HID -- hardware/driver options? dizzy13 Linux - Hardware 4 04-24-2013 08:24 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 AM.

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