View previous topic :: View next topic |
Author |
Message |
Moopie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jul 2014 Posts: 8 Location: France
|
Posted: Sun Dec 25, 2016 5:00 pm Post subject: Generic kernel like funtoo ? |
|
|
Hello folks,
I was searching if it is possible to have a generic kernel in my Gentoo ? I know, with Funtoo you have the choice to get debian-sources which is a debian kernel configured.
I know that's not the way it meant to be installed on Gentoo, but it can be more user friendly for beginners.
Thanks,
Moopie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Roman_Gruber Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Dec 25, 2016 7:05 pm Post subject: |
|
|
look up genkernel
look up kernel seeds, like pappy kernel seeds
please also read gentoo wiki
please read sections about making kernels on gentoo handbook / wiki
Quote: | I know that's not the way it meant to be installed on Gentoo, but it can be more user friendly for beginners. |
well it is more user friendly as windows 10 which tells you this or that
is is more user friendly regarding installing software as ubuntu / linux mint ...
everything a point of view at the end of the day |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54845 Location: 56N 3W
|
Posted: Sun Dec 25, 2016 7:29 pm Post subject: |
|
|
Moopie,
Roman_Gruber has pointed you in the right direction. I'll add a few words of caution.
Its not possible to have a working one size fits all kernel. This is because some options conflict with others.
In many cases, you are permitted to select conflicting options but you need to deal with that later, if you can.
Genkernel will build you a kernel that will boot and provide wired networking for most users.
For Xorg video misapplication, it will probably need some fine tuning. Video is an area where the options you have off are as important as the options that are on in the kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rufnut Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 16 May 2005 Posts: 252
|
Posted: Sun Dec 25, 2016 8:11 pm Post subject: |
|
|
You can also try some of the live distro based on Gentoo.
https://wiki.gentoo.org/wiki/LiveUSB
I use systemrescuecd for repairs and a quick test of machines.
After booting you could save the booted config and work from there.
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Moopie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jul 2014 Posts: 8 Location: France
|
Posted: Mon Dec 26, 2016 10:25 am Post subject: |
|
|
Thanks all for your answers,
Maybe i forget to mention i'm not new to the gentoo world and i know how to configure a kernel. The problem is, every time i install gentoo on a conputer, i have to configure a kernel for this computer. So, maybe the most 'gentoo-like' solution is to compile everythings as modules and load them at the boot ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szatox Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 27 Aug 2013 Posts: 3499
|
Posted: Mon Dec 26, 2016 11:37 am Post subject: |
|
|
Bravo, Moople, that's pretty much what genkernel does: build everything as modules and run hardware discovery during boot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kohina n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20204338605a18ac6046ce7.jpg)
Joined: 21 Dec 2016 Posts: 10
|
Posted: Wed Dec 28, 2016 1:07 am Post subject: |
|
|
rufnut wrote: | You can also try some of the live distro based on Gentoo.
https://wiki.gentoo.org/wiki/LiveUSB
I use systemrescuecd for repairs and a quick test of machines.
After booting you could save the booted config and work from there.
![Smile :)](images/smiles/icon_smile.gif) |
Systemrescuecd is a godsend, it has saved me too many machines. The automatic recovery is superb and I recommend everyone keeps it on a disk at hand. _________________ I was once surrounded by beautiful gentoo boxen but they've all withered away due to portagetic arrest (death resulting from portage failure). The atom, the core2duo, the athlon... may these brave souls find peace in the afterlife. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Roman_Gruber Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Thu Dec 29, 2016 7:01 pm Post subject: |
|
|
Moopie wrote: | Thanks all for your answers,
Maybe i forget to mention i'm not new to the gentoo world and i know how to configure a kernel. The problem is, every time i install gentoo on a conputer, i have to configure a kernel for this computer. So, maybe the most 'gentoo-like' solution is to compile everythings as modules and load them at the boot ? |
Well for every new installtion. I move my existing installation from box to box.
make kernel by hand
bootloader by hand
set up partition layout + filesystem by hand
fine-tune xorg-server, as said for the gpu driver
anything else can be reused when you upgrade and keep e.g. intel => intel for example for the cpu.
---
Well i still remember a few months ago
some livedvds did not work here
some distros did not work out of the box here
Not even in the windows world, e.g. windows 95 / 98 some stuff worked, because no drivers were available, or on future windows releases there were no drivers.
--
so a one fits all operating system, nope.
maybe MSDOS for basic tasks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ant P. Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Dec 29, 2016 11:56 pm Post subject: |
|
|
Moopie wrote: | Thanks all for your answers,
Maybe i forget to mention i'm not new to the gentoo world and i know how to configure a kernel. The problem is, every time i install gentoo on a conputer, i have to configure a kernel for this computer. So, maybe the most 'gentoo-like' solution is to compile everythings as modules and load them at the boot ? |
When you're in a livecd chroot, just do `make localyesconfig` or `make localconfig` and you've saved yourself an hour. Tweak the remainder (processor type, GPU if you're installing without X, etc.) with nconfig. Do all this while your initial emerge @world is running and it wastes no time at all. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
augustin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 23 Feb 2015 Posts: 318
|
Posted: Fri Dec 30, 2016 9:30 am Post subject: Re: Generic kernel like funtoo ? |
|
|
Moopie wrote: | Hello folks,
I know that's not the way it meant to be installed on Gentoo, but it can be more user friendly for beginners.
|
Others have already replied to the fact that genkernel is the 'Gentoo Way' to have a generic kernel, so in the short term, this is the way to go.
I agree that configuring a custom kernel should be easier and more friendly for beginners.
Here are some tools that I know of to find which modules your hardware needs, but it's very far from being beginner-friendly and fool-proof:
http://linux.overshoot.tv/wiki/find_which_linux_modules_are_used_or_needed
According to the following:
http://linux.overshoot.tv/wiki/proposed_tool_check_kernel_configuration#kergen
sys-kernel/kergen is a python script that could be used to generate a custom kernel .config for your hardware. I have not tried it yet, but I'll do so next time I upgrade my kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jonathan183 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 13 Dec 2011 Posts: 318
|
Posted: Fri Dec 30, 2016 12:40 pm Post subject: |
|
|
Ant P. wrote: | When you're in a livecd chroot, just do `make localyesconfig` or `make localconfig` and you've saved yourself an hour. Tweak the remainder (processor type, GPU if you're installing without X, etc.) with nconfig. Do all this while your initial emerge @world is running and it wastes no time at all. |
I have tended to do a genkernel on new hardware so I know the kernel will boot ... might give this a try on the next install ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cwr Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sat Dec 31, 2016 2:16 pm Post subject: |
|
|
Ubuntu has a "universal" kernel, which takes forever to load, and an enormous amount of disk space,
since it contains every known module.
I guess the kernel config is somewhere in the current Ubuntu distribution, but I don't know where.
Will |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|