You are not logged in.

#1 2019-09-09 18:03:07

StooJ
Member
Registered: 2009-12-18
Posts: 7

ZFS and luks - ZFS modules are not loaded

I'm working on setting up full disk encryption with Luks & ZFS, unlocked with my Yubikey.

It works! I'm very chuffed. However, when I boot I get the following error messages:

Starting version 242.84-2-arch
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.

That error is repeated 16 times (presumably until some retries limit or timeout is reached), and then I'm asked for my passphrase and yubikey challenge.

I can then unlock the system and log in successfully. The zfs pool is mounted correctly.

Have I got some hook or module in the wrong order in my ramfs?

Here are my hooks in [inline]/etc/mkinitcpio.conf[/inline]

HOOKS=(base udev autodetect modconf block keymap zfs filesystems fsck keyboard ykfde)

Ykfde is the yubikey full disk encryption.

Here's the [inline]GRUB_CMDLINE_LINUX[/inline] var in my [inline]/etc/default/grub[/inline]

GRUB_CMDLINE_LINUX="cryptdevice=UUID=[UUID-OF-CRYPTO-VOLUME-CONTAINING-ZFS]:cryptzfs"

I've got a workable system, but it'd be nice if I could get rid of these errors; they slow down an already sluggish boot.

Please let me know if I can provide other configs.

Thanks for your help

Offline

#2 2019-09-09 18:52:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: ZFS and luks - ZFS modules are not loaded

Have you tried building the module into the initramfs?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-09-10 09:58:33

StooJ
Member
Registered: 2009-12-18
Posts: 7

Re: ZFS and luks - ZFS modules are not loaded

Thanks for looking jasonwryan

Adding `zfs` to modules changes the output to this:

no pools available to import
no pools available to import
no pools available to import
...

Which... is better, I guess? But still need to wait for the timeout before I can log in.


I'm not able to add ykfde - that throws an error (ERROR: Module not found `ykfde')

Last edited by StooJ (2019-09-10 09:58:54)

Offline

Board footer

Powered by FluxBB