Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Basic kernel configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dmgdev
n00b
n00b


Joined: 28 Oct 2009
Posts: 4
Location: Bulgaria

PostPosted: Sun Nov 01, 2009 9:44 pm    Post subject: Basic kernel configuration Reply with quote

Can someone help me with the basic configuration of the kernel? What I mean:
- What are the main(mandatory) "things" that must be added to compile/install;
- Which of them must necessarily be compiled/installed with the kernel(not as modules);

Already one week I'm trying to install gentoo(on my laptop - dell studio 1537), but something I don't make right.
Thanks in advance and best regards!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54797
Location: 56N 3W

PostPosted: Sun Nov 01, 2009 10:12 pm    Post subject: Reply with quote

dmgdev,

You must make your hard drive low level and high level drivers as <*> and also the option for your root filesystem as <*>
Everything else can be modular <M>

The reason is that kernel modules are stored on the root filesystem, so you must be able to mount root (/) to read modules.

Try one of Pappys Seeds to get you started.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54797
Location: 56N 3W

PostPosted: Sun Nov 01, 2009 10:18 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware by request of the OP
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dmgdev
n00b
n00b


Joined: 28 Oct 2009
Posts: 4
Location: Bulgaria

PostPosted: Mon Nov 02, 2009 2:09 am    Post subject: Reply with quote

Thanks for the link! Is the output of this:
Code:
sudo lspci -vvv

enough information for my hardware?

Forgive my ignorance...

Best regards!
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 895
Location: Germany

PostPosted: Mon Nov 02, 2009 8:32 am    Post subject: Reply with quote

Hello,

if you're in the site of Pappy's Kernel Seeds, all you have to do is run lspci -n. This data you copy and paste into the form the link on Pappy's site points to and it'll tell you which Kernel drivers you need.

lspci -vvv is a bit much.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54797
Location: 56N 3W

PostPosted: Mon Nov 02, 2009 6:28 pm    Post subject: Reply with quote

dmgdev,

If you post in Pappys thread he is more likely to see your post.
Do try to follow Pappys instructions first though. If it fails you can tell what you did and what happened.

Ignorance is never a problem. That can be cured with education. It needs no forgiveness.
Indeed, teaching is a pleasure, which is why I'm still here. On the other hand, stupidity is forever.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Mon Nov 02, 2009 8:39 pm    Post subject: Reply with quote

You can also use genkernel. This should get you up and running pretty quickly:

Code:
# emerge genkernel
# genkernel all



grub.conf for genkernel users
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.30-r5
root (hd0,0)
kernel /boot/kernel-genkernel-amd64-2.6.30-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3
initrd /boot/initramfs-genkernel-amd64-2.6.30-gentoo-r5

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=10
Back to top
View user's profile Send private message
sk8harddiefast
Guru
Guru


Joined: 15 Feb 2009
Posts: 335
Location: athens

PostPosted: Tue Nov 03, 2009 8:20 pm    Post subject: Reply with quote

Code:
emerge genkernel

Code:
emerge gentoo-sources

Code:
cd /usr/src

Code:
ln -s linux-2.60.30-gentoo-r8 linux
(make link of your kernel,named as linux)
Code:
cd linux

Code:
genkernel --bootloader=grub all
(set the new kernel to grub automatically)
Code:
genkernel --menuconfig --bootloader=grub all
(you can config manualy the kernel , make automaticaly build of your configured kernel and set the new kernel to grub automatically)
Code:
genkernel --xconfig --bootloader=grub all
(same as genkernel --menuconfig --bootloader=grub all.the difference is that menuconfig is for verbose mode.For xconfig,xserver must to be up.you must to run into a window manager like gnome,fluxbox or anyone else!!)
_________________
Compile The Universe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum