ÇÁ·¹ÀÓ¹öÆÛ¸¦ ÀÌ¿ëÇÑ
LPP(Linux Progress Patch) »ç¿ëÇϱâ

ÇÊÀÚ : ÀÌ¿ìÁß (wjlee@debianusers.org)

 

     

    Âü°í¹®Çå:

    Ä¿³Î¹®¼­
    Documentation/fb/vesafb.txt by Nico Schmoigl (schmoigl@rumms.uni-mannheim.de)
    Documentation/fb/framebuffer.txt by Geert Utterhoeven (geert@linux-m68k.org)
    Linux Progress Patch
    LPP web site (http://lpp.freelords.org)
    KDTP(Korean Debian Tips Project) ¹®¼­: Ä¿³ÎÆÐÅ°Áö ¸¸µé±â - °¡¶ô¼è (galax@debianusers.org)
    kernel-package Man page

    ÇÊÀÚÀÇ Å×½ºÆ®È¯°æ:
    Debian GNU/Linux (SID)
    Kernel 2.4.0

    ----------------------   ¸ñÂ÷   -------------------------   

    1. °³¿ä
    2. ÇÁ·¹ÀÓ¹öÆÛ¶õ ¹«¾ùÀΰ¡
    3. LPP (Linux Progress Patch) ÀÇ ¼Ò°³
    4. Àü¹ÝÀûÀÎ »çÇ׿¡ ´ëÇÑ Á¤¸®
    5. Lpp ÆÐÄ¡¹× Å׸¶Àû¿ëÇÏ¿© ¸®´ª½º Ä¿³ÎÀ» ÄÄÆÄÀÏÇϱâ
       1) Ä¿³Î¿¡ LPP ÆÐÄ¡ ¹× Å׸¶ÀÇ ÀνºÅç
       2) Ä¿³ÎÄÄÆÄÀÏ LPP¿Í °ü·ÃµÈ »çÇ×
       3) µ¥ºñ¾È¿¡¼­ÀÇ ÆÐÅ°Áö·Î Ä¿³Î ºôµåÇϱâ
    6. lilo ÀÇ ¼³Á¤
    7. ¸¶Ä¡¸ç

    -------------------------------------------------------  

 

1. °³¿ä

    ÀÌ ±Û¿¡¼­´Â ÇÁ·¹ÀÓ¹öÆÛ¿Í lpp ¸¦ ÆÐÄ¡ÇÏ¿© Ä¿³ÎÀ» ÄÄÆÄÀÏÇÏ´Â °ÍÀ» ´Ù·ç°í ÀÖ½À´Ï´Ù.
    °£´ÜÇÑ ÇÁ·¹ÀÓ¹öÆÛÀÇ °³³ä°ú ¼Ò°³, ±×¸®°í ½ÇÁ¦·Î ÇÁ·¹ÀÓ¹öÆÛ¸¦ È°¿ëÇÏ´Â °Í Áß ÇϳªÀÎ lpp ÆÐÄ¡¸¦ ÅëÇÑ ±×·¡ÇÈÄÃÇÑ ºÎÆ® È­¸éÀ» ±¸¼ºÇÏ´Â °ÍÀ» ´Ù·ì´Ï´Ù.
    ¶ÇÇÑ ÀϹÝÀûÀÎ ÄÄÆÄÀϹæ½ÄÀº ¸¹ÀÌ ¼Ò°³°¡ µÇ¾îÀÖÀ¸¹Ç·Î µ¥ºñ¾È¿¡¼­ Ư¡ÀÎ µ¥ºñ¾È¿¡¼­ÀÇ Ä¿³ÎÀ» ÆÐÅ°Áö·Î ºôµåÇÏ´Â ¹æ½ÄÀ¸·Î ¼³Ä¡¸¦ Çϵµ·Ï ÇÏ°Ú½À´Ï´Ù.
    ´Ù¸¥ ¹èÆ÷º»À» »ç¿ëÇϽô ºÐµéÀº ÀϹÝÀûÀÎ ¹æ¹ýÀ¸·Î Ä¿³ÎÀ» ÄÄÆÄÀÏ ÇÏ½Ã¸é µË´Ï´Ù.

 

