Gentoo Archives: gentoo-user

From: Dale <dalek1967@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A pared down kernel config
Date: Sat, 05 Jan 2008 19:13:13
Message-Id: 477FD3B6.6000408@bellsouth.net
In Reply to: [gentoo-user] A pared down kernel config by reader@newsguy.com
1 reader@×××××××.com wrote:
2 > Configuring a new kernel is a dreaded task here. It seems I walk
3 > through a bewildering array of stuff that when pressing F1 on them I
4 > get more bewildering information I barely understand a word of.
5 >
6 > < SNIP >
7 >
8 > Can someone steer me to a more `in depth' tutorial? Or to something
9 > they've found to really throw some light the chore? Not necessarily
10 > about iptables but just the general chore of configuring a kernel
11 > wisely.
12 >
13 >
14
15 The first time is the hardest one. I did a make mrproper then ran make
16 menuconfig and just got started. The third time the kernel booted up at
17 least. The biggest thing is getting the file systems, drivers for your
18 drive controller and other critical things that are needed to boot up.
19 After that, you can add them as needed.
20
21 If you get a kernel that boots up fine and allows you to do things, save
22 it. I almost always have a couple old kernels laying around /boot.
23 That way if the current one gets corrupt or something, you can at least
24 fall back on a old one. That may not help if /boot is corrupt but you
25 get the idea. Here is my saved one and how I name them:
26
27 root@smoker / # ls -al /boot/bzImage-2.6.*
28 -rw-r--r-- 1 root root 2189488 2007-01-04 18:01
29 /boot/bzImage-2.6.18.gentoo-r6-1
30 -rw-r--r-- 1 root root 2357808 2007-06-08 05:47 /boot/bzImage-2.6.20-r8-1
31 -rw-r--r-- 1 root root 2389616 2007-06-08 07:01 /boot/bzImage-2.6.20-r8-2
32 -rw-r--r-- 1 root root 2396880 2007-06-13 01:53 /boot/bzImage-2.6.20-r8-3
33 -rw-r--r-- 1 root root 2417840 2007-08-31 23:10 /boot/bzImage-2.6.22-r5
34 -rw-r--r-- 1 root root 2421840 2007-11-25 13:26 /boot/bzImage-2.6.22-r9-1
35 -rw-r--r-- 1 root root 2437912 2007-12-18 04:25 /boot/bzImage-2.6.23-r3-1
36 root@smoker / #
37
38 The last number is the revision of that specific version. You may
39 notice it takes even me a couple times to get it right.
40
41 You may find that just like with the tutorials you have read, you are
42 going to be told different ways to do about everything. Each of us have
43 our own ways of doing things based on past experiences. Apply what
44 needs to be applied to your situation and keep it sane.
45
46 Hope this little bit of info helps.
47
48 Dale
49
50 :-) :-) :-)
51 --
52 gentoo-user@g.o mailing list