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.

1 Answer 1

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.

2
  • Thanks. This fixed it. Do you have any idea about why the USB was created as read only?
    – Yashbhatt
    Commented Apr 25, 2016 at 5:04
  • Was it read only in terminal ? like in nautilus
    – EdiD
    Commented Apr 25, 2016 at 7:30

You must log in to answer this question.

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