Looking for backup tools, I found these…

Surprisingly, very little work needed.

The June 2015 release was a no-go because I couldn’t get initramfs booted (and I didn’t want to start tearing apart the boot files or compiling the kernel myself).

Updated to the latest version. Only the standard set of changes needed to get BTRFS running (along the same line that I needed to perform on a raspbian install).

In a nutshell:

  1. apt-get install btrfs-tools
  2. add btrfs to /etc/initramfs-tools/modules
  3. update-initramfs -c -k uname -r
  4. for the initramfs image generated (4.4xyz etc), add following to /boot/config.txt
    initramfs initrd.img-…4.4xyz… followkernel
  5. modify /boot/cmdline.txt
    rootfstype=btrfs
    root=/dev/…btrfs_partition…
    rootflags=subvol=…subvolume_name…
  6. create a btrfs partition (/dev/…btrfs_partition…) and rsync a copy of root to subvolume …subvolume_name…
  7. update /etc/fstab in subvolume …subvolume_name to reflect correct mounting for btrfs (type, subvol, etc)
  8. relocate swap to a ext4 partition (modify the perform_tuner script in /usr/sbin/ to replace /swap with path to swap file)

    reboot and be greeted with the “Scanning for BTRFS filesystems…” :slight_smile:

Absolutely painless to migrate.