* [gentoo-user] Inquiry about gentoo kernel configuration @ 2021-07-10 9:15 Dongliang Mu 2021-07-10 11:40 ` Ramon Fischer ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: Dongliang Mu @ 2021-07-10 9:15 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Inquiry about gentoo kernel configuration 2021-07-10 9:15 [gentoo-user] Inquiry about gentoo kernel configuration Dongliang Mu @ 2021-07-10 11:40 ` Ramon Fischer 2021-07-10 12:24 ` William Kenworthy 2021-07-10 15:03 ` Mark Knecht 2021-07-10 17:54 ` [gentoo-user] " Nikos Chantziaras 2 siblings, 1 reply; 14+ messages in thread From: Ramon Fischer @ 2021-07-10 11:40 UTC (permalink / raw To: gentoo-user [-- Attachment #1.1: Type: text/plain, Size: 824 bytes --] 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 [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 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Inquiry about gentoo kernel configuration 2021-07-10 11:40 ` Ramon Fischer @ 2021-07-10 12:24 ` William Kenworthy 2021-07-10 17:23 ` Ramon Fischer 2021-07-11 13:07 ` Dongliang Mu 0 siblings, 2 replies; 14+ messages in thread From: William Kenworthy @ 2021-07-10 12:24 UTC (permalink / raw To: gentoo-user 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 >> > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Inquiry about gentoo kernel configuration 2021-07-10 12:24 ` William Kenworthy @ 2021-07-10 17:23 ` Ramon Fischer 2021-07-11 13:11 ` Dongliang Mu 2021-07-11 13:07 ` Dongliang Mu 1 sibling, 1 reply; 14+ messages in thread From: Ramon Fischer @ 2021-07-10 17:23 UTC (permalink / raw To: gentoo-user [-- Attachment #1.1: Type: text/plain, Size: 2718 bytes --] 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". -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 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Inquiry about gentoo kernel configuration 2021-07-10 17:23 ` Ramon Fischer @ 2021-07-11 13:11 ` Dongliang Mu 2021-07-11 14:48 ` Ramon Fischer 0 siblings, 1 reply; 14+ messages in thread From: Dongliang Mu @ 2021-07-11 13:11 UTC (permalink / raw To: gentoo-user On Sun, Jul 11, 2021 at 1:23 AM Ramon Fischer <Ramon_Fischer@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 > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Inquiry about gentoo kernel configuration 2021-07-11 13:11 ` Dongliang Mu @ 2021-07-11 14:48 ` Ramon Fischer 0 siblings, 0 replies; 14+ messages in thread From: Ramon Fischer @ 2021-07-11 14:48 UTC (permalink / raw To: gentoo-user [-- Attachment #1.1: Type: text/plain, Size: 3867 bytes --] Yes, but the image does not need to be up-to-date, since you only use it temporarily; everything else is done in a chroot environment. One thing to mention, though: The LiveDVD can be booted from UEFI, which you will need to finalise[2] the Gentoo installation on a UEFI system. As William already mentioned, you can boot from almost any Linux live media and install Gentoo[1] from there. -Ramon [1] https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation [2] See important note: https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#Booting_the_installation_media On 11/07/2021 15:11, Dongliang Mu wrote: > On Sun, Jul 11, 2021 at 1:23 AM Ramon Fischer <Ramon_Fischer@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 >> >> -- GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Inquiry about gentoo kernel configuration 2021-07-10 12:24 ` William Kenworthy 2021-07-10 17:23 ` Ramon Fischer @ 2021-07-11 13:07 ` Dongliang Mu 1 sibling, 0 replies; 14+ messages in thread From: Dongliang Mu @ 2021-07-11 13:07 UTC (permalink / raw To: gentoo-user On Sat, Jul 10, 2021 at 8:26 PM William Kenworthy <billk@iinet.net.au> 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. I see, thanks for your explanation. Gentoo people seem to build everything for their systems, including the underlying Linux kernel. For the installation CD, it plays a role as a temporary system to install the real Gentoo Linux. So there should be no default kernel configuration files. It depends on the Gentoo user, right? > > 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 > >> > > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Inquiry about gentoo kernel configuration 2021-07-10 9:15 [gentoo-user] Inquiry about gentoo kernel configuration Dongliang Mu 2021-07-10 11:40 ` Ramon Fischer @ 2021-07-10 15:03 ` Mark Knecht 2021-07-10 17:54 ` [gentoo-user] " Nikos Chantziaras 2 siblings, 0 replies; 14+ messages in thread From: Mark Knecht @ 2021-07-10 15:03 UTC (permalink / raw To: Gentoo User [-- Attachment #1: Type: text/plain, Size: 583 bytes --] On Sat, Jul 10, 2021 at 2:16 AM Dongliang Mu <mudongliangabcd@gmail.com> 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 If the feature is enabled in the kernel you have running then zcat /proc/config.gz ? [-- Attachment #2: Type: text/html, Size: 939 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: Inquiry about gentoo kernel configuration 2021-07-10 9:15 [gentoo-user] Inquiry about gentoo kernel configuration Dongliang Mu 2021-07-10 11:40 ` Ramon Fischer 2021-07-10 15:03 ` Mark Knecht @ 2021-07-10 17:54 ` Nikos Chantziaras 2021-07-11 13:17 ` Dongliang Mu 2 siblings, 1 reply; 14+ messages in thread From: Nikos Chantziaras @ 2021-07-10 17:54 UTC (permalink / raw To: gentoo-user On 10/07/2021 12: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. You can use the one shipped in the sys-kernel/gentoo-kernel-bin package. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: Inquiry about gentoo kernel configuration 2021-07-10 17:54 ` [gentoo-user] " Nikos Chantziaras @ 2021-07-11 13:17 ` Dongliang Mu 2021-07-11 13:39 ` Nils Freydank ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: Dongliang Mu @ 2021-07-11 13:17 UTC (permalink / raw To: gentoo-user On Sun, Jul 11, 2021 at 1:54 AM Nikos Chantziaras <realnc@gmail.com> wrote: > > On 10/07/2021 12: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. > > You can use the one shipped in the sys-kernel/gentoo-kernel-bin package. > Thanks. There is only a file - *.ebuild file in this package. From the package, I did not find out what .config file it uses. It seems this script uses the config file of current system. > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: Inquiry about gentoo kernel configuration 2021-07-11 13:17 ` Dongliang Mu @ 2021-07-11 13:39 ` Nils Freydank 2021-07-11 13:45 ` Hayley 2021-07-13 15:20 ` Nikos Chantziaras 2 siblings, 0 replies; 14+ messages in thread From: Nils Freydank @ 2021-07-11 13:39 UTC (permalink / raw To: gentoo-user Am Sonntag, den 11.07.2021 um 21:17:50 Uhr +0800 schrieb Dongliang Mu <mudongliangabcd@gmail.com>: > [...] > Thanks. There is only a file - *.ebuild file in this package. From the > package, I did not find out what .config file it uses. It seems this > script uses the config file of current system. Hi, look here: https://github.com/mgorny/gentoo-kernel-config In names of gentoo "packages" the -bin suffix indicates that it is a pre-built, binary package, so the maintainers use a configuration, build the kernel and upload everything as a binary package. Portage than installs the binary package when you would call 'emerge --ask gentoo-kernel-bin'. Some hints for reading ebuilds and finding stuff: The ebuilds are basically bash scripts, and to find functions called inside each ebuild you can search in the eclasses dir in https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass while you can find (most) of the eclass names from the line starting with 'inherit'. To find e.g. the link to the config I used the following workflow. Maybe it'll be of usage for you, too: https://packages.gentoo.org -> gentoo-kernel -> Git repository browser -> choose the package version -> link below: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-kernel/gentoo-kernel/gentoo-kernel-5.12.15.ebuild#n20 Kind regards, Nils ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: Inquiry about gentoo kernel configuration 2021-07-11 13:17 ` Dongliang Mu 2021-07-11 13:39 ` Nils Freydank @ 2021-07-11 13:45 ` Hayley 2021-07-13 15:20 ` Nikos Chantziaras 2 siblings, 0 replies; 14+ messages in thread From: Hayley @ 2021-07-11 13:45 UTC (permalink / raw To: gentoo-user On Sun, 2021-07-11 at 21:17 +0800, Dongliang Mu wrote: > On Sun, Jul 11, 2021 at 1:54 AM Nikos Chantziaras <realnc@gmail.com> > wrote: > > > > On 10/07/2021 12: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. > > > > You can use the one shipped in the sys-kernel/gentoo-kernel-bin > > package. > > > > Thanks. There is only a file - *.ebuild file in this package. From > the > package, I did not find out what .config file it uses. It seems this > script uses the config file of current system. > > > > sys-kernel/gentoo-kernel/gentoo-kernel-5.10.38.ebuild suggests that gentoo-kernel-bin is based off of fedora's kernel config. Hayley ^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: Inquiry about gentoo kernel configuration 2021-07-11 13:17 ` Dongliang Mu 2021-07-11 13:39 ` Nils Freydank 2021-07-11 13:45 ` Hayley @ 2021-07-13 15:20 ` Nikos Chantziaras 2021-07-13 16:16 ` Grant Edwards 2 siblings, 1 reply; 14+ messages in thread From: Nikos Chantziaras @ 2021-07-13 15:20 UTC (permalink / raw To: gentoo-user On 11/07/2021 16:17, Dongliang Mu wrote: > On Sun, Jul 11, 2021 at 1:54 AM Nikos Chantziaras <realnc@gmail.com> wrote: >> On 10/07/2021 12:15, Dongliang Mu wrote: >>> 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. >> >> You can use the one shipped in the sys-kernel/gentoo-kernel-bin package. > > Thanks. There is only a file - *.ebuild file in this package. From the > package, I did not find out what .config file it uses. It seems this > script uses the config file of current system. It ships its own .config. The easiest way here is to simply install gentoo-kernel-bin. After you get a system running that kernel, build your own, basing your new config on the existing one. ^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: Inquiry about gentoo kernel configuration 2021-07-13 15:20 ` Nikos Chantziaras @ 2021-07-13 16:16 ` Grant Edwards 0 siblings, 0 replies; 14+ messages in thread From: Grant Edwards @ 2021-07-13 16:16 UTC (permalink / raw To: gentoo-user On 2021-07-13, Nikos Chantziaras <realnc@gmail.com> wrote: >>> You can use the one shipped in the sys-kernel/gentoo-kernel-bin package. >> >> Thanks. There is only a file - *.ebuild file in this package. From the >> package, I did not find out what .config file it uses. It seems this >> script uses the config file of current system. > > It ships its own .config. The easiest way here is to simply install > gentoo-kernel-bin. After you get a system running that kernel, build > your own, basing your new config on the existing one. But remember: real Gentooers don't use modules or initrds. ;) -- Grant Edwards grant.b.edwards Yow! Oh my GOD -- the at SUN just fell into YANKEE gmail.com STADIUM!! ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2021-07-13 16:16 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-07-10 9:15 [gentoo-user] Inquiry about gentoo kernel configuration Dongliang Mu 2021-07-10 11:40 ` Ramon Fischer 2021-07-10 12:24 ` William Kenworthy 2021-07-10 17:23 ` Ramon Fischer 2021-07-11 13:11 ` Dongliang Mu 2021-07-11 14:48 ` Ramon Fischer 2021-07-11 13:07 ` Dongliang Mu 2021-07-10 15:03 ` Mark Knecht 2021-07-10 17:54 ` [gentoo-user] " Nikos Chantziaras 2021-07-11 13:17 ` Dongliang Mu 2021-07-11 13:39 ` Nils Freydank 2021-07-11 13:45 ` Hayley 2021-07-13 15:20 ` Nikos Chantziaras 2021-07-13 16:16 ` Grant Edwards
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox