On Sun, Jul 11, 2021 at 1:23 AM Ramon Fischer <ramon_fisc...@hotmail.de> wrote: > > In addition to this: > > I did some further research about this, since I actually never thought > about getting the Kernel sources without having an installed Gentoo system: > > You may take a look at one of the HTTP mirrors[1], preferably one in > your country and navigate to "/releases/<cpu_architecture>/". There you > will find a Live DVD image - "livedvd-amd64-multilib-20160704.iso" for > example - from which you could boot from; either virtually in VirtualBox > or other virtualisation solutions or directly from hardware. > > Click on "Login" to login and get the Kernel sources from > "/usr/src/linux/.config".
Thanks for your effort. But it seems such livecd is not maintained anymore. The latest version is 20170118 [1], right? [1] http://mirrors.kernel.org/gentoo/releases/amd64/20170118/ > > -Ramon > > [1] https://www.gentoo.org/downloads/mirrors/ > > On 10/07/2021 14:24, William Kenworthy wrote: > > On 10/7/21 7:40 pm, Ramon Fischer wrote: > >> Hello Dongliang, > >> > >> you could retrieve kernel configuration files from a "Minimal > >> Installation CD"[1] of Gentoo. Mount it and look for > >> "/boot/gentoo-config". > >> > >> But I guess, you want a untouched version, don't you? > >> > >> -Ramon > > Hi, to expand on this - Gentoo doesn't really have a standardised kernel > > config - the nearest to that is the above install CD, or the default > > generic catchall "genkernel" one - most people seem to manually > > configurate and tune/customise a .config and then copy it from system to > > system. There are a few bin(ary) kernels in portage/sys-kernel/* that > > might work for you but I have never tried them. > > > > You can boot almost any linux live media on your target hardware and > > extract the config (sysrescuecd is a good one) and use their sources, or > > build the kernel using their config on top of Gentoo's vanilla-sources, > > or gentoo-sources. > > > > Or grab another distros boot directory (containing the kernel, initrd > > and config files), the matching /lib/modules directory and boot that > > instead of building your own (I do this often on uboot based arm systems > > and raspberry pi's.) > > > > Or ask on the list if someone has a config that matches your target > > (occasionally it comes up). > > > > BillK > > > > > > > > > >> [1] https://www.gentoo.org/downloads/ > >> > >> On 10/07/2021 11:15, Dongliang Mu wrote: > >>> Hi Gentoo users, > >>> > >>> I am a newbie to Gentoo. For Debian, I can get configuration files > >>> from Debian packages. I wonder if possible to get the kernel > >>> configuration files of Gentoo. > >>> > >>> If this question is invalid, please let me know. > >>> > >>> [1] > >>> http://ftp.debian.org/debian/pool/main/l/linux/linux-config-5.10_5.10.46-1_amd64.deb > >>> > >>> -- > >>> My best regards to you. > >>> > >>> No System Is Safe! > >>> Dongliang Mu > >>> > > -- > GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF > >