Home Assistant 2023.9.2
Supervisor 2023.09.2
Operating System 10.5
Interface utilisateur : 20230911.0 - latest
mount a hard drive disk via usb to combine it with Samba and PLEX or KODY to access 4k films, so with my pc send films via samba to the hard disk mounted on the HA pi, and watch it on my tv.
The problem is that whatever i’m root user, if I follow this tutorial, when I put
sudo mount /dev/sda1 /media/data
it says : mount: permission denied (are you root?)
I tried :
whoami
and it return “root”…
Anyone to know ?
The hard drive is detected on sda1 when I go in HA’s settings and the drive is set in NTFS
Well your disk is reported to be in a screwy state “the ntfs partition is in an unsafe state”. I am not sure if that prevents mounting, try readonly (ro) as suggested.
By the way the correct invocation is mount -t ntfs /dev/sda1 /media/data
add -o ro to see if that mounts it.
Further thoughts, are you sure /dev/sda1 is the right device? Is it confirmed in dmesg?