2. ÇÁ·¹ÀÓ¹öÆÛ¶õ ¹«¾ùÀΰ¡

    ¸ÕÀú ÇÁ·¹ÀÓ¹öÆÛ¿¡ ´ëÇÑ ³»¿ëÀ» Çѹø ¾Ë¾Æº¸µµ·Ï ÇÏ°Ú½À´Ï´Ù.
    ÇÁ·¹ÀÓ ¹öÆÛ ÀåÄ¡´Â ±×·¡ÇÈ Çϵå¿þ¾î¿¡ ´ëÇÑ Ãß»óÀ» Á¦°øÇÕ´Ï´Ù.
    ÇÏÁö¸¸ Àüü°¡ ´Ù Áö¿øµÇ´Â °ÍÀº ¾Æ´Ï°í ÀϺΠºñµð¿À Ä«µå¿¡ ÇÑÇؼ­¸¸ Áö¿øÀÌ µÇ°í ÀÖ½À´Ï´Ù.
    ÇöÀç 2.4.0 Ä¿³Î¿¡¼­ Á¦°øµÇ°í ÀÖ´Â driver ´Â ´ÙÀ½°ú °°½À´Ï´Ù.

      [*] Support for frame buffer devices (EXPERIMENTAL)              
          < >   nVidia Riva support (EXPERIMENTAL)                     
          < >   Cirrus Logic support (EXPERIMENTAL)                    
          < >   Permedia2 support (EXPERIMENTAL)                       
          < >   Cyber2000 support                                      
          [  ]   VESA VGA graphics console                              
          < >   VGA 16-color graphics console                          
          < >   Hercules mono graphics console (EXPERIMENTAL)
          < >   Matrox acceleration (EXPERIMENTAL)           
          < >   ATI Mach64 display support (EXPERIMENTAL)    
          < >

       ATI Rage 128 display support (EXPERIMENTAL)
          < >   3Dfx Banshee/Voodoo3 display support (EXPERIMENTAL)
          < >   SIS 630/540 display support (EXPERIMENTAL)         
          < >   Virtual Frame Buffer support (ONLY FOR TESTING!)  

    ÀÌÁß vesafb ´Â ÀϹÝÀûÀÎ vesa 2.0 ȣȯ ±×·¡ÇÈ Ä«µå¸¦ Áö¿øÇϸç À§ÀÇ ¸ñ·Ï¿¡ ¾ø´Â ±×·¡ÇÈ Ä«µå¸¦ °¡Á³°Å³ª ¶Ç´Â vesa 2.0 ȣȯ ±×·¡ÇÈ Ä«µå¸¦ »ç¿ëÇÑ´Ù¸é ÀÌ°ÍÀ» »ç¿ëÇÏ¸é µË´Ï´Ù. ¶ÇÇÑ ÇÊÀÚÀÇ °æ¿ì nVidia RIVA TNT II ¸¦ »ç¿ëÇÏ°í Àִµ¥ ÀÌ°Í ¿ª½Ã vesafb ·Î »ç¿ëÀÌ °¡´ÉÇÕ´Ï´Ù. ´ëºÎºÐÀÇ ÀÎÅÚÇ÷§Æû¿¡¼­ÀÇ ±×·¡ÇÈ Ä«µåµéÀº vesa 2.0 ȣȯÀ̹ǷΠvesa ¸¦ »ç¿ëÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù. (¾ÆÁ÷ ´Ù¸¥ µå¶óÀ̹öµéÀº EXPERIMENTAL »óÅÂÀÓÀ» À¯ÀÇÇϱ⠹ٶø´Ï´Ù.)

    ½ÇÁ¦ÀûÀÎ »ç¿ëÀ¸·Î´Â /dev/fb ¸¦ ÅëÇÑ X Server ÀÇ ÀÌ¿ë°ú(X86_FBdev) ¶Ç´Â °íÇØ»óµµÀÇ ÄܼÖ(±×·¡ÇÈÄܼÖ: ÇÊÀÚÀÇ °æ¿ì´Â 800x600 ¿¡ 65,536 »öÀÌ Áö¿øµÇ´Â ÄܼÖÀ» »ç¿ëÇÏ°í ÀÖ´Ù. ÇÏÁö¸¸ ÀÌ °æ¿ì´Â ÇöÀçÀÇ ±Û¿¡¼­ ´Ù·ê lpp ÆÐÄ¡°¡ È­¸é¿¡ ²ËÂ÷°Ô ³ª¿ÀÁö ¾Ê±â ¶§¹®¿¡ ¹Ì°ü»ó, ¸¸¾à ÀÌ·¸°Ô »ç¿ëÇÏ·Á¸é lpp ¸¦ ÇÏÁö ¾Ê´Â °ÍÀÌ ÁÁ´Ù.)
    ±×¸®°í ÀÌ ±ÛÀÇ ÁÖÁ¦ Áß ÇϳªÀÎ Linux Progress Patch ÀÇ »ç¿ëÀÔ´Ï´Ù.
    ½ÇÁ¦ Áö¿øµÇ´Â ÇØ»óµµ¿Í Ä÷¯´Â Ä¿³Î¼Ò½ºÀÇ Documentation/vesafb.txt ¿¡ ³ª¿ÍÀÖ½À´Ï´Ù.
    °£´ÜÇÏ°Ô »ìÆ캸¸é ´ÙÀ½°ú °°½À´Ï´Ù.
     

     

    640x480

    800x600

    1024x768

    1280x1024

    256

    0x301

    0x303

    0x305

    0x307

    32k

    0x310

    0x313

    0x316

    0x319

    64k

    0x311

    0x314

    0x317

    0x31A

    16M

    0x312

    0x315

    0x318

    0x31B


    ÀÚ¼¼ÇÑ ÇÁ·¹ÀÓ¹öÆÛ¿¡ ´ëÇÑ ³»¿ëÀº Documentation/framebuffer.txt ÆÄÀÏ°ú vesafb.txt ÆÄÀÏÀ» Âü°í ÇϽñ⠹ٶø´Ï´Ù.

 

3. LPP (Linux Progress Patch) ÀÇ ¼Ò°³ (http://lpp.freelords.org)

    Linux Progress Patch ´Â full-screen logo ¸¦ progress bar (À©µµ¿ìÀÇ ½ÃÀ۽ÿ¡ bar °¡ ¿·À¸·Î ä¿öÁö´Â °ÍÀ» »ý°¢ÇÏ¸é µË´Ï´Ù)¿Í text ·Î µÈ Á¤º¸¸¦ ºÎÆÃÇÏ´Â µ¿¾È¿¡ Á¦°øÇϱâ À§ÇÑ Ä¿³ÎÆÐÄ¡ÀÔ´Ï´Ù. ½ÇÁ¦·Î ¾Æ·¡ÀÇ ÇÊÀÚÀÇ ºÎÆýÃÀÇ È­¸éÀ» º¸¸é Á»´õ ÀÌÇØ°¡ ºü¸¦ °ÍÀÔ´Ï´Ù. Áï ±âÁ¸ÀÇ ºÎÆýÿ¡ ³ª¿À´Â ¸Þ½ÃÁöµéÀ» ¼û±â°í ±× ³»¿ëÀ» ´Ü¼øÈ­ Çؼ­ È­¸éÀÇ progress bar ¹Ø¿¡ Ãâ·ÂÇÏ°Ô µË´Ï´Ù. ¿¹¸¦ µé¸é..starting init... ÀÌ·± Á¤µµÀÇ ¸Þ½ÃÁöµéÀÌ ¹Ù²î¸é¼­ ³ªÅ¸³ª°Ô µË´Ï´Ù.
    Âü°í ÇÏ½Ç °÷Àº lpp.freelords.org ¿¡ lpp ÀÇ À¥»çÀÌÆ®°¡ ÀÖ½À´Ï´Ù. ÀÌ°÷¿¡´Â °¢Á¾ Å׸¶¿Í °ü·Ã ÀÚ·áµéÀÌ ÀÖÀ¸´Ï Âü°íÇϽñ⠹ٶø´Ï´Ù. ÀÌ ±Û¿¡¼­´Â Debian theme À» ±âÁØÀ¸·Î ¼³¸íÇÏ¿´½À´Ï´Ù.

 

4. Àü¹ÝÀûÀÎ »çÇ׿¡ ´ëÇÑ Á¤¸®

    À§¿¡¼­ ¾ð±ÞÇÑ ¹Ù¿Í °°ÀÌ vesafb ´Â ÀÎÅÚ Ç÷§Æû¿¡¼­ ºñÆ®¸Ê ÅؽºÆ® ÄܼÖÀ» ÀÌ¿ëÇØ ±×·¡ÇÈ ¸ðµå¸¦ »ç¿ëÇÒ ¼ö ÀÖ°Ô ÇØÁÖ´Â µð½ºÇ÷¹ÀÌ ÀåÄ¡ÀÔ´Ï´Ù.
    ´ë·«ÀûÀÎ °³³äÀº ºÎÆýÿ¡ BIOS ÀÇ µµ¿òÀ» ¹Þ¾Æ ±×·¡ÇÈ ¸ðµå¸¦ ÄÑ´Â °ÍÀÔ´Ï´Ù.
    ±×¸®°í ÀÌ°ÍÀº À§¿¡¼­ ´Ù·é framebuffer device ( /dev/fb0 ) ¸¦ »ç¿ëÇÏ°Ô µË´Ï´Ù.
    vesafb ¿¡ ´ëÇÑ ³»¿ëÀ¸·Î´Â À§¿¡¼­ ¾ð±ÞÇÑ Documentation/vesafb.txt ÆÄÀÏÀ» Âü°í ÇϽñ⠹ٶø´Ï´Ù.
    ¾Æ·¡´Â vesafb ¸¦ »ç¿ëÇÒ °æ¿ìÀÇ À¯¿ëÇÑ Á¡À» Àá±ñ ¾ð±ÞÇÏ¿´½À´Ï´Ù.

    À¯¿ëÇÑÁ¡¿¡ ´ëÇÑ Á¤¸®

    * ±×°ÍÀº ÈǸ¢ÇÑ Å« ÄܼÖÀ» Á¦°øÇÕ´Ï´Ù.(128 cols + 48 lines with 1024x768)
      Á¦°¡ Å×½ºÆ® ÇÑ ¹Ù·Î´Â »ó´çÈ÷ È­¸éµµ ±ò²ûÇÏ°í ¶ÇÇÑ line ¹× cols ÀÇ Áõ°¡¿¡ µû¶ó
      ¸¶Ä¡ ±âÁ¸ÀÇ ÀÏ¹Ý ¸ð´ÏÅÍ¿¡¼­ LCD ¸¦ º¸´Â µíÇÑ Âø°¢À» ÀÏÀ¸Å³ Á¤µµÀÔ´Ï´Ù.
    * ¶ÇÇÑ XF68_FBDev ¸¦ /dev/fb0 À§¿¡¼­ ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
    * °¡Àå Áß¿äÇÑ Boot logo ¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.

    ´ÙÀ½Àº ÇÊÀÚÀÇ ºÎÆ®½Ã ½ÇÇàµÇ´Â LPP ¿¡ ÀÇÇÑ È­¸éÀÔ´Ï´Ù.

     

                 [±×¸²1 : µ¥ºñ¾È Å׸¶¸¦ »ç¿ëÇÑ ÇÊÀÚÀÇ ºÎƮȭ¸é]

 

5. Lpp ÆÐÄ¡¹× Å׸¶Àû¿ëÇÏ¿© ¸®´ª½º Ä¿³ÎÀ» ÄÄÆÄÀÏÇϱâ

    ±×·³ ½ÇÁ¦ÀûÀÎ ÆÐÄ¡¿Í ÄÄÆÄÀÏÀ» Çѹø Çغ¸µµ·Ï ÇÏ°Ú½À´Ï´Ù.

    1) Ä¿³Î¿¡ LPP ÆÐÄ¡ ¹× Å׸¶ÀÇ ÀνºÅç

    ÀÏ´Ü Ä¿³Î ¼Ò½º¸¦ ftp.kernel.org ³ª ±âŸ ¹Ì·¯»çÀÌÆ®·ÎºÎÅÍ ¹Þ¾Æ¿É´Ï´Ù.
    ÆÄÀÏÀ» /usr/src µð·ºÅ丮·Î ¿Å°Ü³õ°í ¾ÐÃàÀ» Ç®¾î ³õ½À´Ï´Ù.
    ±× ´ÙÀ½ »ý¼ºµÈ linux µð·ºÅ丮ÀÇ À̸§À» linux-2.4.0 À¸·Î À̸§À» ¹Ù²ß´Ï´Ù.

    sid:/usr/src# tar zxvf ./linux-2.4.0.tar.gz
    sid:/usr/src# mv ./linux ./linux-2.4.0

    ´ÙÀ½À¸·Î´Â lpp À¥»çÀÌÆ®¿¡¼­ lpp ÆÐÄ¡¿Í Å׸¶¸¦ ¹Þ¾Æ¿Ã Â÷·ÊÀÔ´Ï´Ù.
    Å׸¶´Â ¿©·¯°¡Áö°¡ ÀÖÀ¸³ª ÀÌ ±Û¿¡¼­´Â debian Å׸¶¸¦ »ç¿ëÇÏ¿´À¸¹Ç·Î debian.tar.gz ÆÄÀÏÀ» ÀÌ¿ëÇÏ°Ú½À´Ï´Ù.

    http://lpp.freelords.org
    http://lpp.FreeLords.org/download/lpp-0.3.0.tar.bz2 (lpp ÃֽŹöÀü)
    http://lpp.freelords.org/themes/640x480/debian.tar.bz2 (debian Å׸¶ÆÄÀÏ)

    ÀüüÅ׸¶´Â http://lpp.freelords.org/Themes.phtml ¿¡¼­ È®ÀÎÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

    Å׸¶ÆÄÀÏÀÇ Çػ󵵴 640x480, 800x600, 1024x768, 1280x1024, 1400x1050
    ÀÌ·¯ÇÑ Çػ󵵷ΠÁ¦°øÀÌ µÇ¾îÁö´Âµ¥..ÀÚ½ÅÀÌ »ç¿ëÇÒ Çػ󵵿¡ ¸Â´Â °ÍÀ» ´Ù¿î·Îµå ¹ÞÀ¸¸é µË´Ï´Ù. ÇØ»óµµ ¼³Á¤¿¡ ´ëÇؼ­´Â ÀÌÈÄ ´Ù½Ã ¾ð±ÞÇϵµ·Ï ÇÏ°Ú½À´Ï´Ù.
    ÇÏÁö¸¸ ¾ÆÁ÷±îÁö´Â ´ëºÎºÐÀÇ Å׸¶µéÀº 640x480 ¹Û¿¡ Áö¿øÀ» ÇÏÁö ¾Ê°í ÀÖÀ¸´Ï ÀÌ¿¡ À¯ÀÇÇÏ¿© ´Ù¿î·Îµå¸¦ ¹ÞÀ¸½Ã±â ¹Ù¶ø´Ï´Ù.

    lpp-0.3.0-tar.bz2 - Ä¿³Î ÆÐÄ¡ ÆÄÀÏ
    debian.tar.gz     - Å׸¶ ÆÄÀÏ

    µÎ°³ÀÇ ÆÄÀÏÀ» /usr/src µð·ºÅ丮¿¡ ´Ù¿îÀ» ¹Þ¾Æ¼­ ÀúÀåÇÕ´Ï´Ù. ¸ÕÀú lpp-0.3.0-tar.bz2¸¦ ¾ÐÃàÀ» Ç®¾î ³õ½À´Ï´Ù.

    sid:/usr/src# tar jxvf lpp-0.3.0-tar.bz2

    ¾ÐÃàÀ» Ç®¸é lpp-0.3.0 µð·ºÅ丮°¡ »ý¼ºµË´Ï´Ù.
    ÀÌ µð·ºÅ丮 ¾ÈÀ¸·Î µé¾î°¡¼­ º¸¸é ÆÐÄ¡ ÆÄÀÏÀÌ Ä¿³Î ¹öÀüº°·Î Á¸ÀçÇÕ´Ï´Ù.

    sid:/usr/src/lpp-0.3.0# ls
    AUTHORS    README         contrib           pics      theme_install
    CHANGELOG  README.debian  lpp-2.2.18-6.bz2  scripts
    COPYING    TODO           lpp-2.4.0-3.bz2   template

    ÀÚ¼¼ÇÑ È°¿ë¹æ¹ýÀº README ÆÄÀÏÀ» Àо½Ã¸é µË´Ï´Ù.

    ÀÏ´Ü Ä¿³Î¼Ò½º µð·ºÅ丮·Î ¹öÀü¿¡ ¸Â´Â ÆÐÄ¡¸¦ ÇÕ´Ï´Ù.

    sid:/usr/src/lpp-0.3.0# cd /usr/src/linux-2.4.0

    sid:/usr/src/linux-2.4.0# bzip2 -cd /usr/src/lpp-0.3.0/lpp-2.4.0-3.bz2

    ´ÙÀ½À¸·Î´Â ¹Þ¾Æ³õÀº Å׸¶ÆÄÀÏÀ» ¼³Ä¡ÇÕ´Ï´Ù.
    Å׸¶ÆÄÀÏÀÇ ¼³Ä¡´Â lpp-0.3.0 µð·ºÅ丮¸¦ º¸½Ã¸é theme_install ½ºÅ©¸³Æ®¸¦ ÀÌ¿ëÇÕ´Ï´Ù.

    sid:/usr/src/linux-2.4.0# /usr/src/lpp-0.3.0/theme_install /usr/src/debian.tar.gz /usr/src/linux-2.4.0

    theme_install ½ºÅ©¸³Æ®ÀÇ Ã¹¹ø° ÀÎÀÚ´Â Å׸¶ÆÄÀÏÀÌ¸ç µÎ¹ø° ÀÎÀÚ´Â Ä¿³Î¼Ò½º µð·ºÅ丮ÀÔ´Ï´Ù.

    ¿©±â±îÁö Çؼ­ ÆÐÄ¡¸¦ Àû¿ëÇÏ¿´½À´Ï´Ù.

    2) Ä¿³ÎÄÄÆÄÀÏ LPP¿Í °ü·ÃµÈ »çÇ×

    ´ÙÀ½À¸·Î´Â ÄÄÆÄÀÏ °úÁ¤ÀÔ´Ï´Ù.
    Ä¿³Î ÄÄÆÄÀÏ¿¡ ´ëÇؼ­´Â ¸¹Àº ¹®¼­µéÀÌ ÀÖ½À´Ï´Ù. ´ÙÀ½°ú °°Àº Ç׸ñ¿¡ ÁÖÀÇÇϼż­ ÀϹÝÀûÀ¸·Î ÄÄÆÄÀÏ ÇÏ½Ã¸é µÇ°Ú½À´Ï´Ù. make config ³ª make menuconfig, make xconfig ¸¦ ÀÌ¿ëÇÏ¿© ¼³Á¤ÇÏ´Â ºÎºÐ¿¡¼­ ¾Æ·¡¿Í °°Àº ºÎºÐÀ» ²À üũÇϽñ⠹ٶø´Ï´Ù.

    Console Drivers -> Video mode selection support
                           -> Support for frame buffer devices (EXPERIMENTAL)
                           -> VESA Framebuffer support (RIVA/MATROX whatever should be ok)
                           -> Enable Linux Progress Patch (EXPERIMENTAL) (NEW)

    ÀÌ ¹®¼­¿¡¼­´Â °£·«ÇÏ°Ô µ¥ºñ¾È ÆÐÅ°Áö·Î Ä¿³ÎÀ» ºôµåÇÏ´Â ¹æ½ÄÀ¸·Î ¼Ò°³¸¦ ÇÒ±î ÇÕ´Ï´Ù.

    3) µ¥ºñ¾È¿¡¼­ÀÇ ÆÐÅ°Áö·Î Ä¿³Î ºôµåÇϱâ

    µ¥ºñ¾È¿¡¼­ÀÇ ÆÐŰ¡Àº ´ÙÀ½°ú °°Àº ÆÐÅ°Áö°¡ ±âº»ÀûÀ¸·Î ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
    debhelper, dh-make, fakeroot, kernel-package(Ä¿³ÎÀ» ÆÐÅ°Áö·Î ¸¸µé °æ¿ì)

    kernel-package °¡ ¼³Ä¡µÇ¾î ÀÖ´Â °æ¿ì ±× ¼³Á¤ ÆÄÀÏÀº /etc/kernel-pkg.confÀÔ´Ï´Ù.
    ¾Æ·¡ÀÇ ±×¸²Àº /etc/kernel-pkg.conf ¸¦ ¿­¾î¼­ º» ĸÃÄ È­¸éÀÔ´Ï´Ù.

     

                             [±×¸²2: kernel-pkg.conf]

    ÀÚ¼¼ÇÑ ¼³Á¤¿¡ ´ëÇؼ­´Â Äֿܼ¡¼­ ´ÙÀ½°ú °°ÀÌ ÇÏ¸é ¸ÇÆäÀÌÁö¸¦ º¼ ¼ö ÀÖ½À´Ï´Ù.

    #man kernel-pkg.conf

    ±×·³ ÆÄÀÏÀ» ¿­¾î¼­ ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÏ¿© º¸°Ú½À´Ï´Ù.

          maintainer := WooJoong-Lee
          email := wjlee@debianusers.org
          debian := wjlee0.4
          kimage := bzImage
          patch_the_kernel := YES
          config_target := menuconfig
          delete_build_link := YES
          CONFDIR := /usr/share/kernel-package/Config
          CONCURRENCY_LEVEL := 3

    ù Ç×ÀÇ maintainer ´Â ÆÐÅ°ÁöÀÇ Á¦ÀÛÀÚ¸¦ Àû¾î³õ½À´Ï´Ù.
    µÑ°Ç×ÀÇ email Àº Á¦ÀÛÀÚÀÇ À̸ÞÀÏ ÁÖ¼ÒÀÔ´Ï´Ù.
    debian ºÎºÐÀº --revision ¿É¼ÇÀ¸·Î µû·Î ¼³Á¤À» ÇÒ ¼ö ÀÖ´Â ºÎºÐÀÔ´Ï´Ù.
    ÀÚ½ÅÀÌ ºôµåÇÑ Ä¿³ÎÀÇ ¹öÀüÀ» Áý¾î ³Ö½À´Ï´Ù. ±âº» °ªÀ¸·Î´Â 1.00 °ªÀÌ µé¾î°©´Ï´Ù.

    patch_the_kernel ¿¡´Â ÇöÀç Ä¿³ÎÀ» ÆÐÄ¡ÇÏ¿´À¸¹Ç·Î YES °ªÀ¸·Î ÇØÁÝ´Ï´Ù.
    config_target ¿¡´Â config menuconfig xconfig ¼Â Áß¿¡ Çϳª¸¦ Àû¾î³ÖÀ¸½Ã¸é µË´Ï´Ù.
    delete_build_link ºÎºÐÀ» YES ·Î ¼³Á¤ÇØÁØ °æ¿ì »ý¼ºµÈ Ä¿³ÎÆÐÅ°Áö¿¡ ÀÇÇÏ¿© »ý±â´Â lib/modules/$VERSION/build ÀÇ ½Éº¼¸¯ ¸µÅ©¸¦ Á¦°ÅÇÏ¿© ÁÝ´Ï´Ù.
    ÀÚ¼¼ÇÑ »çÇ×Àº ¸ÇÆäÀÌÁö¸¦ Âü°í ÇϽñ⠹ٶø´Ï´Ù.

    ´ÙÀ½À¸·Î make-kpkg ¿¡ ÀÇÇÑ ¼³Á¤À» ÇÏ·Á¸é .config ÆÄÀÏÀÌ ¸®´ª½º ¼Ò½ºµð·ºÅ丮¿¡ ÀÖ¾î¾ß ÇÑ´Ù. /boot ¿¡º¸¸é config-version ÆÄÀÏÀÌ ÀÖ´Ù. ÀÌ°ÍÀ» ¼Ò½ºµð·ºÅ丮¿¡ .config ÆÄÀÏ·Î Ä«ÇÇÇÑ´Ù.

    #cp /boot/config-2.2.17 /usr/src/linux-2.4.0/.config

    ¿©±â±îÁö ¼³Á¤ÇÏ¿© ÁÖ¼Ì´Ù¸é ´ÙÀ½°ú °°Àº ¸í·ÉÀ¸·Î ¼³Á¤À» ½ÃÀÛÇÕ´Ï´Ù.

    sid:/usr/src/linux-2.4.0# make-kpkg configure

    ±×·¯¸é ¼³Á¤ÇØ ³õÀº ´ë·Î menuconfig È­¸éÀÌ ¶å´Ï´Ù.

    ¾Æ·¡´Â lpp ÆÐÄ¡°ü·Ã ¿É¼ÇÀ» ¼³Á¤ÇÏ´Â ºÎºÐÀ» ĸÃÄ ÇÑ ±×¸²ÀÔ´Ï´Ù.

                [±×¸²3: Ä¿³Î ¼³Á¤ºÎºÐ¿¡¼­ lpp¸¦ °¡´ÉÇϵµ·Ï ¼³Á¤]

    ¼³Á¤ÀÌ ³¡³ª¸é ÆÐÅ°Áö¸¦ ºôµåÇÕ´Ï´Ù.

    sid:/usr/src/linux-2.4.0# make-kpkg kernel_image

    ÄÄÆÄÀÏÀÌ ³¡³ª¸é »óÀ§ µð·ºÅ丮¿¡ kernel-image-2.4.0_wjlee0.4_i386.deb ÆÄÀÏÀÌ »ý¼ºµÈ °ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.
    ´ÙÀ½À¸·Î´Â Ä¿³ÎÇì´õÆÐÅ°Áö¸¦ ¸¸µé¾îÁÝ´Ï´Ù.

    sid:/usr/src/linux-2.4.0# make-kpkg kernel_headers
    ¿ª½Ã ¸¶Âù°¡Áö·Î »óÀ§ µð·ºÅ丮¿¡ kernel-headers-2.4.0_wjlee0.4_i386.deb °¡ »ý±ä °ÍÀ» º¼¼ö ÀÖ½À´Ï´Ù.

    ¾Æ·¡´Â make-kpkg ÀÇ ¿É¼ÇÀÔ´Ï´Ù. Âü°í ÇϽñ⠹ٶø´Ï´Ù.
     

    Targets

    Automatically builds

    clean
    buildpackage
    binary
             binary - indep
                            kernel_source
                            kernel_doc 
             binary - arch
                            kernel_headers
                            kernel_image
    modules
    modules_image
    modules_config
    modules_clean
    configure



     

    Builds the whole package
    Builds kernel_{source,headers,image,doc}












    If you wish to edit files
    generated by make config
    Creates ./debian dir, and
    optionally patches the source


    ¸¶Áö¸·À¸·Î »ý¼ºµÈ ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÕ´Ï´Ù.

    #dpkg -i kernel-image-2.4.0_wjlee0.4_i386.deb
    #dpkg -i kernel-headers-2.4.0_wjlee0.4_i386.deb

 

6. lilo ÀÇ ¼³Á¤

    ¸ÕÀú ÇÁ·¹ÀÓ¹öÆÛ ÀåÄ¡¸¦ ÅëÇØ »ý¼ºµÉ ±×·¡ÇÈ ÄܼÖÀÇ Çػ󵵸¦ Á¤ÀÇÇÏ¿©¾ß ÇÕ´Ï´Ù.

    /etc/lilo.conf ÆÄÀÏÀ» ¿­°í vga ¿É¼ÇÀ» ÁÖ¾î ¾Æ·¡ÀÇ Ç¥¿¡¼­ ¿øÇÏ´Â ÇØ»óµµ¿Í »ö»óÀ» °áÁ¤ÇϽñ⠹ٶø´Ï´Ù.
     

     

    640x480

    800x600

    1024x768

    1280x1024

    256

    0x301

    0x303

    0x305

    0x307

    32k

    0x310

    0x313

    0x316

    0x319

    64k

    0x311

    0x314

    0x317

    0x31A

    16M

    0x312

    0x315

    0x318

    0x31B


    ±âº»ÀûÀ¸·Î Å׸¶ÆÄÀÏÀÌ 640x480 À̹ǷΠvga=0x301 À» ÃßõÇÕ´Ï´Ù.

    ´ÙÀ½À¸·Î´Â append=¡±console=/dev/tty2 CONSOLE=/dev/tty2¡±¸¦ Ãß°¡ÇÕ´Ï´Ù.

    ¾Æ·¡´Â ÇÊÀÚÀÇ lilo.conf ÀÇ ¿¹ÀÔ´Ï´Ù.

    ----------------------- /etc/lilo.conf ---------------------------

    boot=/dev/hda
    root=/dev/hda6
    compact
    install=/boot/boot-menu.b
    delay=20
    prompt
    map=/boot/map
    vga=0x301
    append=¡± devfs=mount console=/dev/tty2 CONSOLE=/dev/tty2¡±
    read-only
    default=Debian
    image=/vmlinuz
         label=Debian
    other=/dev/hda2
         label=Win2000
         table=/dev/hda

    ---------------------------------------------------------------

    ¼³Á¤À» ¸¶Ä¡°í ³ª¿Í¼­ Äֿܼ¡¼­ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÏ¿© mbr ÀÇ ³»¿ëÀ» º¯°æÇÕ´Ï´Ù.

    #lilo
    Added Debian *
    Added Win2000

 

