View previous topic :: View next topic |
Author |
Message |
Maxie n00b
Joined: 06 Apr 2017 Posts: 26
|
Posted: Thu Sep 05, 2019 7:58 am Post subject: EOL for bliss-initramfs |
|
|
I installed my system using this guide.
Ever since I use bliss-initramfs when updating the kernel.
I see that now it's masked and scheduled to be removed. I suppose there are some problems with it that I failed to notice and that I would best stop using it.
But then - I don't really know what did it do to generate the initramfs. I don't know if other tools that generate initramfs are fully equivalent, should I use them in some specific way to make them work for me etc.
Could anyone please give me some pointers on generating intiramfs for root on nvme/zfs?
Mod edit: Corrected URL BBCode. — JRG |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Sep 05, 2019 12:47 pm Post subject: Re: EOL for bliss-initramfs |
|
|
Maxie wrote: | I installed my system using this guide.
Ever since I use bliss-initramfs when updating the kernel.
I see that now it's masked and scheduled to be removed. I suppose there are some problems with it that I failed to notice and that I would best stop using it.
But then - I don't really know what did it do to generate the initramfs. I don't know if other tools that generate initramfs are fully equivalent, should I use them in some specific way to make them work for me etc.
Could anyone please give me some pointers on generating intiramfs for root on nvme/zfs? |
Why do you think you need an initramfs? |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Sep 05, 2019 3:30 pm Post subject: Re: EOL for bliss-initramfs |
|
|
charles17 wrote: | Why do you think you need an initramfs? | The ZFS article on the Gentoo Wiki has this to say:To boot from a ZFS volume as the root filesystem requires a ZFS capable kernel and an initial ramdisk (initramfs) which has the ZFS userspace utilities. @Maxie, there are instructions in that article on how to use genkernel to make a ZFS-capable initramfs.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Thu Sep 05, 2019 8:14 pm Post subject: |
|
|
dracut should work fine these days as well _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
Maxie n00b
Joined: 06 Apr 2017 Posts: 26
|
Posted: Fri Sep 06, 2019 2:33 pm Post subject: |
|
|
Thanks. I suppose there's nothing NVMe specific in that intitramfs, right? |
|
Back to top |
|
|
xanderal Tux's lil' helper
Joined: 06 Mar 2019 Posts: 133 Location: Germany
|
Posted: Fri Sep 06, 2019 2:37 pm Post subject: |
|
|
Maxie wrote: | Thanks. I suppose there's nothing NVMe specific in that intitramfs, right? | Not to my knowledge. I don't use zfs but have a nvme. I generate my initramfs with Code: | genkernel --luks --lvm --install --no-mountboot --firmware initramfs | Seems like you only need to add zfs support. |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
|
Back to top |
|
|
Maxie n00b
Joined: 06 Apr 2017 Posts: 26
|
Posted: Wed Jan 15, 2020 6:00 am Post subject: |
|
|
I'm just going through it and I encountered issues.
genkernel warned me that
"No hostid embedded into initramfs. You MUST set 'spl_hostid=<hostid>' parameter to provide hostid for ZFS!".
OK. So I did a quick search of what hostid is, used hostid binary to read my hostid "it's 00000000", put that it /etc/hostid and generated initramfs again.
Then rebooted.
I'm not sure exactly what I mounted but the system would reject my user password as well as the root on (which I don't recall ever changing).
So I went back to check it out only to see that my system wouldn't boot - because hostid changed (to "30303030" or something like that) and zpool would reject import.
I fixed that with the help of rescue CD. So...I have 2 problems:
* I can't log in. So far I think I can figure it out myself
* I don't know how to manage hostid and what to do to make it 00000000 as it is now.
I would be grateful for any help with that... |
|
Back to top |
|
|
Maxie n00b
Joined: 06 Apr 2017 Posts: 26
|
Posted: Wed Jan 15, 2020 1:51 pm Post subject: |
|
|
I tried creating empty /etc/hostid and it just did what I needed - used 00000000.
Once I did it I could actually log in, so the second problem fixed itself and I'm finally with a fresh kernel without bliss-initramfs.
Thanks again to everyone who helped. |
|
Back to top |
|
|
|