


Then press letter o to create a new empty DOS partition table. Make a new partition table in the device: sudo fdisk /dev/sdb Just be patient.įor example: dd if=/dev/zero of=/dev/sdb bs=4k & syncĭd: error writing '/dev/sdb': No space left on deviceĨ127512576 bytes (8.1 GB) copied, 1236.37 s, 6.6 MB/s (option status=progress is not mandatory but provide you some feedback) Type very carefully this name or your may end up erasing one of your other disks. Replace /dev/sdb with your corresponding device. In my case its /dev/sdbĮrase everything in the pen drive (This step is Optional): sudo dd status=progress if=/dev/zero of=/dev/sdb bs=4k & sync

Then identify your pen drive by it's SIZE. List your block storage devices by issuing the command lsblk In case you can't get your device formatted from the GUI, try this way.
