HDD not connected to LibreElec (Kodi)

I have two disks connected to my LibreElec Raspberry Pi. One day, my older disk refused to connect properly (Kodi doesn’t recognize it).

Problem Identification

I identified the problem with the help of ChatGPT, which suggested I should check the last messages from dmesg.

dmesg | tail

After doing so, I found the following error:

ntfs3: sda1: volume is dirty and "force" flag is not set!

Problem Solving

This led me to my standard Linux laptop, where I used the ntfsfix application, which is part of the ntfs-3g package.

sudo ntfsfix -d /dev/sda1

My first attempt didn’t work, but after using the option -d to unlock the “force flag,” it ended with a happy ending. 😊

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.