LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-13-2020, 04:39 AM   #1
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Rep: Reputation: 3
USB thumbdrive mounting problem


I have one thumb drive that mounts different than the others.

This drive, whenever I plug it into a USB slot will then produce
3 icon targets on my display.

Other thumb drives will only produce one target. Example, if I plug
in a thumb drive with the name of PURPLE, an icon will show up on my
X window display that is idenified as PURPLE.

The problem drive is named KICK, but this one produces 3 icons when
plugged in, the icons are named--> KICK, 538 MB Voiume, 16 GB Volume.

I am using ubuntu 20.04, gdm3 the standard gnome window manager.
The offending usb drive is a PNY 16GB.

None of my other thumbdrives do this, they all just produce one icon.

I have tried reformatting the drive, both with windows format
and linux format programs, and still get the problem.


Can anyone explain this?
 
Old 05-13-2020, 05:46 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,871

Rep: Reputation: Disabled
Looks like it has two partitions, the size of the smaller one suggests a UEFI partition.

If this is just for file storage, you can re partition it to just have one partition, & put a new file system onto it.
 
Old 05-13-2020, 05:51 AM   #3
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
It sounds as if the thumbdrive has already been formatted and perhaps two of the partitions have been doctored in the hardware to by read-only. Look at the drive with a disk partition program and see what file systems the partitions are and whether they are read-only or read-write. gparted would be good since it is GUI and will be very obvious. You say you have tried reformatting but not what you did to do so. If, in fact, there are three partitions you will have to unmount each partition and delete it. Once that is done so all the space is unallocated then you can partition and format the way you wish. If, as I suspect, the first two partitions have been set read-only in the hardware at the factory I know of nothing you can do without some rather expensive equipment, if then.
 
1 members found this post helpful.
Old 05-13-2020, 07:56 AM   #4
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
agillator, sounds like you may have the answer there. I have fooled with the drive pretty extensively so far with nothing helping. I will try to run down this gparted and see if it is the answer.
 
Old 05-13-2020, 08:10 AM   #5
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
EldonCool, I don't know about slackware but other distributions have gparted in their various repositories so if you don't have it you should be able to find it easily. There was a time I would not buy a WD external drive because they insisted on loading stuff I could not get to and get rid of so I know it happens. I don't think they do it any more but I know it can happen. I also know I will never knowingly purchase such a device. If it turns out it is hardware, I would contact PNY and see what they have to say. Make sure they understand you will not buy any more of their products if they continue. I have bought PNY before and not had a problem, by the way.
 
Old 05-13-2020, 08:50 AM   #6
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I am using ubuntu at present, and I might have fixed it with your help.

I tried gparted, could not find my drive / sdc
looking at site for gparted they mentioned program testdrive
installed that one, and after some fooling around found /dev/sdc
and eliminated the partition table.

Now system does not recognize the drive when it is plugged in.
Tried to reformat with windows 10 computer, it cant find the drive either.

Then ran gparted with this command --> sudo gparted /dev/sdc
after quite a bit of fooling around created an ext4 partition.
I wanted to do fat 16 partition but it would only let me use 4MB for that,
so I went with ext4 and got about 16GB.

Now when I plug it in, I only get ONE icon, yea! But it is an ext4
partition, will other systems, Mac and Windows computers, recognize it?

So I take the thumb drive and plug it in the windows-10 machine, and it
tells me I have to format it. It is drive F: according to windows.
So I format f:
Yep, it gives me 15G of msdos drive.

Now I plug it in ubuntu machine, yep it finds it, and as only one drive.

Success.

Last edited by EldonCool; 05-13-2020 at 09:01 AM.
 
Old 05-13-2020, 11:54 AM   #7
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
Great! If at first you don't succeed, get a bigger hammer! Sometimes you just have to keep screwing with things until the systems get so confused they just give up.
 
Old 05-13-2020, 12:43 PM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,871

Rep: Reputation: Disabled
For future reference, to put a vfat filesystem onto a disk using Linux....

Code:
sudo mkdosfs -F32 /dev/sdb1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
thumbdrive is auto mounting as both cd-rom & thumbdrive scott1042 Fedora 2 04-27-2007 05:03 PM
USB thumbdrive mounting problem sashhoney Linux - Hardware 1 05-31-2005 06:06 AM
Mounting USB Memorex 512MB Thumbdrive ckovacs Linux - Hardware 3 12-06-2004 10:33 AM
mounting usb thumbdrive and going in circles slackist Linux - Hardware 11 07-27-2004 08:30 PM
Mounting a usb thumbdrive st windows files can be read qkslvrwolf Linux - Newbie 2 04-12-2004 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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