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.

2 Comments (+add yours?)

  1. bauer75
    Jul 24, 2020 @ 13:33:10

    Is it possible, to move not only /data to the SSD, but the whole rootfs? Since SD cards tend to break, I would love to have as much data as possible on the SSD. Also it should run faster. Ideally it would even boot from it, like the more recent Raspberries.

    Reply

Leave a Reply to OLIMEX Ltd Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: