Linux usb no media

Linux Mint Forums

[SOLVED] 128GB Netac USB Drive — No Media Error

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

[SOLVED] 128GB Netac USB Drive — No Media Error

Post by Colson P » Sun Apr 12, 2020 12:15 am

I can’t mount this USB drive in any of my computers. I was trying to transfer files to it on another Linux Mint laptop — I ejected it and unplugged it from the laptop but then got an error «Please do not remove your USB drive» on the screen. Now, I can’t mount the drive on any of my computers because all my Linux and Windows partition editors say «no media» is present in the USB stick.
How to I fix this issue? It cannot mount to be reformatted in Linux’s Gnome Disk application, and chkdsk in Windows won’t work either.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Always remember to marked your posts as [SOLVED] when your problem has been resolved.
That way, others can use your post to solve their own problems.

Re: 128GB Netac USB Drive — No Media Error

Post by deepakdeshp » Sun Apr 12, 2020 1:30 am

in Mint before and after inserting the drive. There should be an additional entry after inserting the drive. Please post it.

If I have helped you solve a problem, please add [ SOLVED] t o your first post title , it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb

Re: 128GB Netac USB Drive — No Media Error

Post by Colson P » Sun Apr 12, 2020 1:11 pm

colson@colson-Aspire-E5-575:~$ sudo parted -l [sudo] password for colson: Model: ATA Samsung SSD 860 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 608MB 607MB primary ntfs boot 2 608MB 80.7GB 80.1GB primary ntfs 3 80.7GB 500GB 419GB extended 5 80.7GB 500GB 419GB logical ext4 //flash drive is inserted colson@colson-Aspire-E5-575:~$ sudo parted -l Model: ATA Samsung SSD 860 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 608MB 607MB primary ntfs boot 2 608MB 80.7GB 80.1GB primary ntfs 3 80.7GB 500GB 419GB extended 5 80.7GB 500GB 419GB logical ext4 //ran again to double-check colson@colson-Aspire-E5-575:~$ sudo parted -l Model: ATA Samsung SSD 860 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 608MB 607MB primary ntfs boot 2 608MB 80.7GB 80.1GB primary ntfs 3 80.7GB 500GB 419GB extended 5 80.7GB 500GB 419GB logical ext4 colson@colson-Aspire-E5-575:~$ 

Always remember to marked your posts as [SOLVED] when your problem has been resolved.
That way, others can use your post to solve their own problems.

Читайте также:  Amon infrasonic driver linux

Источник

Восстановление флешки, no medium found

Есть флешка E902 с важными данными, она не определяется. Файловая система на ней была скорее всего FAT32. в lsblk не отображается.

sudo mount /dev/sdd /mnt/1 mount: no medium found on /dev/sdd sudo fdisk /dev/sdd -l fdisk: невозможно открыть /dev/sdd: Носитель не найден 
lsusb Bus 002 Device 010: ID 13fe:3e00 Kingston Technology Company Inc. Flash Drive 
dmesg [796875.229114] usb 3-1: new high-speed USB device number 4 using xhci_hcd [796875.414247] usb 3-1: New USB device found, idVendor=13fe, idProduct=3e00 [796875.414253] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [796875.414257] usb 3-1: Product: 2267 PRAM [796875.414260] usb 3-1: Manufacturer: [796875.415400] usb-storage 3-1:1.0: USB Mass Storage device detected [796875.415804] scsi host13: usb-storage 3-1:1.0 [796876.413795] scsi 13:0:0:0: Direct-Access 2267 PRAM 1.00 PQ: 0 ANSI: 0 CCS [796876.414678] sd 13:0:0:0: Attached scsi generic sg2 type 0 [796876.415577] sd 13:0:0:0: [sdd] Attached SCSI removable disk 
sudo sdparm -a /dev/sdd /dev/sdd: 2267 PRAM 1.00 Read write error recovery mode page: AWRE 0 [cha: n, def: 0, sav: 0] ARRE 0 [cha: n, def: 0, sav: 0] TB 0 [cha: n, def: 0, sav: 0] RC 0 [cha: n, def: 0, sav: 0] EER 0 [cha: n, def: 0, sav: 0] PER 0 [cha: n, def: 0, sav: 0] DTE 0 [cha: n, def: 0, sav: 0] DCR 0 [cha: n, def: 0, sav: 0] RRC 48 [cha: y, def: 48, sav:255] COR_S 0 [cha: n, def: 0, sav: 0] HOC 0 [cha: n, def: 0, sav: 0] DSOC 0 [cha: n, def: 0, sav: 0] LBPERE 0 [cha: n, def: 0, sav: 0] WRC 0 [cha: n, def: 0, sav: 0] RTL 0 [cha: n, def: 0, sav: 0] Power condition mode page: PM_BG 0 [cha: n, def: 0, sav: 0] STANDBY_Y 0 [cha: n, def: 0, sav: 0] IDLE_C 0 [cha: n, def: 0, sav: 0] IDLE_B 0 [cha: n, def: 0, sav: 0] IDLE 1 [cha: y, def: 1, sav: 1] STANDBY 1 [cha: y, def: 1, sav: 1] ICT 0 [cha: n, def: 0, sav: 0] SCT 0 [cha: n, def: 0, sav: 0] Power consumption mode page: ps_id 0 [cha: n, def: 0, sav: 0] SAT ATA Power condition mode page: APMP 0 [cha: n, def: 0, sav: 0] APM 0 [cha: n, def: 0, sav: 0] 

