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 10-24-2018, 09:18 AM   #1
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Rep: Reputation: Disabled
My USB Flash drive won't load


I have a USB flash / thumb drive. It works on a Windows 10 pc but not on my Linux-Ubuntu 16 pc - - - it does not register when I plug it into the USB port and the Ubuntu "Disks" utility does not detect it. I have tried to make sense of some of the replies already given to similar questions ("Click Here to Find Similar Threads") but none of them make any sense to me - I am a terrible noob! Suggestions would be greatly appreciated.
Duncan
 
Old 10-24-2018, 09:27 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Have you run "dmesg" from a command prompt before and after plugging in this USB stick?

That will dump the system log, before shows a bunch of stuff, but it shows you (at the end) the latest events, so you know where it last stopped.

After shows you all from before, plus (maybe) some additional events that occurred when you plugged in the USB stick.

Please check that and see if your system log sees anything in the USB when you plug in your stick.

By the way, is this PC the same one when it is W10 and Ubuntu? I.e. are you performing dual boot? Or are these separate PCs?

And also, are you using a virtual machine, by any chance? There are issues using USB through virtual machines, you may have to install additional software, or make some configuration option changes.
 
1 members found this post helpful.
Old 10-24-2018, 09:39 AM   #3
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Hi RTMistler - many thanks for your reply. No, the last lines of the "dmesg" command are identical:

[20397.316911] usb 3-4: USB disconnect, device number 2

I had a USB ext hard drive attached - I think that is what is being referred to here. But this shows up every time I run the "dmesg" command - both before and after I insert the thumb drive.

Oh, and no, the Windows 10 is on a different computer - my wife's. So, no dual boot and no virtual machine.

Last edited by Duncan49; 10-24-2018 at 09:41 AM.
 
Old 10-24-2018, 09:49 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
It seems as if it does not recognize this USB stick at all.

From there I would diagnose hardware.

If that one port ever works with anything.

If there are other ports on your system where you see this same behavior.
 
Old 10-24-2018, 09:54 AM   #5
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thanks for your response.
1. The USB stick works on my wife's Windows 10 pc
2. The USB port on my pc (Linux Ubuntu 16) on which this particular USB stick wont work (i.e. is not detected) is fine for other USB devices, including other USB sticks.
3. I have tried the USB stick on all USB ports (on my Linux pc) and it does not work in any of them.

I suppose I could come at the problem from another angle - how can I mount a USB stick that is presently not recognised?

Duncan

Last edited by Duncan49; 10-24-2018 at 09:57 AM.
 
Old 10-24-2018, 10:16 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
You can't mount something that is not seen to be a hardware detection. End of story, at least as far as I know. If you system log does not note that something was plugged in, then you can go no further.

Any idea what file system type is on that disk? Is it an out of the box USB stick? From which manufacturer?

Next would be:
What are the system specifications for your Ubuntu PC? Is it some manufacturer's existing model? Or a home made PC?

And if you haven't already looked, I invite you to examine the changes to your system log when you do plug in something that does work. It seems as if you already have. And thus you potentially can see that there would be no way or direction to follow to issue a mount command. Because the format for a mount command would be:
Code:
$ sudo mount -t <file-system-type> <mount-point/a directory you have for this> <physical resource location>
And it is the <physical resource location> which you do not have and cannot resolve. I.e. when you plug in a working other drive that mounts itself, it may be on something like /dev/sdb1, or /dev/sdc1, or /dev/sdf1 and the main location of hardware is /dev/sd[letter]. If you had that, then you could run fdisk, or even fdisk -l on that drive letter. Sure, you can run fdisk -l in general to get a report on all drives. Perhaps that's worth trying to see if somehow the system sees that drive without it putting stuff in the system log, for some odd reason.

And finally, please make sure that your Ubuntu system has been rebooted at some point. Perhaps it has some odd system state, although Linux typically has done the due diligence to ensure that this does not happen, and a reboot may clear it up. Another thing to consider is to ensure that your system is up to date. But that's questionable to consider. This should work now, not merely because of any software updates.
 
1 members found this post helpful.
Old 10-24-2018, 10:24 AM   #7
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
1. Many thanks for your patience - I really appreciate it.
2. For a noob, you have given me a lot to tackle - I will do it slowly over the next day or so.
3. In the meantime perhaps the following information may help:
4. It is a new USB stick - it worked at first. I then wanted to encrypt it and used the "Disks" utility to try to do this. Ever since then it has not worked. So, during this process I think I must have wiped something from the stick - some sort of basic code (? BIOS) that was there. I suppose we should now treat it as a totally blank stick - is it possible to put this basic (background) stuff on it - probably something to do with a boot file?
5. Now, I know the simple answer is to chuck the USB out - it was not expensive and I have others - but I'm up for the challenge of getting it to work again and I believe this will help me learn linux commands!

Thanks once again for your patience - really appreciated.
Duncan
 
Old 10-24-2018, 10:44 AM   #8
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Please excuse anything that may offend here

