作成したカスタムGentooカーネルをインストールできません

作成したカスタムGentooカーネルをインストールできません

私はこのコマンドでカーネルを構築しました
make && make modules_install && make install

このコマンドを使用して、先ほど構築したカスタムカーネルをインストールしようとしています。
genkernel --install --kernel-config=.config initramfs

しかし、それは私に次のような結果を与えます:

* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: --install --kernel-config=.config initramfs

* Working with Linux kernel 5.15.11-gentoo for x86_64
* Using kernel config file '/usr/src/linux-5.15.11-gentoo/.config' ...

* Current kernel's LOCALVERSION is set to ''; Will ignore set --kernel-localversion value '-x86_64' because kernel was not build ...

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending devicemanager cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
*         >> Appending modprobed cpio data ...
*         >> Appending modules cpio data ...
* ERROR: '/lib/modules/5.15.11-gentoo' does not exist! Did you forget to compile kernel before building initramfs? If you know what you are doing please set '--no-ramdisk-modules'.
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
* 
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to [email protected]. Please include
* as much information as you can in your bug report; attaching
* '/var/log/genkernel.log' so that your issue can be dealt with effectively.
* 
* Please do *not* report kernel compilation failures as genkernel bugs!```
I don't know how to solve it and there is almost nothing I can find about this online, what should I do?

答え1

--no-ramdisk-modulesただ最後に置いて解決しました。
これが最善の解決策ではないかもしれませんが、私には効果がありました。

関連情報