Linux - HardwareThis 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.
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.
I can't help you with your direct question, but I would have thought that if this was genuinely urgent that you would have done less to put people off from answering your question.
Your title is not what we would consider a helpful one (it should at least mention that it is a USB pendrive issue, and 'help me', a series of question marks and 'its urgent' are all individually things that will deflect some people who would otherwise like to help; combined I can only assume that these will put off many potential respondents).
Note also that text-ese and similar abbreviated forms (nt, plz, whn and the abuse of capitals) are against the rules of the forum, so that will put others off.
So, the question you have to ask yourself is, did you want a helpful answer?
Yeah posts with that title piss off a lot of people. I think I read "don't posts things like `help me` or `it's urgent`" like a thousand times when I registered.
And if it's on dmesg, your pendrive is obviously getting detected. As it says, it just doesn't find a working partition table. If you formatted it once or did a dd if=somefile of=/dev/sdb and changed the partition table, that happens sometimes. You may try unplugging it and plug it back or restart the computer. Otherwise your pendrive is probably just broken, bad luck.
Annoying, isn't it. Whack write protection off, and take a look at
Code:
man fdisk
, it'll help you format your pendrive. If there is anything important on there, its fixable, but to be honest, its not easy to do; you may feel better sacking it off.
If you don't want to use fdisk, there are many graphical front ends.
from your post it looks like your flashdrive is being detected by Linux but is not mounting.
First try mounting the raw /dev/sdx device (e.g. mount /dev/sdb /mnt/point).
If that fails, you can try running fsck on the raw device, not on a partition. From the output of your dmesg it looks like the drive does not contain a partition table, but it's possible a filesystem exists without the use of a partition table at all (some drives are formatted this way, even though it's not standard nor recommended practice!).
If this drive works anywhere else, like on a Windows box, I'd recommend backing up all data, using Linux to partition it with a single FAT partition and then copying data back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.