Re: Replicating Kernel config produced by Debian Installer
On Wednesday 09 June 2004 07:54 pm, Michael Bellears wrote:
> If I copy the kernel config generated by Debian Installer
> (/boot/config-2.4.25-1-386) to /usr/src/linux-2.4.25/.config, should the
> resulting compiled kernel be identical to the Debian Installer generated
> kernel?
>
> If so, adding appropriate lilo entries should then allow me to use this
> new kernel - Correct?
In theory, yes. I recently did something similar with the debianized 2.4.26
sources and it worked out fine.
> I'm under the impression that I would need to compile things like the
> raid controllers etc into the kernel, rather than as modules?(Although
> Debian Installer compiles them as modules, and the System boots fine?)
I'd say the Debian style initrd maker thingie (*) probably takes care of that
somehow, though I don't have any experience with RAID. I have noticed that
it tries to load several completely useless modules at every boot, and I'd
wager RAID stuff is probably in there. Seems to be an all things to all
people solution.
I did find that reconfiguring the kernel to avoid the initrd was a bit of
work. So much work that I gave up after three botched attempts, and finally
decided to just to live with the initrd and all the superfluous crap it tries
to load.
(*) I'm not sure what the mechanism is. A debianized makeinitrd script
maybe. I haven't looked. I've been building kernels with make-kpkg and
passing in an --initrd-something-or-other option to get it to do its magical
bit.
--
Michael McIntyre ---- Silvan <dmmcintyr@users.sourceforge.net>
Linux fanatic, and certified Geek; registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
Reply to: