A
A
Alexander Sharomet2020-04-30 19:53:31
ubuntu
Alexander Sharomet, 2020-04-30 19:53:31

Why does Ubuntu say the filesystem is read-only?

Installed Ubuntu 20.04 alongside Windows 10.
Mounted the drive

UUID=айдидиска  /media/disk_d  ntfs-3g users,defaults  0  2

When I start Ubuntu, in the directory at
/ media / disk_d, I can’t add, edit, delete anything. writes "the file system is read-only".
But if you go under Windows and then reboot and go under Ubuntu, then everything is fine.
Tried
sudo chown -R [user]:[user] /media/disk_d
sudo chmod 777 /media/disk_d

Did not help.
If you create links to directories in / media / disk_d - then all links have a lock icon.
What could be the problem? Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
#
#, 2020-04-30
@sharomet

try all the same, only not in /media/*but in /mnt/*
ps and unmount the disk beforesudo chown -R [user]:[user] /*/disk_d

Z
zlo1, 2020-04-30
@zlo1

add the uid option

A
Alexey, 2020-05-01
@AlexeyKolodchenko

because windows, starting from version 7, does not turn off the computer, but takes it to a kind of sleep mode, as a result of which the hard disk heads do not park and Linux, seeing this, mounts the HDD in read-only mode. During the reboot, the heads park and Linux mounts the HDD correctly. First, turn off fast boot in Windows (or something like this option is called). In general, the problem is now known to you and the solution is quickly googled.
1. Install the ntfs-3g driver - most likely you already have it
2. Once mounted in read-only, try to unmount the disk and run:
sudo ntfsfix /dev/device-name here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question