On Fri, 2018-12-07 at 12:21:47 +0100, Steffen Grunewald wrote: > > Setting up a root zpool mirroring three disks, I get > > BOOT_DEVICE="/dev/disk/by-id/ata-INTEL_SSDSC2KW128G8_PHLA805104HX128BGN > /dev/disk/by-id/ata-INTEL_SSDSC2KW128G8_PHLA805102QH128BGN > /dev/disk/by-id/ata-INTEL_SSDSC2KW128G8_PHLA805007K6128BGN" > > which looks innocent. > 10-setup although converts this to > > GROOT="(hostdisk//dev/sda) (hostdisk//dev/sdm) (hostdisk//dev/sdn)" [...] > grub-install: error: cannot find a GRUB drive for hostdisk//dev/sda. Check > your device.map. [...] > but I remember having seen a different problem then. Got to rinse > and repeat.
Actually what I might have been missing is the addition of a BIOS boot partition to the GPT, as described in https://www.funtoo.org/ZFS_Install_Guide - I will add that to the mountdisks hook, and rerun the installation. > BTW, as the linux-headers package gets consistently installed after the > spl-dkms one, a trick similar to the nfsroot hook described earlier is > also necessary to get the modules built inside the target chroot. Is there a trick in FAI to force an installation order? Cheers, S