The Pioneer is a device that is fully functional using only free software (unlike e.g. the more famous raspberry pi). It comes with a 32MB micro SD card containing the freedombox installation image, i.e. if you insert it in the micro SD card slot of the Freedombox Pioneer, connect the Freedombox Pioneer with a LAN (network) cable to a router that provides internet access, and connect the Freedombox Pioneer to its power supply plugged on power, the installation will start automatically. This devices consumes really low power and is suitable to setup servers, such as email, calendar/contacts or xmpp (jabber).
To have a larger storage space with a Freedombox Pioneer, it is possible to either:
Currently, the Freedombox web interface does not provide support for usage of an external HDD/SSD. However, with minimal configuration not using the web interface, it is possible to only keep on the SD card the "boot file system" (necessary to start the Pioneer) while everything else (the "root file system") is moved to the HDD/SSD.
Having the root file system on the HDD/SDD not only increases the storage space, it also greatly increases the reliability of the Pioneer because micro SD cards tend to get corrupted by write operations, and write operations to the boot file system are far less frequent than write operations to the root file system. Nevertheless, whatever solution you use, it is essential to make regular backups and practise restore before it is actually needed.
Remember: all SD cards eventually get corrupted, it is just a matter of time.
The Open Source Hardware Linux SERVER with external HDD/SSD drive and UPS backup is identical to a Pioneer, but it can include an HDD or and SSD and can be used exactly like the regular Pioneer but it is necessary to:
With a GNU/Linux computer and a micro SD card reader:
path/to/where/the/image/is/download to the actual path where it was downloaded (usually "Downloads"):
$ cd path/to/where/the/image/is/downloaded
unxz to the downloaded file name, if it is different
$ unxz freedombox-stable_pioneer_a20-olinuxino-lime2-armhf.img.xz
/dev/sdX, X should be replaced with the letter that corresponds to the SD card as visible on your computer (lsblk can be used to list all devices showing their letter, size and mount point, which usually allows to distinguish the micro SD card from other disks, but but make sure to pick the correct device as this will erase it)
$ sudo dd if=freedombox-stable_pioneer_a20-olinuxino-lime2-armhf.img of=/dev/sdX
lsblk, see the line that has a capacity close to your HDD/SSD, usually /dev/sda
sudo cfdisk /dev/sda (change /dev/sda to your device if it is not /dev/sda)
lsblk should now show /dev/sda1
/dev/sda:
$ sudo btrfs replace start -B /dev/mmcblk0p2 /dev/sda1 /
/dev/sda
$ sudo btrfs replace start -B /dev/mmcblk0p2 /dev/sda /
$ sudo btrfs filesystem resize max /
Now, the Pioneer is usable as any Pioneer, it is just that it has more disk space.
If the micro SD card is corrupted (e.g., the Pioneer won't boot), the safest is to prepare a new SD card:
sudo su
udisksctl -b mount /dev/sda (if the disk not partitionned) or udisksctl -b mount /dev/sda1 (if the disk is partitionned)
/media/root/someUUID (someUUID is a value specific to this particular file system, it is visible using e.g. df -h. In the following, replace someUUID with the actual value that is visible).
/etc/fstab file that will be used after restoration is the one on the HDD/SDD. In it, /boot needs to refer to the new UUID of /boot in the sdcard, so that later updates of files in /boot are possible. To do this, in /media/root/someUUID/etc/fstab, replace the UUID of the ext2 file system with the UUID of the ext2 file system found in /etc/fstab
/boot are prepared with the upgrade-initramfs command. Among several pieces of information, these files know the location of the root file system. By default, freedombox installs its root file system on the SD card and any existing file system on the HDD/SSD is ignored. To change that:
/etc/fstab (currently on the SD card), replace the UUID of the btfrs file system with the UUID of the btrfs file system found in /media/root/someUUID/etc/fstab
upgrade-initramfs -u
/etc/fstab after the next boot is the file on the HDD/SDD which is now visible as /media/root/someUUID/etc/fstab. This file includes the UUID of the boot file system on the SD card that was corrupted, which does not exist anymore. To avoid problems after reboot:
/media/root/someUUID/etc/fstab, replace the UUID of the ext2 file system (this is the boot file system) with the UUID of the ext2 file system found in /etc/fstab, which is the one of the new boot file system.
exit twice)
If any issue, search for answers already on https://discuss.freedombox.org. If you can't find a solution, ask there.