1

I had used these commands (as root):

umount /dev/sdb1

After,

mkfs.ntfs /dev/sdb1

It took a long time to format it and I couldn't wait it. Before it finished formatting, I had canceled operation.

After I used my usb device for making copy operations, I couldn't use my usb device.

Actually, Maybe it wasn't about mkfs.ntfs command but there is a truth now: I can't use my flash drive.

I plugged in my flash drive into my computer which uses linux mint. And I opened "Disks" program on Linux Mint. It is screenshot (after plugging in usb device): Disks Program - After plugging in usb device

It is another screenshot (before plugging in usb device): Disks Program - Before plugging in usb device

As you see, It says "No media" about /dev/sdb although I plugged in usb device.

There isn't any problem about my OS (Linux Mint). The problem is about my usb device. I can see my other usb devices on Linux Mint.

Have I burnt my usb device ? How can I solve this problem ?

Edit: After intense desires of our participants , I should add it:

I used these commands (there are commands with outputs below):

LinuxMint linux # mkfs.ntfs /dev/sdb1

Failed to access '/dev/sdb1': No such file or directory

The device doesn't exist; did you specify it correctly?

LinuxMint linux # mkfs.ntfs /dev/sdb

Could not open /dev/sdb: no media

So on, It can't recognize my usb device at all.

Look at fdisk output: Command:

fdisk -l

Output:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, toplam 625142448 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007bccb

Device              Start         End     Sectors Size   Type
/dev/sda1            2048   251660287   125829120   83   Linux
/dev/sda2       251660288   541255679   144797696    5   Extended
/dev/sda3 *     541255680   619380679    39062500   83   Linux
/dev/sda4       619380736   625141759     2880512   82   Linux swap / Solaris
/dev/sda5       251662336   335548415    41943040   83   Linux
/dev/sda6       335550464   457369599    60909568   83   Linux
/dev/sda7       457371648   541255679    41942016   83   Linux
2
  • Could you edit your question and add the output of fdisk -l /dev/sdb (as root) with your flash drive plugged in? If it shows a partition, try running mkfs.ntfs again... Jan 26, 2016 at 13:24
  • There is no any output. Jan 26, 2016 at 14:15

2 Answers 2

1

You started creating a filesystem on your device and cancelled the operation. That left your device with no working file system so, of course, you can't use it.

The good news is that, unless you've done something else you haven't told us about, it should be enough to just plug the device in again and running

sudo mkfs.ntfs /dev/sdb1

This time, let it finish!

Important: before running the command above, make sure that the USB device you want to format is indeed /dev/sdb. That command will destroy any data present in /dev/sdb so if that's not your USB drive, you really don't want to run it.

1
  • I edited my question. Look at it. Jan 26, 2016 at 15:18
0

how can i resolve the issue? I've some problem same with this issue( no medium and 0B size).

Could not open /dev/sda: No medium found

chopper_ak@pop-os:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 1 0B 0 disk
zram0 252:0 0 7.5G 0 disk [SWAP] nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 1022M 0 part /boot/efi ├─nvme0n1p2 259:2 0 4G 0 part /recovery ├─nvme0n1p3 259:3 0 229.5G 0 part
│ └─cryptdata 253:0 0 229.5G 0 crypt │ └─data-root 253:1 0 229.5G 0 lvm / └─nvme0n1p4 259:4 0 4G 0 part
└─cryptswap 253:2 0 4G 0 crypt [SWAP] chopper_ak@pop-os:~$ lsusb Bus 002 Device 003: ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 009: ID 13fe:5500 Kingston Technology Company Inc. Flash drive Bus 001 Device 002: ID 13d3:5a11 IMC Networks USB2.0 VGA UVC WebCam Bus 001 Device 005: ID 09da:c10a A4Tech Co., Ltd. USB Mouse Bus 001 Device 003: ID 13d3:3496 IMC Networks Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub chopper_ak@pop-os:~$

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .