2005-03-25

Working kernel .config for my machine?

from:
http://forums.gentoo.org/viewtopic.php?t=168763

---------

If you get a 2004.* livecd to boot, the configuration of the kernel that
booted your machine can be found in /proc/config.gz

An example: you booted your G5 with G5-SMP, installing a kernel is as simple
as:

emerge gentoo-dev-sources (installs a -2.6.5 kernel)
cp /proc/config.gc /usr/src/linux
cd /usr/src/linux
gunzip config.gz
cp ./config ./.config
make all modules_install

or

zcat /proc/config.gz > /usr/src/linux/.config

沒有留言: