Otro día en la casa de Gran Hermano, Linux Mint 22 y Windows 10 Home Edition conviviendo bajo una misma CPU, con varias particiones en el medio ¿qué puede salir mal?
Problema: reiniciar en Linux en encontrarse que las particiones NTFS donde antes podía escribir ahora solamente están en modo lectura.
Intento de solución: montaje a mano especificando parámetros. Consultamos unos tutos:
https://forums.linuxmint.com/viewtopic.php?t=231902
https://www.cafecondebian.com/montaje-automatico-de-particiones-con-fstab/
https://proyectopinguino.blogspot.com/2009/04/gestionar-particiones-en-linux-montar-y.html
Y nada!
Pero al intentar hacer el montaje por FSTAB ¡salta la liebre! Un mensaje con un error y posible data.
m@mint22:~$ mount -a
Error opening read-only '/dev/sdc2': Permiso denegado
Failed to mount '/dev/sdc2': Permiso denegado
Please check '/dev/sdc2' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
https://github.com/tuxera/ntfs-3g/wiki/NTFS-3G-FAQ
mount: /home/m/media/DATOSO: debe ser superusuario para utilizar mount.
dmesg(1) may have more information after failed mount system call.
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload.
Vamos a visitar el enlace: https://github.com/tuxera/ntfs-3g/wiki/NTFS-3G-FAQ
WHY DOES NTFS-3G MOUNT MY PARTITION READ-ONLY?
Alternately: Why does ntfs-3g repeatedly want Windows fully shut down?
When Windows 8 (or a subsequent Windows version) is restarted using its fast restarting feature, part of the metadata of all mounted partitions on internal disks is restored to the state it was at the previous closing down. As a consequence, changes made on Linux may be lost. This can happen on any NTFS partition on an internal disk when leaving Windows by selecting «Shut down» or «Sleep». Leaving Windows by selecting «Restart» is apparently safe.
To avoid any loss of data, NTFS-3G forces the read-only mode while mounting.
To get the read-write mode after Windows shut down, make sure the fast restarting of Windows is disabled. This can be achieved by issuing as an administrator the command:
powercfg /h off
En criollo: el Windows, cuando se cierra, deja meadas las particiones «por seguridad» para que otros no las usen.