Linux
CentOS Kernel 3.7 Compile
Gh0st_Sp1der
2013. 7. 12. 16:53
OS : CentOS 6.2
Kernel : 3.7
커널 다운로드
www.kernel.org 에서 다운받는다.
# tar xvfz linux-3.7.tar.gz
# cd linux-3.7
# make mrproper
# make clean
# cp /boot/config-'uname -r' ./.config
# make menuconfig
기존 2.6.x kernel과 다르게 아래 select exit help 외 save load 탭이 생겼다.
load 에서 .config를 불러온다.
General setup -->
Enable deprecated sysfs features to support old userspace tools 를 y로 선택
# make all -j 8(core 수)
# make modules_install
# make install
# reboot 한 후 커널 선택
p.s make modules_install 에서 네트워크 관련 Error 발생 시
http://gh0stsp1der.tistory.com/95 에서 확인
인용 : http://binarysignal.tistory.com/18 (쉽게 스크린샷으로 나와있음)