Gentoo Archives: gentoo-hardened

From: Kumba <kumba@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] kernel-guard
Date: Mon, 27 Feb 2006 04:55:40
Message-Id: 440285DA.3000309@gentoo.org
In Reply to: Re: [gentoo-hardened] kernel-guard by "René Rhéaume"
1 René Rhéaume wrote:
2 > Does genkernel has a feature that builds a temporary kernel, reboots
3 > the computer, performs hardware auto-detection (similar to LiveCDs)
4 > with the temporary kernel and rebuild a monolithic kernel based on
5 > auto-detection results?
6
7 Genkernel lacked support for building monolithic kernels up until 3.3.11 when a
8 --static flag was added for some livecd-building purposes (for the mips arch
9 mainly).
10
11 The rest of the features it doesn't currently do. Though, genkernel-4 is to be
12 more modular, so writing and adding this feature should be easier if so desired.
13
14
15 > I am a bit unconfortable on building monolithic kernels.
16
17 It's not too difficult. x86 systems don't really have a kernel memory limit
18 afaik, so as long as you know what hardware is in your system, and maybe what
19 future hardware you may add within the next 3-5 months; building a decent
20 monolithic kernel is rather easy.
21
22 Easiest way probably is configure a modular kernel the normal way, then once
23 everything is selected, disable loadable module support. All the menuconfig
24 items selected for modules will get selected to be built-in monolithically.
25
26
27 --Kumba
28
29 --
30 Gentoo/MIPS Team Lead
31 Gentoo Foundation Board of Trustees
32
33 "Such is oft the course of deeds that move the wheels of the world: small hands
34 do them because they must, while the eyes of the great are elsewhere." --Elrond
35 --
36 gentoo-hardened@g.o mailing list