Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

boot can't find zfs commands


mauricev

Question

I'm trying to boot with a zfs root pool. The boot is failing because the init can't find zfs commands. This makes sense as the root pool, where the zfs commands live, is not yet mounted. This makes sense, but how can it be resolved?

init: line 390: /sbin/zpool: not found
init: line 671: zfs: not found
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

The problem appears to be when the initramfs is created, grub uses the default debian one and not the just created one. I had to replace it manually and then remake the grub.cfg file. The zfs commands are in the correct initramfs.

 

However, the import of the pool still fails with the error

libgcc_s.so.1 must be installed for pthread_cancel to work.
Link to comment
Share on other sites

  • 0

No, I followed the instructions of the install guide, so only 5.3.0 is installed. However, I worked around it by replacing genkernel with genkernel-next.

 

Also, grub-mkconfig -o /boot/grub/grub.cfg doesn't work properly as it's used in the guide. There is an initramfs prebuilt for debian. It uses this one despite its claiming to use the one just built. The debian one must be replaced by the one just built manually (or use genkernel to rebuild the debian one).

Link to comment
Share on other sites

×
×
  • Create New...