Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] genkernel's new configs not used?
Date: Sat, 01 Jan 2022 08:39:49
Message-Id: 20220101083918.1d7806ae@digimed.co.uk
In Reply to: Re: [gentoo-user] genkernel's new configs not used? by thelma@sys-concept.com
1 On Fri, 31 Dec 2021 22:21:53 -0700, thelma@×××××××××××.com wrote:
2
3 > On 12/31/21 21:43, caveman رَجُلُ الْكَهْفِ 穴居人 wrote:
4 > > On Friday, December 31st, 2021 at 6:52 PM, Jack
5 > > <ostroffjh@×××××××××××××××××.net> wrote:
6 > >> .... You would still need to run genkernel
7 > >> again for that new version.
8 > >
9 > > so, no auto-migration for configs? i thought
10 > > configs used to migrate automatically.
11 > >
12 > > basically i'm trying to avoid building some
13 > > modules.
14 >
15 > When it comes to kernel nothing is fully automatic.
16 >
17 > Go though these commands:
18 >
19 > cd /usr/src
20 > rm linux
21 >
22 > eselect kernel list
23 > eselect kernel set #
24 >
25 > or
26 > ln -sfn linux-new_kernel-gentoo linux
27 >
28 > cd linux
29 > cp ../linux-old_kernel/.config .
30 > make oldconfig
31 > [just keep hitting enter]
32
33 If you just want to accept the defaults for all new options, use "make
34 olddefconfig".
35
36 > make menuconfig
37 >
38 > You are not done yet!
39 >
40 > 1.) At this point you must copy new kernel to your boot directory.
41 > 2.) emerge --ask -vq @module-rebuild rebuild
42 > 3.) must run to update grub menu entries eg.:
43 > # grub-mkconfig -o /boot/grub/grub.cfg
44 >
45 > 4.) What else did I miss? (somebody correct me).
46 >
47
48 Compiling the kernel and modules? Replace 1 with
49
50 make all modules_install install
51
52 There's also the matter of the initramfs, one of the main reasons people
53 use genkernel, although I prefer dracut for this.
54
55
56 --
57 Neil Bothwick
58
59 "Be strict when sending and tolerant when receiving."
60 RFC 1958 - Architectural Principles of the Internet - section 3.9

Replies

Subject Author
Re: [gentoo-user] genkernel's new configs not used? Wols Lists <antlists@××××××××××××.uk>