tw3akurb0x at yahoo.com
Sun Sep 9 11:56:28 PDT 2012
communication skills are a personal weakness, please allow me to elaborate further... LOL
my question is about menuconfig... in several howto web pages they refer to copying the /boot/.config file from the distro currently running to the .config file in the build directory to use as a starting point . Then loading that .config file as and "alternate file" and continuing the customization from there.
As simply stated as I can think to ask, if I load an "alternate" config as stated above, and then make new choices in menuconfig such as running "make localmodconfig" does this action "append" the .config file or make a new one?
P.S. thanks for your generous effort in my behalf.
From: Bruce Dubbs <bruce.dubbs at gmail.com>
To: Robert Cox <tw3akurb0x at yahoo.com>; LFS Support List <lfs-support at linuxfromscratch.org>
Sent: Sunday, September 9, 2012 1:04 PM
Subject: Re: [lfs-support] prerequisites
Robert Cox wrote:
> I'm a bit stuck... menuconfig.. and the file .config coping over my
> distro's config file to .config in the build directory then loading
> it to menuconfig making additional changes to customize the
> configuration?, the question is does menuconfig "append" each time I
> run it like with make localmodconfig? would I just be better off
> using gedit or vi to hand edit this file?
No, don't hand edit.
What I do is as the book states:
cp arch/x86/boot/bzImage /boot/vmlinuz-<current-ver>
cp .config /boot/config-<current-ver>
cp System.map /boot/System.map-<current-ver>
You are not overwriting the distro's config, you are copying your custom
config to a new file name in /boot. Change <current-ver> to make it a
Don't use your distro's .config. They build virtually all possible
modules as modules. That means you need an initrd for simple things
like ext3 partitions, the build takes muck longer, and it is huge.
Read the hint referenced in the book about how to configure the kernel.
Unsubscribe: See the above information page
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support