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 > > 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. -- Neil Bothwick "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural Principles of the Internet - section 3.9
pgpyFhNS8_Iuw.pgp
Description: OpenPGP digital signature

