USB Flash Drive: No Media Detected; Format gets: exit code 1: cannot open /dev/sdb:
Linux - NewbieThis 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
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.
USB Flash Drive: No Media Detected; Format gets: exit code 1: cannot open /dev/sdb:
I'm trying to troubleshoot a 8gb USB flash drive which linux (ubuntu narwhal) recognizes but is unable to properly mount or format.
In disk utility, it shows as
FLASH Drive SM_USB20
Firmware 1100
Capacity No Media Detected
Serial No (this is present and valid)
Device /dev/sdb
SMART Status Not Supported
When I try to format the drive, i get several optiobns intlucing Master Boot Record, GUID table, none, and Apple. Doesn't matter which option I pick, I get the same error for all of them:
"An error occurred while performin an operation on "FLASH Drive SM_USB20" (FLASH Drive SM_USB20): the operation failed"
with a drop-down details box which says:
"Error creating partition table: helper exited with exit code 1: cannot open /dev/sdb: No medium found"
I did search the site and found a similar thread however it did not address the no medium found issue and also the op's issue was not resolved.
When I stick this thumb drive into a macintosh computer it does not ever recognize that there's a new drive. in a windows machine, it mounts, unmounts, mounts, unmounts in a vicious cycle. I was hoping that with linux (ubuntu) I would be able to figure out the issue or format the drive. Is there any hope? the drive has a status indicator light which is solid and stable with the ubuntu machine.
Would appreciate any help you could provide.
this is an old Dell Dimension 2400 desktop running Ubuntu Natty Narwhal.
You most likely tried to format the software section of device.
You should go to the manufacturer & download the repair software & it will return to fat32
You most likely tried to format the software section of device.
You should go to the manufacturer & download the repair software & it will return to fat32
went to the manufacturer website (samsung pleomax the drive is a "premium t300" 8gb usb flash drive) and there is not any software or repair download options for this device.
If you'll notice in the list, the only items which are specified for the Pleomax t300 are a windows 98 initialization program. Unfortunately, I do not have Windows 98. I tried downloading and using the first item listed which is an initialization program for "PUB-S90/100" and discovered that whether its the right program or not, it can't find the usb flash drive, either.j
I also tried the "PUB S90/100 Utility Program" and it basically wont even run on my computer. Just lots of error messages and scripts that won't run and the like.
My post regarding the results to fdisk appears not to have arrived when I posted it the day before yesterday so I will post it again next as a separate post.
sisterd@ubuntu-vastdeep:~$ fdisk -l /dev/sda
Cannot open /dev/sda
sisterd@ubuntu-vastdeep:~$
sisterd@ubuntu-vastdeep:~$ fdisk -l /dev/sdb
Cannot open /dev/sdb
sisterd@ubuntu-vastdeep:~$
In Disk Utility, /dev/sda is my hard drive, which is listed as healthy, and/dev/sdb is the usb flash drive, which is listed as mounted but is not formatable, no media found.
gparted seems only to scan or recognize /dev/sda and its partitions. I have not figured out if there is a way to tell it to scan for /dev/sdb. the drop-down menu at the top right for selecting disks does not have any other options that /dev/sda.
Device Boot Start End Blocks Id System
/dev/sda1 1 6287 50500296 b W95 FAT32
/dev/sda2 * 6288 9650 27008000 83 Linux
/dev/sda3 9651 9726 610470 82 Linux swap / Solaris
Although the thumb drive is in one of the USB ports and its red light is stable, it does not show up anywhere in any of the above results. The /dev/sda and variations are all the hard drive, and the /dev/sdc is an external hard drive directly connected to the computer. The expected /dev/sdb or /dev/sdd or later is not present in any of these results. not sure what to do about that. The information in my original post about it being visible in linux's Disk Utility is still valid. I can still see it and get the same results/issues trying to format it as originally posted.
Thanks for your help... still such a noob I didn't even think to use the sudo command in front of fdisk....
SisterD
before inserting the USB key? I ask because there's no indication that the USB key was inserted.
Should I have? No, what I did was insert the USB key, then go open up terminal and run that command. I had been hoping I would be able to see something that would indicate the computer knew it was there.
Yes. Executing that command in a terminal window and keeping the terminal window open while inserting the USB key will show us what the computer is doing as the usb key is being inserted
tail after plugin:
Nov 19 11:49:32 davidovv-home kernel: [ 574.730042] usb 1-6: new high speed USB device using ehci_hcd and address 9
Nov 19 11:49:32 davidovv-home kernel: [ 574.882928] scsi16 : usb-storage 1-6:1.0
Nov 19 11:49:32 davidovv-home kernel: [ 575.170029] usb 6-1: new low speed USB device using uhci_hcd and address 14
Nov 19 11:49:33 davidovv-home kernel: [ 575.300021] usb 6-1: device descriptor read/64, error -71
Nov 19 11:49:33 davidovv-home kernel: [ 575.540060] usb 6-1: device descriptor read/64, error -71
Nov 19 11:49:33 davidovv-home kernel: [ 575.770035] usb 6-1: new low speed USB device using uhci_hcd and address 15
Nov 19 11:49:33 davidovv-home kernel: [ 575.880839] scsi 16:0:0:0: Direct-Access Generic USB Flash Disk 7.76 PQ: 0 ANSI: 2
Nov 19 11:49:33 davidovv-home kernel: [ 575.883304] sd 16:0:0:0: Attached scsi generic sg4 type 0
Nov 19 11:49:33 davidovv-home kernel: [ 575.889193] sd 16:0:0:0: [sdd] Attached SCSI removable disk
Nov 19 11:49:33 davidovv-home kernel: [ 575.900032] usb 6-1: device descriptor read/64, error -71
Nov 19 11:49:33 davidovv-home kernel: [ 576.140032] usb 6-1: device descriptor read/64, error -71
Nov 19 11:49:34 davidovv-home kernel: [ 576.370027] usb 6-1: new low speed USB device using uhci_hcd and address 16
Nov 19 11:49:34 davidovv-home kernel: [ 576.790070] usb 6-1: device not accepting address 16, error -71
Nov 19 11:49:34 davidovv-home kernel: [ 576.910048] usb 6-1: new low speed USB device using uhci_hcd and address 17
Nov 19 11:49:35 davidovv-home kernel: [ 577.330026] usb 6-1: device not accepting address 17, error -71
Nov 19 11:49:35 davidovv-home kernel: [ 577.330051] hub 6-0:1.0: unable to enumerate USB device on port 1
tail after plugout:
Nov 19 11:57:08 davidovv-home kernel: [ 1031.124285] usb 1-6: USB disconnect, address 9
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.