Источник

Thread: Unable to mount USB — no medium found

Randyman99 is offlineFirst Cup of Ubuntu

Unable to mount USB — no medium found

I have a new HP USB 3.0 128 GB thumbdrive. It came with some preinstalled stuff that would only run on Windows or Mac, so I went into XP and totally muffed it up so it’s unreadable. Back in Xubuntu, it doesn’t mount. I figure I could wipe it and start over, but can’t get to that point. Gparted doesn’t see it. I issue the following commands with results:

and it just displays my current installed hard drives (3) and partitions (24), which I won’t bore you with here. The USB drive is not listed.

I unplug the USB drive and plug it in again, and issue the command:

dmesg . [ 970.159524] usb 1-5: USB disconnect, device number 3 [ 1010.004110] usb 1-5: new high-speed USB device number 4 using ehci-pci [ 1010.137252] usb 1-5: New USB device found, idVendor=03f0, idProduct=da07 [ 1010.137261] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1010.137264] usb 1-5: Product: x702w [ 1010.137267] usb 1-5: Manufacturer: HP [ 1010.137270] usb 1-5: SerialNumber: 2304501274 [ 1010.139410] usb-storage 1-5:1.0: USB Mass Storage device detected [ 1010.139756] scsi7 : usb-storage 1-5:1.0 [ 1011.136677] scsi 7:0:0:0: Direct-Access hp NAND Flash 1.00 PQ: 0 ANSI: 6 [ 1011.139319] sd 7:0:0:0: Attached scsi generic sg4 type 0 [ 1011.145325] sd 7:0:0:0: [sdd] Attached SCSI removable disk

That tells me that the system recognizes the thumb drive, and attaches it as sdd.
Okay, so lets say it doesn’t have a partition on it, and I need to create one. As Gparted won’t see it, maybe I can use fdisk. I issue the command:

sudo fdisk /dev/sddfdisk: unable to open /dev/sdd: No medium found

So fdisk doesn’t see it. I can issue the command

ls -l /dev/sdd brw-rw---- 1 root disk 8, 48 12.08.2015 09:13 /dev/sdd

So at some level the system is able to see the USB drive on /dev/sdd, but if fdisk won’t see it, I don’t know what to do.

Читайте также:  Команда синхронизация времени linux

ajgreeny is offlineXubuntu from dawn to dusk and beyond

Join Date Jul 2005 Location I think I’m here! Maybe? Beans 25,276 —> Beans Hidden! Distro Xubuntu 22.04 Jammy Jellyfish

Re: Unable to mount USB — no medium found

I have no idea what you mean by «so I went into XP and totally muffed it up so it’s unreadable.» but I wonder if you formatted it in XP, and whether XP is able to or defaults to creating dynamic partitions which are invisible to Linux.

