Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boot can't find zfs commands
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 151

PostPosted: Sun May 14, 2017 6:46 pm    Post subject: boot can't find zfs commands Reply with quote

I'm trying to boot with a zfs root pool on Funtoo. 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. How can it be resolved?

Code:
init: line 390: /sbin/zpool: not found
init: line 671: zfs: not found
Back to top
View user's profile Send private message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 151

PostPosted: Sun May 14, 2017 7:15 pm    Post subject: Reply with quote

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

Code:
libgcc_s.so.1 must be installed for pthread_cancel to work.
Back to top
View user's profile Send private message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 151

PostPosted: Mon May 15, 2017 4:36 am    Post subject: Reply with quote

Looks like this is a bug, https://bugs.gentoo.org/show_bug.cgi?id=617666
Back to top
View user's profile Send private message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 151

PostPosted: Mon May 15, 2017 9:31 pm    Post subject: Reply with quote

I worked around it by replacing genkernel with genkernel-next.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum