2

I installed Ubuntu 16.04 from a bootable USB. I made the disk by opening the iso with Archive Manager and then writing it to USB. I don't know what happened but I cannot format the pen drive now. Here is a screen shot of the error I get:

enter image description here

Windows shows that the pen drive has 2 MB of space whereas the actual space is > 6 GB. Also, all files in the pen drive are read-only and it doesn't allow me to change permissions.

Yashbhatt
  • 167

1 Answers1

4

Delete pendrive partition table and make new with gparted or parted. If there will be any troubles with it you can destroy actual pendrive partition table with dd command. Before this make sure with lsblk command which of your drives is your pendrive. Assuming that your pendrive is /dev/sdc (can contain partitions sdc1, sdc2, etc...):

sudo dd if=/dev/zero of=/dev/sdc bs=1M count=1 

Be very careful, if you type wrong of device you can erase your actual hdd/ssd partition table.
After making new partition table it will be necessary to format your usb to desired filesystem.

EdiD
  • 4,457
  • 3
  • 26
  • 41