3

In windows as soon as I connect my USB drive, option to format it comes on the screen. In Ubuntu it is not mounting.
I am trying to format my USB drive but in Windows and Ubuntu it won't complete.
I run the lsblk command and it shows zero partitions in the USB disk.

This is the screnshot of my terminal

Recovering the data is not my priority.

Please HELP...

Thomas
  • 6,223
  • Next time just copy & paste the text from your lsblk output (terminal window) and use the "code" formatting here, much better than an image of text – Xen2050 Oct 22 '17 at 12:06
  • The following link might help you, https://askubuntu.com/questions/144852/cant-format-my-usb-drive-i-have-already-tried-with-mkdosfs-and-gparted/933035#933035 – sudodus Oct 22 '17 at 14:50

1 Answers1

2

Did you try using gparted? Check if it detects the disk.

If it detects the disk, it should show some partitions or unallocated space. To completely reformat the disk-

  1. Delete all existing partitions(if any).
  2. Create a new partition table from Devices->Create Partition Table.
  3. You can choose msdos (MBR) for this case, but GPT is required for >2TB sized disks.
  4. Right click on the unallocated space and click New, to create a new partition.
  5. Select the format, ntfs or fat32 if you want to use it on windows as well. Done
Legolas
  • 1,693
  • I used gparted and it dtects the usb drive but i dont know how to use it. – rahul111 Oct 22 '17 at 11:43
  • I am new to ubuntu – rahul111 Oct 22 '17 at 11:44
  • As its not showing any partition creating a new partition will work? – rahul111 Oct 22 '17 at 11:46
  • 1
    Go to Device->Create Partition Table to create a partition table. Then you should right click the unallocated space and click New, and create new partition of required size. – Legolas Oct 22 '17 at 11:50
  • You can also find videos on gparted usage. – Legolas Oct 22 '17 at 11:51
  • looks like lsblk can see it, sdc with 15G, no partitions yet. Sometimes usb drives are unpartitioned, with a filesystem directly on them, but I'd imagine gparted or disks, or most file managers, would detect that. I thought there'd be an existing question about this, but didn't see one from a quick search, so might as well edit some details into your answer & it'll be "good enough" for a +1 – Xen2050 Oct 22 '17 at 12:04
  • Legolas thank you for your help. While i was using gparted and creating new partition, first i told to create partition table to create partition. But as i started doing so he application froze and said i/o error. After that operation is terminated. the first sector of usb is zero(0). Any other way or method? – rahul111 Oct 22 '17 at 16:03
  • I guess it's a hardware issue then. Try running "sudo parted -l" check for errors. – Legolas Oct 22 '17 at 17:20