Trying to install Freedombox onto Cubietruck SSD


I have a Cubietruck board here and I have got Freedombox working off of a Micros SD card but I would like to install it onto the internal SSD.

Does anyone know how I could go about doing this?

Are there any walkthroughs?

I have looked at the generic install for Debian and it is making my head hurt. Is there anyone who could talk me through doing this? :slight_smile:


I think support to move a freedombox system to another drive is still missing.

Your easiest option may be doing a backup and then restoring it after configuring a fresh freedombox image that you could write onto the new drive as usual. The backup does not include the users for example.

Cubietruck is based on Allwinner A20 processor. So, here is what I would do this working.

  1. Transfer FreedomBox image to SSD. If you are setting it up fresh, this is easy. While running from SD card, download the FreedomBox image and use the dd command as described in the manual page. If you want to transfer existing FreedomBox contents of SD card to SSD, then use any disk imaging tool to do this.
  2. Prepare a minimal SD card, with u-boot on it. This is because, IIRC, the ROM code on the Allwinner A20 can’t boot from SATA. Do the following to an SD card with no data on it:
dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=10
dpkg -x u-boot-sunxi_2020.07+dfsg-1_armhf.deb temp
dd if=temp/usr/lib/u-boot/Cubietruck/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1k seek=8

Insert SD card, plugin SATA and boot. You will need the SD card for booting to work.

Sunil, may this appoach work with that board?
“Migrating” the btrfs similar to , but do the grub-install to the sdcard, or a sdcard partition?