[gentoo-user] Re: Questions on attempt at first install.

2020-12-04 Thread Diagon
One more:

Using genkernel, is there a way to make sure a module is included in the 
initramfs?

/D

 

 > Could someone clarify for me what `genkernel --menuconfig` is doing?  
 > 
 > Is it equivalent to a manual kernel config, only saving me the `make` && 
 > `make install`?
 > 
 > Or is it setting what `genkernel all` would set, and letting you modify that?
 > 
 > Do I run it as `genkernel --menuconfig all` ?  As `genkernel --btrfs 
 > --menuconfig all` ?
 > 
 > If I run `lsmod`, I see btrfs, but I also see that btrfs depends on: xor, 
 > zstd_{de,}compress, xxhash, lzo_compress, zlib_defalte, raid6_pq, and each 
 > of those may have their own dependencies.  
 > 
 > Do I need that whole chain for the kernel?
 > 
 > Thanks in advance!
 > /D
 



[gentoo-user] Questions on attempt at first install.

2020-12-04 Thread Diagon
Could someone clarify for me what `genkernel --menuconfig` is doing?  

Is it equivalent to a manual kernel config, only saving me the `make` && `make 
install`?

Or is it setting what `genkernel all` would set, and letting you modify that?

Do I run it as `genkernel --menuconfig all` ?  As `genkernel --btrfs 
--menuconfig all` ?

If I run `lsmod`, I see btrfs, but I also see that btrfs depends on: xor, 
zstd_{de,}compress, xxhash, lzo_compress, zlib_defalte, raid6_pq, and each of 
those may have their own dependencies.  

Do I need that whole chain for the kernel?

Thanks in advance!
/D



[gentoo-user] Trouble on first install with LUKS & BtrFS

2020-11-28 Thread Diagon
I've done a basically vanilla install (*) of gentoo hardened with disks 
prepared at luks/btrfs.  I've used `genkernel --btrfs --luks all`.  I am 
getting the following error when trying to boot the system and arrive at the 
point of unlocking a disk (note the spaces, "on ... failed"):

   device-mapper: reload ioctl on  failed: No such file or directory

Dropping into the initramfs and trying `cryptsetup open`, I get the same error, 
though `cryptsetup isLuks` is responding positively.

Does anyone have any suggestions on how I might proceed?

-
(*) Almost.  I'm actually using two LUKS disks continaing a BtrFS RAID-1.  So 
I'm using a patch: https://bugs.gentoo.org/694778