CentOS5.4ã®ã«ã¼ãã«ã2.6.33.2ææ°ã«ããï¼ã¨ããããVMware Fusionä¸ã§ï¼
æè¿å¿ããã£ã¦ãä¹
ã
ã®æ´æ°ã
ããã£ã¨æãèå³ã ãã§Linuxã«ã¼ãã«ã®åæ§ç¯ããããã¨ããã£ããã©ãå½æç¹ã«ç®çãç¡ãã£ãããããè³ã¿ãã«å
¨ãæ®ã£ã¦ããªãã£ãã®ã§å度ææ¦ã
ææ¦ã£ã¦è¨ãããææ°ã®ã«ã¼ãã«ãããªãã¨é§ç®ã£ã½ãæ¡ä»¶ãããã®ã§ãæ¤è¨¼ãã¦ããã£ã¦ã¿ã¾ããã
ä»æ¥ã¯ãiMAC + OS X 10.6.3 SnowLeopard ã«VMware Fusionã«CentOS5.4ãã¤ã³ã¹ãã¼ã«ããç°å¢ã§åãããããã¹ããã¦ã¿ã¾ãããè¶
ã¯ã¾ã£ãã®ã§ãå¿ããªããã¡ã«ã¡ã¢ã
CentOS5.4ãã¤ã³ã¹ãã¼ã«ãã¦ãyum ã§ææ°çã«ã¢ãããã¦ããã¾ãã
ãã®æç¹ã§ã®ã«ã¼ãã«ã¯2.6.18-164.15.1.el5 ã§ããã
ã¾ãææ°çã®ã«ã¼ãã«ãããï¼ftp://ftp.jp.kernel.org/pub/linux/kernel/v2.6/ï¼ããåã£ã¦å±éãã¨ãã¾ãã
cd /usr/src/kernels/
wget wget ftp://ftp.jp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.2.tar.gz
tar zxvf linux-2.6.33.2.tar.gz
cd linux-2.6.33.2
ã¤ã³ã¹ãã¼ã«æã®.configãã³ãã¼
cp /usr/src/kernels/2.6.18-164.15.1.el5-i686/.config /usr/src/kernels/linux-2.6.33.2/
ã¤ã³ã¹ãã¼ã«æã®configãææ°ã«ã¼ãã«ã«å¼ç¶ã
åãæ°ã®é ç®ã§ãã©ã¤ãã¼çãã©ããããèããã¾ãããããã人ã¯ç°å¢ã«ãããã¦æ±ºãã¦ãã ããã
make oldconfig
ä»åã¯ããã¹ã¦Enterã§åãæãã¾ãã
ã«ã¼ãã«ãªãã·ã§ã³ã®é¸æ
ããã§ãã¨ã©ã¯ã¾ãããã®ã§æ³¨æã
[General Setup] â [deprecated sysfs features to support old userspace tools] ãenableã«ããªãã¨ãããªãã£ãããã§ããã®ã¾ã¾ä½ãããã«æå¾ã¾ã§è¡ã£ã¦åèµ·åããã¨ã«ã¼ãã«ãããã¯ã«é¥ãèµ·åã§ããªããªãã¾ãã
make menuconfig
[select]ãenterã§é¸æãã¦
ã[*]ã«ãã¾ãã
ãã§ãè¨å®ãçµãã£ããã¤ãã§ã«ã«ã¼ãã«ã«ååãã¤ãã¨ãã¾ãã
Kernelã«ååãã¤ããã«ã¯ããEXTRAVERSIONããå¤æ´ãã¾ãã
ä¸ã®å ´åã¯ãã2.6.33.2.qloogtestãã£ã¦ååã®ã«ã¼ãã«ã«ãªãã¾ãã
# vi Makefile
EXTRAVERSION = .2.qloogtest
å®éç¨ãªããã£ã¨ããããããã¤ããå¿ è¦ãããã¾ãããä»æ¥ã¯ãã¹ããªã®ã§ã
ã»ãã§ãã£ã¦ããã¨ã¯åæ§ç¯ä½æ¥ã§ãã
ããããã¾ãæéããããã
make clean && make -j2 bzImage && make -j2 modules && make modules_install && make install
- j2ã§2ã³ã¢ã使ãã¨ããæå³ããããã¯ã¢ããã³ã¢ã®äººã¯-j4ã ããã§ã
åæ§ç¯ãçµãã£ãããGRUBã®è¨å®ãå¤æ´ãã¦æ°ã«ã¼ãã«ãããã©ã«ãã§ãã¼ããããããã«å¤æ´
ä¿åãã¦åèµ·å
# vi /etc/grub.conf
#boot=/dev/sda
default=0 âããã0ã«ã
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.33.2.qloogtest)
root (hd0,0)
kernel /vmlinuz-2.6.33.2.qloogtest ro root=/dev/VolGroup00/LogVol00
rebootããã§2.6.33.2.qloogã«ã¼ãã«ã§èµ·åãã¦ã¾ããåèµ·åããã
# uname -r
2.6.33.2.qloog
æéã¯æãããã©ãã¯ã¾ããªããã°ããã»ã©é£ãããªãã
VMwareã使ãã¨ãã¹ãããã·ã§ãããåããã®ã§ãããªæãã®æ¤è¨¼ä½æ¥ã¯æ¥½ã§ããªãã
解決ããã¾ã§ã«ãã¼ã«ããã¯ãä½åº¦ãããã¨ãã»ã»ã»ã
è¦ãã¨ããã¨ã©ã¼ãç¡ããããªã®ã§ãå®ãµã¼ãã¼ã§ãã£ã¦ã¿ããã