#Read-only internal hard drive on ubuntu 20.04

29 messages · Page 1 of 1 (latest)

pale gale
#

I mounted a internal hard drive on ubuntu 20.04 and i wanted to create a random test folder but terminal says the disk is read-only. How is this possible when the disk is attached internally ? How to solve this ?

sinful dew
#

how and WHERE are you making the folder?

pale gale
sinful dew
#

other disk may have root ownership. read-access only for all others

#

if it is just a data storage drive, change the owner to your user account

sinful dew
sinful dew
#

doesn't support permissions.

#

it's some other issue

pale gale
#

hmm...when i logged back onto windows i saw some $Recycle bin folder

#

and some pagefile.sys file

#

like when I logged into windows and just clicked on a random folder then restarted and mounted the same ssd again i was able to go back into the drive and use it normally

#

does logging into windows have anything to do with it ?

sinful dew
#

Mount ALL your drives first. (click on each device in the Devices pane of file manager. Then, check info of the file system format with the following in terminal:
all on one line
lsblk -o NAME,TYPE,MODEL,FSSIZE,FSTYPE,OWNER,MOUNTPOINT

sinful dew
sinful dew
#

Is it an NTFS drive with the issue, @pale gale ?

sinful dew
#

also, did you take that drive out from another Windows 10 or 11 system and placed it in current machine with Ubuntu?

pale gale
pale gale
sinful dew
#

try this then,

sinful dew
#

from the result of the lsblk command you can identify the drive's dev-name

#

then do:
sudo ntfsfix /dev/sdXx where X is the drive letter, and x is the number which is the NTFS partition

pale gale
#

hold on let me try this i need to boot into ubuntu

#

im on windows 10 right now let me try with the P drive

sinful dew
#

if Windows is ever sharing the computer with Ubuntu, you must turn off Fast Startup (Hybrid Hibernation) or else it will cause these issues.