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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-13-2020, 04:39 AM
|
#1
|
Member
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258
Rep:
|
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?
|
|
|
05-13-2020, 05:46 AM
|
#2
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,871
Rep: 
|
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.
|
|
|
05-13-2020, 05:51 AM
|
#3
|
Member
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419
Rep: 
|
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.
|
05-13-2020, 07:56 AM
|
#4
|
Member
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258
Original Poster
Rep:
|
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.
|
|
|
05-13-2020, 08:10 AM
|
#5
|
Member
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419
Rep: 
|
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.
|
|
|
05-13-2020, 08:50 AM
|
#6
|
Member
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258
Original Poster
Rep:
|
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.
|
|
|
05-13-2020, 11:54 AM
|
#7
|
Member
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419
Rep: 
|
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.
|
|
|
05-13-2020, 12:43 PM
|
#8
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,871
Rep: 
|
For future reference, to put a vfat filesystem onto a disk using Linux....
Code:
sudo mkdosfs -F32 /dev/sdb1
|
|
|
All times are GMT -5. The time now is 01:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|