Friday, September 17, 2021

NTFS USB hard drive read only mount on dual boot system

ls -la /media/user

lsblk -fp

lsusb -t

mount

sudo mount -o remount,uid=1000,gid=1000,rw /dev/sdc1 //do not help

If can't copy to drive on Linux, because it is read-only, do following:

In Windows after USB disk use go to Disk Management and make USB hard drive Offline. Restart, boot Linux and USB hard drive should mount as rw. // Best solution!

Connect external HDD in Windows and restart to boot Linux. //Works on dual boot system with Windows 10 and Kubuntu.

Do not turn off PC with Windows and you won't have read-only problems with disks.

If there are speed problems with copying files to external HDD, format it in NTFS with default cluster size. Do not check any additional options like SSD optimization etc. Use GParted in Linux and AOMEI in Windows.

You can also disable Fast Startup on Windows in Control Panel Power Options. If you do not see checkmark Turn on fast startup (recommended), Windows + R > gpedit.msc > Local Group Policy Editor > Computer Configuration > Administrative Templates > System > Shutdown >  Require use of fast startup > Disabled > Apply > OK.

$ ls -al

drwxrwxrwx  1 user user  4096 вер 17 15:01 'Drive'

$ mount

/dev/sdc1 on /media/user/Drive type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)

dmesg | tail // latest messages from the kernel ring buffer

[37814.133893] ntfs3: sdb1: It is recommened to use chkdsk.
[37814.138539] ntfs3: sdb1: volume is dirty and "force" flag is not set!
[38439.593794] ntfs3: sdb1: It is recommened to use chkdsk.
[38439.599330] ntfs3: sdb1: volume is dirty and "force" flag is not set!
[39654.294791] ntfs3: sdb1: It is recommened to use chkdsk.
[39654.299432] ntfs3: sdb1: volume is dirty and "force" flag is not set!
[39655.973134] ntfs3: sdb1: It is recommened to use chkdsk.
[39655.978083] ntfs3: sdb1: volume is dirty and "force" flag is not set!
[39703.090190] ntfs3: sdb1: It is recommened to use chkdsk.
[39703.098526] ntfs3: sdb1: volume is dirty and "force" flag is not set!

If hard drive do not mount after crash or copy error, if there are difficulties rebooting when HDD is on, boot Windows, run cmd as administrator and chkdsk D: /f (change drive letter). Using chkdsk on a Windows machine is the safest and most reliable way to ensure the integrity of the filesystem.

No comments:

Post a Comment