My very long time friend, who is Jewish, and we're talking American Jewish, and joking about stereotypes, etc. He would do that old man's Jewish sounding "Ah-cz-haa!" and wave his hand in the air. (In the funny after scenes from the movie Coming to America, the barbershop scene, is one example.)

Yes, #4 seems highly suspect.

I do have to say, I see a ton of questions where somebody has a problem because they did an install and encrypted the whole thing and now nothing works. I also have to say, that it seems that encryption is a dicey thing, that perhaps should not be so dicey for new users. I don't know how to alleviate that, I'm by no means an expert.

Proposed solution:
Since you can "see" this disk using your wife's W10 computer, then fully reformat it, not a quick format, using that computer, and then continue. I do not feel you can fix it under Linux because you can't see the drive at all.

If you choose to try again, perhaps start a new question, noting a link to this one, and then citing the instructions you followed, as well as any different ones you next intend to try, and ask if there's any additional advice.
 
1 members found this post helpful.
Old 09-29-2020, 06:01 AM   #9
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Smile Found solution !

I found a solution to my problem and, good news, it is simple!
1) To recap, a thumb-drive (USB-stick) could not be detected on my linux pc (Ubuntu 20.04) after formatting (full format). Could not be detected by the GUI File-manager, nor via the number of possible terminal commands.
2) The thumb-drive (TD) was detected by my wife's Windows 10 laptop.
3) I proceeded to do a simple format of it (the TD) (on the Windows laptop) - and also selected the "restore to defaults" option before the simple format to 32 FAT. After this formatting, the TD was able to be detected by my Ubuntu machine and it is again functional.
HAPPY DAYS!
=================
 
Old 09-29-2020, 08:43 AM   #10
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,988
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
Duncan49,

It may be a good idea to use Linux Mint 20 since support for Linux Mint 16 ended in July 2014.
 
1 members found this post helpful.
Old 09-29-2020, 02:55 PM   #11
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Note to RTMISTLER: many thanks for your help and patience - greatly appreciated.
Sincerely
Duncan
 
Old 09-29-2020, 03:15 PM   #12
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thanks for the tip BB2 - re Mint-20
 
Old 10-04-2020, 12:51 AM   #13
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
Quote:
Originally Posted by Duncan49 View Post
I found a solution to my problem and, good news, it is simple!
1) To recap, a thumb-drive (USB-stick) could not be detected on my linux pc (Ubuntu 20.04) after formatting (full format). Could not be detected by the GUI File-manager, nor via the number of possible terminal commands.
2) The thumb-drive (TD) was detected by my wife's Windows 10 laptop.
3) I proceeded to do a simple format of it (the TD) (on the Windows laptop) - and also selected the "restore to defaults" option before the simple format to 32 FAT. After this formatting, the TD was able to be detected by my Ubuntu machine and it is again functional.
HAPPY DAYS!
=================
You must partition a drive before formatting it, that's probably what happened (what your wife's win10 did). There are GUI on your ubuntu for doing this.

Also it should be "recognized" as a device without partitions but not as "a disk". But the GUI utility your using is probably rudimentary and does not go into such detail.

as for if your a noob, we plan to ask your wife, since we can't judge that here
 
1 members found this post helpful.
Old 10-04-2020, 09:50 AM   #14
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by Duncan49 View Post
4. It is a new USB stick - it worked at first. I then wanted to encrypt it and used the "Disks" utility to try to do this. Ever since then it has not worked. So, during this process I think I must have wiped something from the stick - some sort of basic code (? BIOS) that was there. I suppose we should now treat it as a totally blank stick - is it possible to put this basic (background) stuff on it - probably something to do with a boot file?
Duncan
I suspect your entire problem was due to the attempt to encrypt the USB stick. Either it was actually encrypted or it failed and wiped the partition table off the drive without creating the new table. Your recreating the default table on windows recovered it (yes, sometimes windows can do things linux cannot, although seldom).

Thanks for the update and solution.
 
2 members found this post helpful.
Old 10-05-2020, 06:05 AM   #15
Duncan49
Member
 
Registered: Oct 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thank you both, 'X-LFS' and 'computersavvy'.
This is interesting information - that a thumb-drive should be partitioned before formatting it. I suppose this is to preserve the boot section of it.
So, in future, before formatting I should create a partition so that there will be the boot partition and the newly created partition that will actually be used. One could of course use 'GParted' to make the partition.
Thanks once again for your time and expertise.

Last edited by Duncan49; 10-05-2020 at 06:06 AM.
 
  


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
will new hard drive automatically load mint from usb flash drive? graybeard19 Linux - Newbie 20 11-15-2013 12:15 AM
usb flash drive won't mount drlinux Puppy 13 03-05-2012 08:22 AM
USB flash drive won't mount SpecialAgentR Linux - Hardware 8 05-20-2007 05:16 PM
Konqueror won't load on KDE after usb flash drive inserted Black_Knight Mandriva 6 03-26-2006 08:06 AM
usb flash drive won't mount Snocrash Linux - Hardware 7 01-22-2004 03:02 AM

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

All times are GMT -5. The time now is 12:10 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