Jump to content
  • 0

boot can't find zfs commands


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 post
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 post
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 post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...