1 |
In addition to this: |
2 |
|
3 |
I did some further research about this, since I actually never thought |
4 |
about getting the Kernel sources without having an installed Gentoo system: |
5 |
|
6 |
You may take a look at one of the HTTP mirrors[1], preferably one in |
7 |
your country and navigate to "/releases/<cpu_architecture>/". There you |
8 |
will find a Live DVD image - "livedvd-amd64-multilib-20160704.iso" for |
9 |
example - from which you could boot from; either virtually in VirtualBox |
10 |
or other virtualisation solutions or directly from hardware. |
11 |
|
12 |
Click on "Login" to login and get the Kernel sources from |
13 |
"/usr/src/linux/.config". |
14 |
|
15 |
-Ramon |
16 |
|
17 |
[1] https://www.gentoo.org/downloads/mirrors/ |
18 |
|
19 |
On 10/07/2021 14:24, William Kenworthy wrote: |
20 |
> On 10/7/21 7:40 pm, Ramon Fischer wrote: |
21 |
>> Hello Dongliang, |
22 |
>> |
23 |
>> you could retrieve kernel configuration files from a "Minimal |
24 |
>> Installation CD"[1] of Gentoo. Mount it and look for |
25 |
>> "/boot/gentoo-config". |
26 |
>> |
27 |
>> But I guess, you want a untouched version, don't you? |
28 |
>> |
29 |
>> -Ramon |
30 |
> Hi, to expand on this - Gentoo doesn't really have a standardised kernel |
31 |
> config - the nearest to that is the above install CD, or the default |
32 |
> generic catchall "genkernel" one - most people seem to manually |
33 |
> configurate and tune/customise a .config and then copy it from system to |
34 |
> system. There are a few bin(ary) kernels in portage/sys-kernel/* that |
35 |
> might work for you but I have never tried them. |
36 |
> |
37 |
> You can boot almost any linux live media on your target hardware and |
38 |
> extract the config (sysrescuecd is a good one) and use their sources, or |
39 |
> build the kernel using their config on top of Gentoo's vanilla-sources, |
40 |
> or gentoo-sources. |
41 |
> |
42 |
> Or grab another distros boot directory (containing the kernel, initrd |
43 |
> and config files), the matching /lib/modules directory and boot that |
44 |
> instead of building your own (I do this often on uboot based arm systems |
45 |
> and raspberry pi's.) |
46 |
> |
47 |
> Or ask on the list if someone has a config that matches your target |
48 |
> (occasionally it comes up). |
49 |
> |
50 |
> BillK |
51 |
> |
52 |
> |
53 |
> |
54 |
> |
55 |
>> [1] https://www.gentoo.org/downloads/ |
56 |
>> |
57 |
>> On 10/07/2021 11:15, Dongliang Mu wrote: |
58 |
>>> Hi Gentoo users, |
59 |
>>> |
60 |
>>> I am a newbie to Gentoo. For Debian, I can get configuration files |
61 |
>>> from Debian packages. I wonder if possible to get the kernel |
62 |
>>> configuration files of Gentoo. |
63 |
>>> |
64 |
>>> If this question is invalid, please let me know. |
65 |
>>> |
66 |
>>> [1] |
67 |
>>> http://ftp.debian.org/debian/pool/main/l/linux/linux-config-5.10_5.10.46-1_amd64.deb |
68 |
>>> |
69 |
>>> -- |
70 |
>>> My best regards to you. |
71 |
>>> |
72 |
>>> No System Is Safe! |
73 |
>>> Dongliang Mu |
74 |
>>> |
75 |
|
76 |
-- |
77 |
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF |