How to Solve Disk Write Protection Issues on Linux Terminal(DIY)

This is a post to guide you on How to Solve Disk Write Protection Issues on Linux Terminal(DIY)

Disk Write Protection is formally the response you get when you try to copy,write or format a flash drive or SD card. This situation can be so funny, especially when you are in a haste to make us of your drives.

How to Solve Disk Write Protection Issues on Linux Terminal(DIY)
  I had a first class experience with this issues, i try all possible solutions i could reach out to on the Internet, but none work for me( using window operating systems). So i try other possible solutions from Tech Advisor , but the issues still persist. Not until i came across a Linux Commands using terminals on how to format any USB Drive or Mcard that the issues was resolve.

This was How to Solve Disk Write Protection Issues on Linux Terminal(Do It Yourself)

Step 1 Identify the Drive
Insert the USB drive or the Memory card with the issues and identify the volume of the disk.
 
$ df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       28G    24G  2.3G  92% /
udev            1.4G   12K  1.4G   1% /dev
tmpfs           277M  1.2M  276M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            1.4G   34M  1.4G   3% /run/shm
/dev/sdc1      14.8G  1.4G  13.4G  10% /media/ababioblog

Step 2 Format the drive
Please note: Whenever we attach a USB drive in Ubuntu, it automatically mounted to the system. We can not format any disk on Linux systems which are already mounted. So first un-mount this USB drive using the following command.

$ sudo umount /dev/sdc1
 
Now use one of the following commands as per file system you want. To format a USB drive, most of the users prefer VFAT and NTFS file systems because they can be easily used on Windows operating system.

Format with vFat FileSystem
$ sudo mkfs.vfat /dev/sdc1

Format with NTFS FileSystem
$ sudo mkfs.ntfs /dev/sdc1

Format with EXT4 FileSystem
$ sudo mkfs.ext4 /dev/sdc1

Similarly, you can format USB Flash drive with any required file system.

Hope this guide help you to regain your USB Flash or Memory card. For any complain use the comment box below. 


For latest FBT, Tech News/Discussions Join the Telegram group Join HERE and Telegram Channel Join HERE

Post a Comment

0 Comments