sudo umount /dev/sdb*sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1sudo fdisk /dev/sdb# Command (m for help): n# Command (m for help): p# choose other values default# Command (m for help): wsudo mkfs.ntfs /dev/sdb1
# below command only if you think there is some corruption in the drive# For ex: one time I was not able to mount it so after running this command was able to mount my pendrivesudo ntfsfix /dev/sdb1