ID
010046
Á¦¸ñ
Solaris 1.x¿¡¼ kernelÀ» »õ·Î ¸¸µå´Â ¹æ¹ý
ºÐ·ù
OS
Product
O/S
Solaris 1.x
Å°¿öµå
kernel rebuild vmunix
Solaris 1.x¿¡´Â /usr/kvm/sys/`/usr/bin/arch -k`/conf/
ÀÇ kernel configuration ÈÀÏÀÌ ÀÖÀ¸¸ç »õ·Î¿î kernelÀ» ¸¸µé±â À§Çؼ´Â ÀÌ ÈÀÏÀÇ ³»¿ëÀ» ¼öÁ¤ÇÑµÚ »õ·Î¿î kernel(vmunix)À» ÄÄÆÄÀÏÇØ¾ß ÇÑ´Ù. ¿¹¸¦µé¾î `/usr/bin/arch -k` ¸í·ÉÀ» ¼öÇàÇÑ °á°ú°¡ "sun4m"ÀÌ°í ÇöÀç »ç¿ëÇÏ´Â kernel À̸§ÀÌ "GENERIC-KOR" ¶ó¸é /sys/sun4m/conf/GENERIC-KOR ÈÀÏÀ» ¼öÁ¤ÇÏ¸é µÈ´Ù. ±×·¯³ª ÀÌ ÈÀÏÀ» Á÷Á¢ ¼öÁ¤ÇÏÁö ¸»°í ´Ù¸¥ À̸§ÀÇ ÈÀÏ·Î º¹»çÇѵÚ, ÀÌ »õ·Î¿î ÈÀÏÀ» ¼öÁ¤ÇÏ´Â °ÍÀÌ ÁÁ´Ù. ÇöÀç »ç¿ëÇÏ°í ÀÖ´Â kernel À̸§Àº /etc/motd ÈÀÏ¿¡¼ È®ÀÎÇÒ ¼ö ÀÖ´Ù. % cat /etc/motd Sun Microsystems Inc. SunOS 4.1.3 GENERIC-KOR August 1997 À§ÀÇ °á°ú¿¡¼ º¸¸é OS version ´ÙÀ½¿¡ º¸¿©Áö´Â GENERIC-KOR°¡ ÇöÀç »ç¿ëÇÏ´Â kernelÀÇ À̸§ÀÌ´Ù. kernelÀ» ´Ù½Ã ¸¸µå´Â ÀÛ¾÷Àº ¾Æ·¡¿Í °°ÀÌ ÇÏ¸ç ¹Ýµå½Ã root·Î loginÇÏ¿©¾ß ÇÑ´Ù. # cd /usr/kvm/sys/`/usr/bin/arch -k`/conf/ # cp GENERIC-KOR GENERIC-KOR-TAPE # vi GENERIC-KOR-TAPE »õ·Î Ãß°¡ÇÒ »çÇ×À̳ª º¯°æÇÒ »çÇ×À» Àû´Â´Ù # config GENERIC-KOR-TAPE # cd ../GENERIC-KOR-TAPE # make # mv /vmunix /vmunix.org # mv vmunix /vmunix # /etc/reboot ¸¸¾à À§ÀÇ ÀÛ¾÷ÈÄ ½Ã½ºÅÛÀ» »õ·Î¿î kernelÀ» ÀÌ¿ëÇÏ¿© rebootingÇϴµ¥ ¹®Á¦°¡ »ý±â¸é ¾Æ·¡¿Í °°ÀÌÇÏ¿© ±âÁ¸¿¡ »ç¿ëÇÏ´ø kernel·Î ´Ù½Ã single user mode·Î booting ÇÑÈÄ ±âÁ¸¿¡ »ç¿ëÇÏ´ø kernelÀ» ´Ù½Ã ¿ø·¡´ë·Î º¹±¸½ÃŲ´Ù. > boot vmunix.org -s # mv /vmunix /vmunix.new # ln /vmunix.org /vmunix # /etc/reboot