On Fri, 8 Apr 2011 16:58:26 -0400 Neal Murphy <neal.p.mur...@alum.wpi.edu> wrote:
> If the specific kernel option is enabled, one can 'zcat /proc/config.gz' to > obtain the config used to build the running kernel. Yes, but it's a chicken and egg situation. The first time you compile a kernel on a new computer all you have is the generic config from the distro you used to install LFS. It would be nice if there was a simple script that would use lsmod, lspci, lshw, dmidecode or whatever to probe the hardware and write a basic .config for you that would at least have some sensible defaults and would boot. If you just took the ubunut (or whatever) .config it would have _everything_ enabled as a module and it would take forever to compile. A script that at least disabled support for hardware you don't have would save a lot of time. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page