Information Technology | Softwares - Graphics - Programming - Hacking - Security

Aug 11, 2019

How to make read-only partition to writable? - Fix lỗi phân vùng không ghi được | Lấy quyền ghi đặt lại tệp nhật ký NTFS

The issue is sometimes the partition lost writable permissions and that means many processes, many things we do will take error but sometimes it writable normally.
So why? After solutions suggested by different people failed to fix the issue, I went to research and found out that because there was some problem with my hard drive that was caused dual with Windows.
So we can fix it with ntfsfix, fix common errors and force Windows to check NTFS
Ntfsfix is a utility that fixes some common NTFS problems.  ntfsfix is NOT a Linux version of chkdsk.  It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows. You may run ntfsfix on an NTFS volume if you think it was damaged by Windows or some other way and it cannot be mounted.

sudo ntfsfix <your partition>
e.g: sudo ntfsfix /dev/sdb1
You can use blkid to show all your partition

If still not work, try remounting it read-write:
sudo mount -o remount,rw <your mounted partition path>
e.g: sudo mount -o remount,rw /media/root/DATA/



Thanks

Share:

About Us