On 01/01/2022 08:39, Neil Bothwick wrote:
On Fri, 31 Dec 2021 22:21:53 -0700, [email protected] wrote:
On 12/31/21 21:43, caveman رَجُلُ الْكَهْفِ 穴居人 wrote:
On Friday, December 31st, 2021 at 6:52 PM, Jack
<[email protected]> wrote:
.... You would still need to run genkernel
again for that new version.
so, no auto-migration for configs? i thought
configs used to migrate automatically.
basically i'm trying to avoid building some
modules.
When it comes to kernel nothing is fully automatic.
Go though these commands:
cd /usr/src
rm linux
Does that work? Or do you need to use "unlink"? And anyway, the next few
commands make it redundant.
eselect kernel list
eselect kernel set #
or
ln -sfn linux-new_kernel-gentoo linux
cd linux
cp ../linux-old_kernel/.config .
make oldconfig
[just keep hitting enter]
If you just want to accept the defaults for all new options, use "make
olddefconfig".
make menuconfig
You are not done yet!
1.) At this point you must copy new kernel to your boot directory.
2.) emerge --ask -vq @module-rebuild rebuild
3.) must run to update grub menu entries eg.:
# grub-mkconfig -o /boot/grub/grub.cfg
4.) What else did I miss? (somebody correct me).
Compiling the kernel and modules? Replace 1 with
make all modules_install install
There's also the matter of the initramfs, one of the main reasons people
use genkernel, although I prefer dracut for this.
until you trip over genkernel's "features" ... like AUTOMOUNT_BOOT,
which doesn't work, by design. Or NO_INSTALL, which does rather more
than just not installing ...
I'm investigating source_mage, and ought to investigate dracut.
Cheers,
Wol