Getting closer but no cigar yet, Re: Install ZFS root with FAI?

Steffen Grunewald steffen.grunewald at aei.mpg.de
Fri Dec 14 14:41:37 CET 2018


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


More information about the linux-fai mailing list