How can I format an external USB drive? I have a Western Digital external usb which adds automatically a virtual read-only CD partition which prevented me to run the standard ways to format a disk.
I read more than 3 threads here and I tried:
Error creating file system: Command-line `parted --script "/dev/sdb" mktable msdos' exited with non-zero exit status 1: Error: Input/output error during read on /dev/sdb Error: Input/output error during read on /dev/sdb Error: Input/output error during write on /dev/sdb Warning: Error fsyncing/closing /dev/sdb: Input/output error (udisks-error-quark, 0)
Input/output error during read on /dev/sdb
dd sudo dd if=/dev/zero of=/dev/sdb
dd: writing to ‘/dev/sdb’: Input/output error
After some hours searching I found this tutorial which involves windows tools and it worked! I am happy about it but I would like to know a way to do the same only via Linux.