How to attach external storage hard drive to Pioneer-FreedomBox-HSK

Pioneer-FreedomBox-HSK comes with 32GB micro SD card for file storage, this is not enough for many people, so they logically want to have bigger file storage.

A20-OLinuXino-LIME2 inside Pioneer-FreedomBox-HSK has native fast SATA interface, but the software do not automatically recognize and attach SATA-HDD, so you have manually to set it up.

What you need is SATA-HDD and SATA-CABLE-SET or the complete BAY-HDD which also includes nice metal box for the disk.

What you need to do is to run Pioneer-FreedomBox-HSK then to connect to it via SSH. To do this you need another computer connected on the same network. If this computer runs Linux you can do the connection by ssh command, if your computer is running Windows you can connect with Putty.

When you connect you should use the username and password which you created during the install process of Pioneer-FreedomBox-HSK

Then to you should run as super user with the commands below and mount the disk:

$ sudo -s
# mkdir /mnt/data
# mount /dev/sda1 /mnt/data

At this point via the web interface of Pioneer-FreedomBox-HSK you will see the hard disk as storage:

Last step is to add the hard disk to fstab so next time the board is reboot the hard disk is automatically mounted. You can see disk UUID with the blkid command, then to edit /etc/fstab file and add on the bottom the disk UUID as per this picture:

At this point everything is set.