stupid thing panicked again.

:-)~MIKE~(-:

On Fri, Sep 12, 2014 at 1:18 AM, Pierre Labastie <[email protected]>
wrote:

> Le 12/09/2014 09:49, Michael Havens a écrit :
>
>  On Wed, Sep 10, 2014 at 11:43 PM, Pierre Labastie <
>> [email protected] <mailto:[email protected]>> wrote:
>>
>>
>>
>>     What I would do for a first LFS build is to copy the host
>>     configuration (on Debian, it is /boot/config-<kernel-version>) to
>>     .config
>>     after running "make mrproper", then type "make oldconfig" (you may
>>     have to answer a few questions if the LFS jernel is newer than the
>>     one on the host). Then build the kernel (make; make
>>     modules_install and so on). Then try to boot the new LFS. If it
>>     starts, then you can begin to trim down your configuration.
>>     The first thing to do is "lsmod": it shows you the loaded modules,
>>     that is: what is needed for your harware. It is not always easy to
>>     find the configuration switch from the module name, but doing a
>>     search on the module name often allows to find it.
>>
>>     Then go with trial and error...
>>
>>
>> Thanks Pierre, I'd like to do that but I don't know how to copy a file
>> into the chroot environment..... I know!Would it mess things up to exit the
>> chroot environment and to just copy it to /boot/.config on the lfs
>> partition? Then I would go back into chroot  and 'mkmrproper' and then
>> 'make oldconfig'. Does that sound like a plan? I would just go ahead and do
>> it but I am afraid of messing things up with the chroot environment.
>> :-)~MIKE~(-:
>>
>>  I meant that you do that when compiling the kernel, that is:
> while in chroot:
> untar the kernel into sources
> change dir to the extracted directory
> run "make mrproper"
> then:
> either exit chroot and copy /boot/config-XXXX to
> /mnt/lfs/sources/<extracted dir> then reenter chroot
> or open another terminal on the host and copy /boot/config-XXXX to
> /mnt/lfs/sources/<extracted dir>
>
> then run "make oldconfig", except that other persons on this list have
> corrected me with reasons! you should ensure that
> some items are built in the kernel and not as modules. So it is better to
> run "make menuconfig" and then to untick "Enable module support". Then
> everything is built in the kernel (this will make a very big and long to
> load kernel, but at least, it should work...)
>
> Regards,
>
> Pierre
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to