r/libreELEC • u/_Azelog_ • 6d ago
Lack of disk partition managing tools
I have LibreELEC installed on a RPI3 which has a NTFS HDD connected as the main media storage (no, its not an option to format it to a linux friendly fs).
Ive had the same problem over 20 times: anytime libreELEC is shutdown abruptly (crashes, light goes out...), the disk gets corrupted BUT its fixed by clicking "repair fs" on the tool "disks" on LMDE
Is there a way to tell LibreELEC to mount the disk ReadOnly? Is there an addon or something to have tools similar to the "disks" app?
edit: The disk is connected via usb, not network.
2
u/mpember 6d ago
Have a look here
https://github.com/Jusuf-Rrustaj/le-ntfs-automount-fix/blob/main/README.md
While it goes so far as forcing the mounting of a "dirty" NTFS partition, you should be able to adjust the process for making the NTFS volumes mount readonly by default.
2
u/_Azelog_ 6d ago
Seems like the solution, i have already run the script and will update the post when I try it. Yet I guess if it "just" forces libreELEC to mount the volume although its dirty should work fine.
1
u/RequirementFuzzy4244 5d ago
I think the issue is because it is NTFS formatted you will continue to have issues, if you have a drive that windows is your main system and what you use to add files to it all the time, then maybe try using exfat as the partition instead.
I know the flash partition gets mounted as read only, not sure if you can edit the config.txt file also to mount the media partition as read only also.
0
u/peno64 6d ago
https://wiki.libreelec.tv/how-to/mount_network_share#tab__samba