View previous topic :: View next topic |
Author |
Message |
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Thu Oct 31, 2013 7:49 pm Post subject: |
|
|
id make my own kernel, following manual kernel configuration wiki.... id rather screw it up and know what i needed to do next time by posting problems, rather than let someone else break my kernel for me. didnt you already build a kernel with genkernel? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Thu Oct 31, 2013 8:26 pm Post subject: |
|
|
gogobebe2,
Go with Pappys seeds. Disclosure - I host two of the mirrors.
If you really want to do it the hard way, this 8 year old method will work.
Many of the details have changed but the method is sound.
Pappy has done much of the hard work for you. Pappy also offers suppcrt _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Nov 01, 2013 3:18 am Post subject: |
|
|
666threesixes666 wrote: | id make my own kernel, following manual kernel configuration wiki.... id rather screw it up and know what i needed to do next time by posting problems, rather than let someone else break my kernel for me. didnt you already build a kernel with genkernel? |
I didn't configure it, but I got it... |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Fri Nov 01, 2013 7:18 pm Post subject: |
|
|
gogobebe2,
If you follow kernel-seeds and have problems many people here can help.
If you have problems with genkernel, most of the advice will be not to use it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sat Nov 02, 2013 12:34 am Post subject: |
|
|
NeddySeagoon wrote: | gogobebe2,
If you follow kernel-seeds and have problems many people here can help.
If you have problems with genkernel, most of the advice will be not to use it. |
I dont actually know what I am doing now. I thought i was using genkernel. I just got it. On the guide, most things are there so now i am really confused. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Sat Nov 02, 2013 11:17 am Post subject: |
|
|
gogobebe2,
With genkernel you shut yor eyes and hope it worked. In most cases, for running in Virtual Box, it does.
However, VBox provides some emulated SCSI hardware, which if you use, you must add to genkernel by hand.
kernel-seeds gives you a good lean mean .config file but with all the hardware options off.
The instructions on working with a kernel seed tell you how to determine the options you need.
As you say, most options are set for you. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Sat Nov 02, 2013 8:24 pm Post subject: |
|
|
LEARN LVM FROM THE ONSET!!!
perhaps zfs could do something similar.
btrfs shelved until support for raw, formatable volumes.
screw partitioning!! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Sat Nov 02, 2013 11:19 pm Post subject: |
|
|
_______0,
Please read the first few posts in this thread and temper your advice accordingly.
gogobebe2,
LVM is a complication you don't need on your first install. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Mon Nov 04, 2013 11:21 pm Post subject: |
|
|
NeddySeagoon wrote: | gogobebe2,
With genkernel you shut yor eyes and hope it worked. In most cases, for running in Virtual Box, it does.
However, VBox provides some emulated SCSI hardware, which if you use, you must add to genkernel by hand.
kernel-seeds gives you a good lean mean .config file but with all the hardware options off.
The instructions on working with a kernel seed tell you how to determine the options you need.
As you say, most options are set for you. |
Oh so does that mean all genkernel does is set some settings. But without genkernel all the settings are unset and u have to set them? So I have genkernel atm (I think) and I am following this guide: http://kernel-seeds.org/settings/3.2.x/settings-02.html |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Mon Nov 04, 2013 11:39 pm Post subject: |
|
|
Try:
Code: | export LOG_LEVEL=5 genkernel --menuconfig --all |
The menuconfig option allows you to see the menu that people use when doing it manually. You're mixing two approaches... _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Wed Nov 06, 2013 2:38 pm Post subject: |
|
|
Genkernel
If you downloaded and started the Install with the minimal install CD, you saw genkernel in action. Basically genkernel is the kernel automatic builder. It enables most common options as built-in and compiles all the drivers from the Drivers Section as Modules. There are nearly 1500 modules. The modules and system file layout are loaded into an initial RAM Disk, just like every other major distro, and during boot, the RAM Disk is loaded and the modules are uncompressed and loaded before your root partition is mounted. In essence, the system you boot with a genkerneled kernel will behave just like the livecd, and boot the system without help from you.
Pappy's Kernel Seeds
Imagine the seed as a template. The most common items that everyone uses based on common knowledge and experience are compiled as built-in, and the Drivers section is left empty. It's up to you to decide how to "fill in," or customize the Drivers to fit your system. While customizing, you are also free to edit the options that were chosen already. Using this method creates smaller kernels and no Initial RAM Disk. _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Wed Nov 06, 2013 3:17 pm Post subject: |
|
|
'how do i remove genkernel?'
as root...
emerge -C sys-kernel/genkernel-next sys-kernel/genkernel
setting up a manual vanilla kernel is pretty much the same as pappy's seeds only you don't insert a predefined configuration (that warned you not to edit manually .config in the first place) |
|
Back to top |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Wed Nov 06, 2013 6:30 pm Post subject: |
|
|
666threesixes666 wrote: | 'how do i remove genkernel?'
as root...
emerge -C sys-kernel/genkernel-next sys-kernel/genkernel | I'd recommend -c instead of -C ... it doesn't matter in this particular instance, but it's a bad habit to use -C when -c will suffice. For new users, it might be even better to suggest -ac so that portage will wait for confirmation before acting.
666threesixes666 wrote: | setting up a manual vanilla kernel is pretty much the same as pappy's seeds only you don't insert a predefined configuration (that warned you not to edit manually .config in the first place) | Pappy's seeds are not generated by manually editing .config; I'm not sure what you're referring to here. You are correct that you should not manually edit .config, but I don't see how it applies to this thread. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Thu Nov 07, 2013 5:13 pm Post subject: |
|
|
666threesixes666 wrote: | 'how do i remove genkernel?'
as root...
emerge -C sys-kernel/genkernel-next sys-kernel/genkernel
setting up a manual vanilla kernel is pretty much the same as pappy's seeds only you don't insert a predefined configuration (that warned you not to edit manually .config in the first place) |
Thanks everyone, I've decided to just stay with genkernel from all the comments
https://forums.gentoo.org/viewtopic-t-430596.html |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Thu Nov 07, 2013 5:32 pm Post subject: |
|
|
eyoung100 wrote: | You cannot do both, choose one approach or the other |
lol ik, I'll just read them both
Doesn't pappy's guide use genkernel? |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Thu Nov 07, 2013 6:34 pm Post subject: |
|
|
OK here goes... Genkernel is automated. You can make it not automated or behave differently with options and such. Pappy's Seeds are for manual configuration using and editing the .config file
Genkernel works by enabling thousands of Modules, as Modules, includes those modules in A RAM Disk and mounts the RAM Disk, which in turn mounts the filesystem.
Pappy's Seeds Contain the Basic Options used as defaults in most kernels, but the Device Drivers Section is empty, leaving you to fill it in with your hardware _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Last edited by eyoung100 on Thu Nov 07, 2013 6:47 pm; edited 1 time in total |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Nov 07, 2013 6:36 pm Post subject: |
|
|
In short, no. Out of the box, genkernel provides its own canned "kitchen sink" kernel configuration that enables almost all options as loadable modules (which makes the kernel compile time enormous but doesn't affect run time much). A standard gernkernel built kernel then depends on runtime hardware detection to load the appropriate modules for your hardware.
In contrast, Pappy's Kernel Seeds are minimal correct configurations with no hardware support whatsoever. You must edit the .config (by installing it in /usr/src/linux and then running "make menuconfig" or equivalent) to add the hardware and filesystem options you need.
Now, genkernel can be convinced to use such a configuration, if you like. If that's what you want to do, just ask and I'll explain.
Edit: Yep. What he said.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Nov 08, 2013 3:11 am Post subject: |
|
|
Ok I think I got it.
Just to make sure:
So genkernel is just something that does all your settings automatically
Pappy is a guide to tell you how to configure the config of your own kernel
Should I remove genkernel? Because I am gonna follow pappy's guide and do |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri Nov 08, 2013 5:00 am Post subject: |
|
|
Quote: | So genkernel is just something that does all your settings automatically |
Not really, it just enables lots of common drivers in hope your hardware is common, too. You will get many unnecessary modules and you still may need to add drivers manually for your not-so-common hardware. If anything comes close to automatic it is make localmodconfig.
Quote: | Should I remove genkernel? Because I am gonna follow pappy's guide and do make menuconfig |
I've never used genkernel, but I do not think it has much to do with kernel sources. Which means you can remove it or keep it, it won't affect your manual kernel configuration. BTW, you can do make xconfig or gconfig or config or menuconfig or nconfig ... latter being my favorite. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Nov 08, 2013 8:36 pm Post subject: |
|
|
Jaglover wrote: | Quote: | So genkernel is just something that does all your settings automatically |
Not really, it just enables lots of common drivers in hope your hardware is common, too. You will get many unnecessary modules and you still may need to add drivers manually for your not-so-common hardware. If anything comes close to automatic it is make localmodconfig.
Quote: | Should I remove genkernel? Because I am gonna follow pappy's guide and do make menuconfig |
I've never used genkernel, but I do not think it has much to do with kernel sources. Which means you can remove it or keep it, it won't affect your manual kernel configuration. BTW, you can do make xconfig or gconfig or config or menuconfig or nconfig ... latter being my favorite. |
Oh thankyou. |
|
Back to top |
|
|
|