4 ms·
https://gist.github.com/xenophonf/2e2d1a1550b0fb8dae98 https://gist.github.com/xenophonf/2e2d1a1550b0fb8dae98 That's for Ubuntu 14, but it's basically the same
by xenophonf 9y ago
https://gist.github.com/xenophonf/2e2d1a1550b0fb8dae98 https://gist.github.com/xenophonf/2e2d1a1550b0fb8dae98
That's for Ubuntu 14, but it's basically the same process for Ubuntu 16. Neither installer supports root on ZFS, so you have to install Ubuntu to a flash drive, create the ZFS pool from the live environment, and then copy the contents of the flash drive onto the ZFS pool.
Just ignore the bits about dual-booting Mac OS X.