View previous topic :: View next topic |
Author |
Message |
gregymann n00b
Joined: 08 May 2013 Posts: 7
|
Posted: Fri Jun 07, 2013 8:39 pm Post subject: Wanna help a noob with modules? |
|
|
Hey all,
I am very new to linux in general. I'm installing on an ASUS G75VW laptop. I used genkernel and I'm trying to configure the modules. I have no clue what modules i am supposed to be loading. Any guidence would be greatly appreciated |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Jun 07, 2013 8:44 pm Post subject: |
|
|
my off the record response is load xubuntu iso, try it... run lsmod, and it will say what modules are loaded, pastebin it... then write down the url. boot back to gentoo & then hit '/' in kernel configuration type out the module names to hunt them down in the kernel config. beware of sata controllers and file systems, as you need them to boot your system, dont module those, compile them in. |
|
Back to top |
|
|
gregymann n00b
Joined: 08 May 2013 Posts: 7
|
Posted: Fri Jun 07, 2013 9:01 pm Post subject: |
|
|
666threesixes666 wrote: | my off the record response is load xubuntu iso, try it... run lsmod, and it will say what modules are loaded, pastebin it... then write down the url. boot back to gentoo & then hit '/' in kernel configuration type out the module names to hunt them down in the kernel config. beware of sata controllers and file systems, as you need them to boot your system, dont module those, compile them in. |
Ok.....so where do i start back once reboot the gentoo installation cd? Im assuming i need to mount everything again |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jun 07, 2013 9:28 pm Post subject: |
|
|
you do not need to do anything with modules if doing a handbook install using genkernel -all. Handbook step, 7.d. Kernel Modules, is optional and should be skipped. Auto will take care of you. _________________ Defund the FCC. |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Fri Jun 07, 2013 9:49 pm Post subject: |
|
|
genkernel includes a huge amount of modules (for all possible hardware configuration) so you get a bloated kernel and a lot of modules that do not need.
Since you have a gentoo installed and successfully bootable, boot into, navigate to /usr/src and build the kernel suitable for your hardware.
You can start with "make localmodconfig". It will produce .config depending on your hardware. Once you will get new .config, rebuild kernel (and install modules as well) and reboot with your new kernel. Look at lsmod output - it should show a less modules than you have now.
After that you can rebuild kernel once more (fine tuning), this time with "make menuconfig".
P.S.
Before running "make localmodconfig" connect all the external devices you planning to use. Usb, hid-devices and so on.
P.P.S.
genkernel builds kernel images and initramfs and moves them to /boot.
If you will decide to build your own kernel you should build them yourself and move to /boot. As well as run "make modules_install".
All the steps described in gentoo wiki |
|
Back to top |
|
|
|