It looks like Kodi has for some reason problem with writing default settings to /media/hdd/.kodi/userdata.
Can you test if you can create these folders manually?
You can also change data path manually, just update kodi startup script in /usr/bin/kodi, look for this part:
HDD_MOUNT_POINT="$(grep $(readlink /media/hdd || echo -n '/media/hdd') /proc/mounts)" if [ "$HDD_MOUNT_POINT" != "" ]; then export HOME="/media/hdd" else export HOME="/home/root" fiTo force your home directory to /home/root, add this after it:
export HOME="/home/root
the image is istalled on multiboot thats maybe the problem.