lscpu
cat /proc/cpuinfo
lspci
www.kernel.org
make remove
make mrproper
make distclean
make config
make oldconfig
make menuconfig
make xconfig
y *.c->.o->.Iamge
m *.c->.o
n *.c
make zImage (<512k的kernel)
make bzImage
可加参数 V=1 (看详细编译信息)
编译好后在arch/<cpu>/boot/目录下
make modules
make modules_install
mkinitrd initrd-$version $version
mkinitrd initrd-3.10.2 3.10.2
cp /usr/src/kernels/linux-2.6.18/System.map /boot/System.map-2.6.18
cp /usr/src/kernels/linux-2.6.18/arch/i386/bzImage /boot/bzImagei
vi /etc/grub.conf 或 /etc/lilo.conf