7. ¸¶Ä¡¸ç

    ÀÌ°ÍÀ¸·Î ¸ðµç »çÇ×ÀÌ ³¡³µ½À´Ï´Ù.
    ¸¶Áö¸·À¸·Î ³²Àº ÀÏÀº ¸®º× Çϸ鼭 ¸ÚÀÖ°Ô ¶ß´Â ºÓÀº»ö ȸ¿À¸®¸¦ °¨»óÇÒ ½Ã°£ÀÔ´Ï´Ù.
    ¸®º×Çϼż­ ȸ¿À¸®¸¦ °¨»óÇϽøç Áñ°Å¿î ¸®´ª½Ì µÇ½Ê½Ã¿À.

    Âü°í: µ¥ºñ¾È¿¡¼­ÀÇ modconf ´Â ¾ÆÁ÷±îÁö Ä¿³Î 2.4¸¦ ¿ÏÀüÇÏ°Ô Áö¿øÇÏÁö ¾Ê°í ÀÖ½À´Ï´Ù.
            µ¥ºñ¾È ÆÁÇÁ·ÎÁ§Æ®(http://debianusers.org/tips) ¹®¼­¸¦ Âü°í ÇϽñ⠹ٶø´Ï´Ù.




¡ã top

homeÀ¸·Î...