kernel 컴팔....

linux 2007. 3. 15. 22:38
cd /usr/src

tar zxf linux-x.xx.xx.tar.gz

ln -s <new-kernel> /linux

cd /usr/include

mv asm asm.old / mv linux linux.old

ln -s /linux/include/asm-i386 asm

ln -s /linux/include/asm-generic asm-generic

ln -s /linux/include/linux linux

cd /linux

cp /boot/config.x.xx.xx ./linux

make mrproper

make menuconfig <-- linux config-file load

make dep

make clean

make bzImage

make modules

make modules_install

make install

( cd arch/i386/boot/

cp <new-kernel-image> /boot/vmlinuz-x.xx.xx

vi /etc/lilo.conf or vi /etc/grub.conf)
Posted by efrit
,