Jump to content
funtoo forums
  • 0
Sign in to follow this  
bpaddock

ZFS Install Problems with current portage

Question

I am trying to bring up a system with ZFS following https://www.funtoo.org/ZFS_Install_Guide

I'm having trouble booting. at the completion of the steps in the Guide.
 

# grub-mkconfig -o /boot/grub/grub.cfg

None of the 'initramfs-genkernel-XXXX' are being found that were build with the --zfs flag.  The Guide indicates these  initramfs-genkernel's should be the ones found in its example output.
grub-mkconfig is finding the normal initramfs-debian-sources-XXXX and kernel files and these were not build with the --zfs flag to my knowledge.

Anyone have any idea why this is happening and how to fix it?  

If I force a menu entry in /etc/grub.d/40_custom that uses initramfs-genkernel-XXXX the system will boot until it reaches the point where it tries to import the pools.
Gives error cannot import 'rpool' no such pool or dataset destroy and re-create the pool...

Yet if I go to the grub shell and do a zpool import rpool is found. 
What is going on here?

I think something is broken as when emerging zfs, zfs-0.7.3 and and a new grub were pulled in.
Has anyone gotten zfs install to work with the *current* portage?
I know it worked in the past, doesn't seem to be working now.


 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

the wiki is open, please, correct.

the kernel update has to be performed manually with recreation of new initramfs with --zfs argument. This applies for both: kernel update or zfs tools update. This is reflected in wiki. Please, post what exact stage3 you used (with date of stage), so that's it's possible to check what ego version included.

Share this post


Link to post
Share on other sites
  • 0
11 hours ago, Oleg Vinichenko said:

the wiki is open, please, correct.

the kernel update has to be performed manually with recreation of new initramfs with --zfs argument. This applies for both: kernel update or zfs tools update. This is reflected in wiki. Please, post what exact stage3 you used (with date of stage), so that's it's possible to check what ego version included.

I edited my question above to the current state of things.
I have tried, NUMEROUS times, following the ZFS install guide line by line only changing the disk-ids .
I used the stage3 via wget as the wiki instructed.  I got a fresh one today at about 11AM EST.
I know the wiki instructions worked in the past last time I installed my system, sometime ago.

I believe something is not correct with with the state of portage, I don't know what.
The current combination of zfs-0.7.3, grub and genkernal are not playing well together.
 

Share this post


Link to post
Share on other sites
  • 0
11 hours ago, Oleg Vinichenko said:

the wiki is open, please, correct.

I added the items I mentioned to the wiki.

Should the section about using 6.5.7 be deleted or changed to 0.7.3?
I did not see that the accept_keyword was having any effect.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...