|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 40 article |
2001-08-21 05:27:14 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
Ä¿³Î ÄÄÆÄÀÏ ¼ø¼. |
|
|
Ä¿³Î ¼Ò½º¸¦ ¹Þ´Â´Ù.( http://www.kr.kernel.org/pub/linux/kernel/)
¼Ò½º¸¦ /usr/src ¹æÀ¸·Î ¿Å±ä´Ù.(¿¹: mv linux-2.2.12.tar.gz /usr/src )
Àü¿¡ ÀÖ´ø Ä¿³Î¼Ò½º /usr/src/linux µð·ºÀº ´Ù¸¥À̸§À¸·Î ¹Ù²Ù´øÁö Áö¿ö¶ó.(¿¹: mv linux linux-2.2.11)
¸¸¾à linux¶ó´Â À̸§À¸·Î ½É¹ú¸¯ ¸µÅ©µÇ¾îÀÖ´Ù¸é ¸µÅ©¸¸ ÇØÁ¦Ç϶ó.(¿¹: rm linux)
Ä¿³Î ¼Ò½º¸¦ Ǭ´Ù.(¿¹: tar xvvzf Ä¿³Î¹öÀü.tar.gz ¶Ç´Â tar xvvIf Ä¿³Î¹öÀü.tar.bz2)
linux¶ó´Â µð·ºÅ丮°¡ »ý°åÀ» °ÍÀÌ´Ù. ±× µð·ºÀ¸·Î µé¾î°£´Ù.( cd linux )
# make menuconfig ( ÇöÀç À§Ä¡ /usr/src/linux )
Ä¿³Î ÄÄÆÄÀÏ ¿É¼ÇÀ» º¸°í ½Ã½ºÅÛ¿¡ ¸Â´Â°É ¼±ÅÃÇÑ´Ù.(Áß¿äÇÏ´Ù!)
# make clean (¿¹Àü ¿ÀºêÁ§Æ® ÆÄÀÏ Á¦°Å)
# make dep (ÀÇÁ¸¼ºÀ» °Ë»ç)
# make bzImage (Ä¿³Î À̹ÌÁö¸¦ ¾ÐÃà»ý¼ºÇÑ´Ù.)
# mv arch/i386/boot/bzImage /boot/vmlinuz-Ä¿³Î¹öÀü (¿¹: mv arch/i386/boot/bzImage /boot/vmlinuz-2.2.12)
# mv System.map /boot/System.map-Ä¿³Î¹öÀü (¿¹: mv System.map /boot/System.map-2.2.12)
# vi /etc/lilo.conf ( ¸®·Î¸¦ ÆíÁýÇÑ´Ù )
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.12 -> »õ·Î¿î Ä¿³ÎÀ̹ÌÁö¸¦ linux¶ó´Â
label=linux ? ·¹À̺í·Î ÇÑ´Ù.
root=/dev/hda1
read-only
image=/boot/vmlinuz-2.2.11 -> Ȥ½Ã³ª ¸ð¸¦ Ä¿³Î Æдп¡ ´ëºñÇÏ¿©
label=old ¿¹Àü Ä¿³ÎÀ» old¶õ ·¹À̺í·Î Çسõ´Â´Ù.
root=/dev/hda1 (¿¹Àü ¹öÀüÀÌ 2.2.11À϶§)
read-only
# /sbin/lilo ( lilo.confÀÇ ³»¿ëÀ» ÀνĽÃÄÑ ÁÖ±âÀ§ÇØ )
¿©±â±îÁö Ä¿³Î ÄÄÆÄÀÏÀº °úÁ¤Àº ³¡. ¸ðµâ ÀνºÅç Çϱâ
Ä¿³Î ¿É¼Ç¿¡¼ ¸ðµâ(M)À¸·Î ¼±ÅÃÇÑ°ÍÀ» ÄÄÆÄÀÏ ÇϱâÀ§ÇØ
# cd /usr/src/linux
# make modules
# make modules_install
À§¿Í°°ÀÌ Çϸé '/lib/modules/Ä¿³Î¹öÀü' µð·º¿¡ ¸ðµâµéÀÌ À§Ä¡ÇÑ´Ù.
|
|
Page Loading [ 0.09 Sec ]
SQL Time [ 0 Sec ]
|
|
|