I'm trying to install Ubuntu with a native ZFS root filesystem on top of an encrypted partition. The device setup is as follows:
- The physical disk is partitioned into a small boot partition and the rest.
- The rest of the disk is entirely encrypted and carved up into a
/rootpartition for the actual system.
- The ZFS pool created on that root partition with a couple of ZFS filesystems for things like
These are the two principal guides I've been following:
It's all working fine except for the final step -- the installation of grub.
update-grub says (inside the
error: cannot find a device for / (is /dev mounted?)
/dev is mounted and I followed the additional advice in the second guide for setting up
/etc/default/grub and so on.
I can't seem to get grub to recognise the device and
menu.lst are not being created. Are there any steps I might have missed? All of this is running inside VirtualBox if that's relevant.
In particular I'm wondering what the correct grub command-line would be to boot this system.