Is it possible to install applications on a external USB hard disk?

Unfortunately the Yunohost image for Raspberry Pi does not implement that.

Move your system to SSD

  • do the regular setup on the sd-card
  • extract the card
  • with your laptop copy the root partition from sd-card to SSD. You can use the command line dd or simply the graphical tol gnome-disk (backup and restore a partition).
  • expand the partition to the disk size using something like resize2fs /dev/sda1
  • edit the /boot/cmdline.txt en tell where the new root is

Add a backup disk

  • Edit /etc/fstab to permanently mount the partition(s) on your HDD
  • For example, add some external storage in Nextcloud
  • Use a scheduled backup tool or script to backup on SSD and copy backups on HDD. I keep 7 days backup on SSD and 21 days backup on HDD.

This is not a fully documented tutorials. I have no time for writing more details now but this give you hints, and maybe someone can correct/complete it.

1 Like