Skip to content

Instantly share code, notes, and snippets.

@moraisaugusto
Created December 18, 2020 19:24
Show Gist options
  • Save moraisaugusto/541985c0a38bbfc4681fa69253b4c423 to your computer and use it in GitHub Desktop.
Save moraisaugusto/541985c0a38bbfc4681fa69253b4c423 to your computer and use it in GitHub Desktop.
Add External HDD on LibreELEC

Mount the flash partition (not necessary but... )

mount -o remount,rw /flash

Normally the external HDD is automatically mounted by LibreELEC, so you just need to format is using ext4 partition datatype

umount /dev/sda2 # check which partition was mounted automatically - `df -h`
mkfs.ext4 /dev/sda –L ExternalData

Reboot the system and the external HDD will be automatically mounted on `/var/media/ExternalData

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment