Featured Post

HOWTO: MySQL install guide for NAS4Free 10.2.x

Jun 9, 2013

Adding Drives to OpeneELEC install

So the hard drive I had previously removed from my NAS4Free system, two terabyte drive, was going to be place into one of my openelec systems as local storage.  I used gParted to format the encrypted disk and then hooked it up to my system , unfortunately the drive wasn't automatically recognized.

Logging into openelec via ssh I ran parted.  Once using parted I entered print all and saw that my disk was indeed there, it just wasn't being picked up.  The solution was to mount the drive manually, and automate this process for every startup, since openelec doesn't adhere to fstab etc.

Within /storage/.config/ I created a file called autostart.sh.  Using nano, I entered the following details (modify for your own setup)

mkdir /media/extended
mount -t ext4 /dev/sdb1 /media/extended

Make the autostart.sh file executable

chmod +x autostart.sh
Post a Comment