1 |
On 01/01/2022 08:39, Neil Bothwick wrote: |
2 |
> On Fri, 31 Dec 2021 22:21:53 -0700, thelma@×××××××××××.com wrote: |
3 |
> |
4 |
>> On 12/31/21 21:43, caveman رَجُلُ الْكَهْفِ 穴居人 wrote: |
5 |
>>> On Friday, December 31st, 2021 at 6:52 PM, Jack |
6 |
>>> <ostroffjh@×××××××××××××××××.net> wrote: |
7 |
>>>> .... You would still need to run genkernel |
8 |
>>>> again for that new version. |
9 |
>>> |
10 |
>>> so, no auto-migration for configs? i thought |
11 |
>>> configs used to migrate automatically. |
12 |
>>> |
13 |
>>> basically i'm trying to avoid building some |
14 |
>>> modules. |
15 |
>> |
16 |
>> When it comes to kernel nothing is fully automatic. |
17 |
>> |
18 |
>> Go though these commands: |
19 |
>> |
20 |
>> cd /usr/src |
21 |
>> rm linux |
22 |
|
23 |
Does that work? Or do you need to use "unlink"? And anyway, the next few |
24 |
commands make it redundant. |
25 |
>> |
26 |
>> eselect kernel list |
27 |
>> eselect kernel set # |
28 |
>> |
29 |
>> or |
30 |
>> ln -sfn linux-new_kernel-gentoo linux |
31 |
>> |
32 |
>> cd linux |
33 |
>> cp ../linux-old_kernel/.config . |
34 |
>> make oldconfig |
35 |
>> [just keep hitting enter] |
36 |
> |
37 |
> If you just want to accept the defaults for all new options, use "make |
38 |
> olddefconfig". |
39 |
> |
40 |
>> make menuconfig |
41 |
>> |
42 |
>> You are not done yet! |
43 |
>> |
44 |
>> 1.) At this point you must copy new kernel to your boot directory. |
45 |
>> 2.) emerge --ask -vq @module-rebuild rebuild |
46 |
>> 3.) must run to update grub menu entries eg.: |
47 |
>> # grub-mkconfig -o /boot/grub/grub.cfg |
48 |
>> |
49 |
>> 4.) What else did I miss? (somebody correct me). |
50 |
>> |
51 |
> |
52 |
> Compiling the kernel and modules? Replace 1 with |
53 |
> |
54 |
> make all modules_install install |
55 |
> |
56 |
> There's also the matter of the initramfs, one of the main reasons people |
57 |
> use genkernel, although I prefer dracut for this. |
58 |
> |
59 |
> |
60 |
until you trip over genkernel's "features" ... like AUTOMOUNT_BOOT, |
61 |
which doesn't work, by design. Or NO_INSTALL, which does rather more |
62 |
than just not installing ... |
63 |
|
64 |
I'm investigating source_mage, and ought to investigate dracut. |
65 |
|
66 |
Cheers, |
67 |
Wol |