Tell us a bit more if you can about what you have actually done to the disk, and what the «stuff» on it was before you did whatever it was.

Randyman99 is offlineFirst Cup of Ubuntu

Re: Unable to mount USB — no medium found

Thank you, ajgreeny, for your quick response. I was trying to save you from trudging through details that were not on message. The thumb drive would not read in the thumb drive originally in Ubuntu. Then I noticed on the package that it required Windows or Mac. I figured it had some security or other type of software that restricted access to the drive. I figured I could blast it away and reformat it. I rebooted into my antique version of XP, and sure enough, there it was. I used Avanquest Partition Commander, and was able to access the drive. I decided to delete the one FAT32 partition. I clicked accept, that action completed OK. Then I wanted to create one FAT32 partition of 20 GB, and an ext3 partition (Partition Commander didn’t allow ext4 as a choice) of 50 GB, and leave the rest unformatted for now. Before I clicked accept, I changed my mind about some parameter on the ext4 partition. I wasn’t able to change it, so I deleted it and then recreated it the way I wanted. I thought Partition Commander would remove the first creation and deletion from stack of actions to complete, but when I clicked accept, I saw that it was creating the FAT32, creating the ext4, deleting the ext4, and then recreating the ext4. Well, color me impatient, I didn’t want to sit through all that, I let it finish creating the FAT32 partition, and then when it started on the first ext4 partition, I hit cancel, thinking I could redo it more quickly by recreating the ext4 partition by itself. I guess Partition Commander has some bugs in it, because then I couldn’t read the drive at all in XP, Partition Commander or no. I also tried Partition Commander boot disk, but that wasn’t able to see it either. I figured Ubuntu/Xubuntu might be able to save me, so I rebooted back into that. That’s what got me to where I am now.

Источник

Читайте также:  Linux для интернет серфинга

Usb flash drive (no media) — how to format?

I’m using Kali Linux x64 2017. When I insert USB flash drive (16 GB) computer can’t recognize it. I want to format it and erase all data. I’ve already tried on Windows and the problem is same (usb flash drive is not recognized). I suppose the problem started when I tried to create bootable usb with persistency and I accidentally changed filesystem to ext4. Is there any possible way to reformat it back to FAT32 or NTFS format? In Kali Linux, when I enter «Disks» see the pictures below: enter image description here It says «no media». When I click on settings, all options are gray except one (see picture below): enter image description here And the I enter «Edit mount options» (see picture below): enter image description here Is possible to retrieve USB flash drive to FAT32 or NTFS format? I don’t need to keep data, I only want to format it to FAT32 or NTFS format? This is answer to @foobaru: The output is too long to put it here so I will post a link:
For dmesg : https://pastebin.com/85wXCN3b
For fdisk -l : https://pastebin.com/656mA7Dv When I try to reformat to FAT32 I can’t find the device name: enter image description here

4 Answers 4

The (no media) indication may mean that the flash memory is worn out: the flash memory controller built into the flash drive is detecting that the actual flash memory is no longer in usable condition, and it reports this to the computer in the same way a USB-connected CD-ROM drive would report that there is no disc in drive.

You would need special diagnostic software (probably available only from the flash memory controller manufacturer) to override the «no media» indication.

If you aren’t a hardware hacker, throw it into trash. If it contained private data, put it into a plastic bag and then hit it with a hammer a few times first (the bag is there to contain the shrapnel).

When you plug in the device, useful information might be output to dmesg .

I’d check out the partition table (if you have one) with fdisk or, if you prefer, cfdisk or one of the myriad of tools for this task.

Finally, you may need to reformat the device to FAT32 using mkfs.vfat for example.

This has happened to me a few times as well. First, I would use dmesg or fdisk -l to see what dev/ the USB is on and then proceeding to use dd to overwrite everthing with 0s, thus cleaning the disk :

dd if=/dev/zero of=/dev/[yourUSB] bs=1024 

Once the disk is completely overwritten, it is usually safe to use parted or mkfs.vfat in order to re-format it as needed.

The advantages of wiping the disk with dd to zero is a clean slate, so most if not all challenges should be mitigated.

Источник

Оцените статью
Adblock
detector