Based on this excellent guide.
WARNING: You’re going to be messing with hard drives. You’ll probably be doing most of this as root. As the old adage goes, “The good thing about Linux is that it does exactly what you tell it to do. The bad thing about Linux is that it does exactly what you tell it to do.” I strongly recommend you to disconnect/remove drives you don’t want touched during this procedure so you don’t inadvertently wipe a disk you don’t want wiped.
Note: at the time of this writing, KDE Neon is based on Ubuntu 16.04 Xenial.
The whole process looks something like this:
- Boot into Xenial Desktop live environment
- Install ZFS packages in live environment
- Prepare array
- Debootstrap base system into array
- Chroot into array
- Install the rest of KDE Neon
- Tweak
- Reboot into new KDE Neon system on ZFS