Linux on laptops

°­ÁöÀÀ: ikarus@kldp.org

 

 

    ³ª´Â ¿ÃÇØ(99³â) 8¿ù´Þ¿¡ ³ëÆ®ºÏÀ» ±¸ÀÔÇؼ­ 2°³¿ù¸¸¿¡ ¸®´ª½º¿¡¼­ÀÇ ¼¼ÆÃÀ» ¼º°øÀûÀ¸·Î ¸¶ÃÆ´Ù. ÇÏÁö¸¸ VGA Ä«µåÀÇ Áö¿ø ¹®Á¦·Î ÀÎÇØ Frame Buffer Server¸¦ »ç¿ëÇÏ¿© X-windows¸¦ ¶ç¿ü´Ù.
    ÇÊÀÚÀÇ °æÇèÀ» Åä´ë·Î ÀÌ ±ÛÀ» ¾²°Ô µÇ¾ú´Ù.3ȸ·Î ³ª´©¾îÁú °ÍÀε¥ ÀÌ ±ÛÀ» ÀбâÀü¿¡ ±âº»ÀûÀÎ ¸®´ª½º¿¡ ´ëÇÑ Áö½ÄÀ» °®Ã߱⠹ٶõ´Ù. ¿©·¯ºÐÀÌ ·¦Å¾¿¡ ¸®´ª½º¸¦ ¼³Ä¡Çϱâ·Î ¸¶À½¸ÔÀº°Í¿¡´ëÇØ ÈÄȸÇÏÁö´Â ¾Ê°Ô ÇØÁÖµµ·Ï ³ë·ÂÇÏ°Ú´Ù.

    1ȸ´Â ±âº»ÀûÀÎ ·¹µåÇÞ ¸®´ª½º¿¡¼­ÀÇ Ä¡¿Í X-windows ¶ç¿ì´Â ¹æ¹ý¿¡ ´ëÇØ ´Ù·ð°í 2ȸ´Â PCMCIA package compile°ú installÀ» ´Ù·ð´Ù.Âü°í·Î ³» ·¦Å¾Àº »ïº¸ µå¸²ºÏ ¶óÀÌÆ® 3530ÀÌ´Ù. ASUS¿¡¼­ OEMÇØ¿À´Â °ÍÀÌ¸ç ¸®´ª½º¿ÍÀÇ ±ÃÇÕÀº ÁÁÀº ÆíÀº ¾Æ´Ï´Ù. ASUS¿¡¼­ÀÇ ¸ðµ¨¸íÀº L7300ÀÌ´Ù.
    »ç¾çÀº Pentium-II 300 , 32 RAM (X-windows manager¸¦ GNOMEÀ» »ç¿ëÇÏ¸é ¹ö¹÷°Å¸²ÀÌ ´À²¸Áø´Ù.)ºñµð¿ÀÄ«µå´Â Silicon motion SMI910 4MB (ÃÖ¾ÇÀÇ VGAÄ«µåÀÌ´Ù. Frame Buffer¸¦ »ç¿ëÇÒ ¼ö ¹Û¿¡ ¾ø¾ú´Ù.Ovislink ETHERNET card¸¦ »ç¿ëÇÏ°í ÀÖ´Ù. (pcmcia-cs-3.1.0ÀÌ»óºÎÅÍ Áö¿øµÈ´Ù.)

     

1.»çÀü Áö½Ä , ÀÚ·á¸ðÀ½

    ÀÏ´Ü ÀÚ½ÅÀÇ ·¦Å¾¿¡ ´ëÇÑ ÀÚ·áµéÀ» ¸ð¾Æ¾ß ÇÑ´Ù.
    linux on laptops
    (
    http://www.cs.utexas.edu/users/kharker/linux-laptop/)¿¡ ¹æ¹®Çؼ­ ÀÚ½ÅÀÇ ·¦Å¾ ¸ðµ¨¸íÀ¸·Î °Ë»öÇغÁ¶ó. ¼ö¸¹Àº ¾çÀÇ ÀÚ·áµéÀÌ ¸µÅ©µÇ¾î ÀÖ´Ù.
    ÀÚ½ÅÀÇ ·¦Å¾ÀÌ µµ½Ã¹Ù, SONY,acers µî À¯¸íÇÑ ¿Ü±¹ ºê·£µå¶ó¸é ÀÚ·áã±â°¡ Á¤¸» ½¬¿ï°ÍÀÌ°í ±¹³» ·¦Å¾ÀÇ °æ¿ì´Â 4´ë Åë½Å¸ÁÀÇ ¸®´ª½º µ¿È£È¸¿Í õ¸®¾ÈÀÇ ³ëÆ®ºÏ »ç¿ëÀÚ ¸ðÀÓÀÇ ¼Ò¸ðÀÓ ³ë¸®¸ð(³ëÆ®ºÏ¿¡¼­ ¸®´ª½º¸¦ »ç¿ëÇÏ´Â »ç¶÷µéÀÇ ¸ðÀÓ)¿¡¼­ ÀڷḦ ãÀ» ¼ö ÀÖÀ» °ÍÀÌ´Ù.
    ´ë¿ì solo¿Í »ï¼º sens ³ëÆ®ºÏÀÇ °æ¿ì¿¡´Â ÀÌ¹Ì ¸¹Àº ¸®´ª¼­µéÀÌ »ç¿ë¹æ¹ýÀ» ¿Ã·Á³õ¾ÒÁö¸¸ »ïº¸¿¡ ´ëÇÑ ±ÛÀº, Çѹøµµ º¸Áú ¸øÇß´Ù.

    ù¹ø°, ÀÎÅͳݰú 4´ëÅë½Å¸Á µ¿È£È¸ È°¿ë¿¡¼­ ÀÌ·¸´Ù ÇÒ¸¸ÇÑ ÀڷḦ ãÁö ¸øÇß´Ù¸é-. ±¹³»ÀÇ °æ¿ì¿¡´Â-. °í°´ »ó´ã ¼¾ÅÍ¿¡ ÀüÈ­Çغ¸´Â °Íµµ ¹æ¹ýÀÌ µÉ µíÇÏ´Ù. ³ªÀÇ °æ¿ì¿¡´Â °í°´ »ó´ã ¼¾ÅÍ¿¡ ÀüÈ­ÇØ ºÃ´Âµ¥ asus OEMÀ̶ó´Â »ç½Ç, ÀڷḦ ãÀ» ¼ö Àִ ȨÆäÀÌÁö¸¦ »ó´ã¿øÀÌ ¾Ë·ÁÁÖ¾î Å« µµ¿òÀÌ µÇ¾ú´Ù. ³ëÆ®ºÏ¿¡ ´ëÇÑ ÀڷḦ ã¾Ò´Ù¸é ´ÙÀ½Àº PCMCIA,PCÄ«µå ¿¡ ´ëÇÑ ÀڷḦ ã´Â °ÍÀÌ´Ù.
    3com°°Àº À¯¸íÁ¦Ç°ÀÏ °æ¿ì ¸®´ª½º¿ë µå¶óÀ̹ö°¡ ³ª¿ÍÀÖ´Â °æ¿ìµµ ÀÖÁö¸¸ ´ë¸¸Á¦ÀÏ°æ¿ì ¹®Á¦°¡ »ý±ä´Ù. NE2000 ȣȯ °è¿­À̸é Èñ¸ÁÀº ÀÖÁö¸¸ ±×¸¶Àú ¾Æ´Ò °æ¿ì ÀÚ½ÅÀÌ Á÷Á¢ µå¶óÀ̹ö¸¦ °³¹ßÇÏ´Â ¼ö¹Û¿¡ ¾øÀ»°ÍÀÌ´Ù.ÀÏ´Ü Á¦Ç°ÀÇ È¨ÆäÀÌÁö¿¡ ¹æ¹®Çغ¸¶ó.
    ±×°÷¿¡ ¸®´ª½º¿ë µå¶óÀ̹ö°¡ ÀÖÀ» °¡´É¼ºÀÌ Å©´Ù.±×°ÍÀÌ ¾Æ´Ò °æ¿ì¿¡´Â PCMCIA Á¦ÀÛÀÚ È¨ÆäÀÌÁö,(
    http://hyper.stanford.edu/~dhind/pcmcia/)¸¦ °¡º¸¸é ÀÚ¼¼ÇÑ ¼³¸íÀÌ ÀÖ´Ù.µå¶óÀ̹ö°¡ ¾øÀ» °æ¿ì¿¡´Â ÀÌ ±ÛÀ» Â÷±ÙÂ÷±Ù Àо°¥¶§¿¡-. ÇØ°áÃ¥À» ãÀ» ¼ö ÀÖ´Ù.
    ¸¸¾à ÀÌ °úÁ¤¿¡¼­ ¾Æ¹«·± ÀڷḦ ãÀ» ¼ö ¾ø´õ¶óµµ Æ÷±âÇÏÁö´Â ¸»¶ó. ÀÌ ±Û¿¡¼­ Á¦½ÃÇÏ´Â °¡ÀÌµå ¶óÀδë·Î Çϸé Ʋ¸²¾øÀÌ ÇØ°áÃ¥À» ãÀ»¼ö ÀÖÀ»°ÍÀÌ´Ù.

     

2.¼³Ä¡ Áغñ °úÁ¤

    ÀÌÁ¦ º»°ÝÀûÀÎ ¼³Ä¡¿¡ µé¾î°¡ÀÚ.¿äÁò ³ª¿À´Â ·¦Å¾ÀÇ °æ¿ì¿¡´Â CD-BOOTINGÀÌ Áö¿øµÇÁö¸¸ ¾ÈµÇ´Â °æ¿ì¸¦ À§ÇØ bootÀ̹ÌÁö µð½ºÄÏ ¸¸µå´Â ¹ýÀ» °£´ÜÇÏ°Ô ¼³¸íÇÏ°Ú´Ù.
    ÀÏ´Ü WINDOWS·Î ºÎÆÃÇϰųª µµ½º·Î ºÎÆÃÇضó. WINDOWS·Î ºÎÆÃÇÒ°æ¿ì (CD-BOOTINGÀÌ Áö¿øµÇ´Â °æ¿ì ¾Æ·¡ °úÁ¤À» »ý·«Çصµ µÈ´Ù)
    ½ÃÀÛ -> ÇÁ·Î±×·¥ -> ÇÑ±Û MS-DOS ·Î DOS¸ðµå·Î ³ª°£´ÙÀ½¿¡ ´ÙÀ½À» ½ÇÇàÇÑ´Ù. (½Ãµð·ÒÀ» f:·Î °¡Á¤ÇÑ ¿¹¹®ÀÌ´Ù. ¿©·¯ºÐÀÇ µå¶óÀ̺꿡 ¸Â°Ô ½áÁֱ⠹ٶõ´Ù.

    C:¡¬WINDOWS> md c:¡¬temp
    'TEMPµð·ºÅ丮¸¦ ¸¸µç´Ù.'

    C:¡¬WINDOWS> copy f:¡¬dosutil¡¬rawrite.exe c:¡¬temp
    'TEMPµð·ºÅ丮¿¡ RAWRITE(À̹ÌÁö¸¸µå´Â DOS¿ë ÇÁ·Î±×·¥)À» Ä«ÇÇÇÑ´Ù.'

    C:¡¬WINDOWS> copy f:¡¬images¡¬boot.img c:¡¬temp
    'boot À̹ÌÁö¸¦ tempµð·ºÅ丮¿¡ Ä«ÇÇÇÑ´Ù.

    'ÀÌÁ¦ ±ú²ýÈ÷ Æ÷¸ËµÈ µð½ºÄÏÀ» a:¿¡ ³Ö°í

    C:¡¬WINDOWS> c:¡¬temp¡¬rawrite.exe -f boot.img -d a
    ÀÌÁ¦ ºÎÆÃ¿ë µð½ºÄÏÀÌ ¸¸µé¾î Á³´Ù.

    ´ÙÀ½Àº pcmcia À̹ÌÁö µð½ºÄÏÀ» ¸¸µé Â÷·ÊÀÌ´Ù.
    CD-BOOTINGÀÌ °¡´ÉÇÏ´õ¶óµµ PCMCIAÀ̹ÌÁö µð½ºÄÏÀº ¸¸µé¾î¾ß ÇÑ´Ù.

    C:¡¬WINDOWS> md C:¡¬temp
    'tempµð·ºÅ丮¸¦ ¸¸µç´Ù."

    C:¡¬WINDOWS> copy f:¡¬dosutil¡¬rawrite.exe c:¡¬temp
    'TEMPµð·ºÅ丮¿¡ RAWRITE(À̹ÌÁö¸¸µå´Â DOS¿ë ÇÁ·Î±×·¥)À» Ä«ÇÇÇÑ´Ù.

    'C:¡¬WINDOWS> copy f:¡¬images¡¬pcmcia.img c:¡¬temp
    'pcmciaÀ̹ÌÁö¸¦ tempµð·ºÅ丮¿¡ Ä«ÇÇÇÑ´Ù.'

    ÀÌÁ¦ ±ú²ýÈ÷ Æ÷¸ËµÈ µð½ºÄÏÀ» a:¿¡ ³Ö°í
    C:¡¬WINDOWS> c:¡¬temp¡¬rawrite.exepcmcia.imgapcmcia

    À̹ÌÁö µð½ºÄÏ ¶ÇÇÑ ¸¸µé¾îÁ³´Ù.

     

ÆÄƼ¼Ç ºÐÇÒ

    ÀÏ´Ü À©µµ¿ìÁî¿Í °°ÀÌ ¾µÁö¸¦ , ¾Æ´Ï¸é ¸®´ª½º¸¸ ¾²±â¸¦ , ¿©·¯ºÐÀº °áÁ¤ÇØ¾ß ÇÑ´Ù. ¸¸¾à ÀüÀÚ¸¦ ¿øÇÑ´Ù¸é ¹é¾÷ÀÌ ºÒ°¡ÇÇÇÒ °ÍÀÌ°í ÆÄƼ¼Ç¸¶¹ý»ç°°Àº À¯Æ¿¸®Æ¼¸¦ »ç¿ëÇؼ­ ¿©·¯ºÐÀÇ ÆÄƼ¼ÇÀ» ³ª´²¾ß ÇÑ´Ù.
    À©µµ¿ìÁîÀÇ ms-dos¿¡¼­ fdisk¸¦ Ãĺ¸ÀÚ.3¹øÀ» ´©¸¥´Ù¸é ¿©·¯ºÐÀÇ ÆÄƼ¼Ç¿¡ ´ëÇÑ Á¤º¸°¡ ³ª¿Ã°ÍÀÌ´Ù. ÀÌ°ÍÀ» Âü°íÇÏ¿© ¾î¶»°Ô ÇÒÁö °áÁ¤ÇØ¾ß ÇÑ´Ù. - ¸¸¾à À©µµ¿ìÁî¿Í °°ÀÌ ¾²±â¸¦ °áÁ¤ÇÏ¿´´Ù¸é ¿©·¯ºÐÀº ÆÄƼ¼ÇÀ» ³ª´²¾ß ÇÒ °ÍÀÌ´Ù. º¸ÅëÀº Áß¿äÇÑ µ¥ÀÌÅ͵éÀ» zipµå¶óÀ̺ê ȤÀº Ç÷ÎÇǵå¶óÀ̺긦 »ç¿ëÇÏ¿© ¹é¾÷À» ÇÑ ÈÄ¿¡ ÆÄƼ¼ÇÀ» Áö¿îÈÄ, »õ·Î¿î ÆÄƼ¼Ç 2°³¸¦ Çü¼ºÇÑ´Ù.¿©±â¿¡¼­ ¸®´ª½º ÆÄƼ¼ÇÀÇ ¾çÀ» °áÁ¤ÇØ¾ß Çϴµ¥ ¿©·¯ºÐÀÇ ÇϵåÀÇ ¾ç¿¡ µû¶ó ¼³Á¤ÇØÁØ´Ù. Âü°í·Î ¸»ÇÏÀÚ¸é linux for seminar °¡ 628¸Þ°¡ Á¤µµÀÌ°í Alzza linux °¡ ¾à 900¸Þ°¡Á¤µµ,¿¢¼¿¸®´ª½º°¡ ¾à 1±â°¡Á¤µµ ¼³Ä¡µÈ´Ù.(full installÀÇ °æ¿ì)ÇÏÁö¸¸ ³ëÆ®ºÏÀ̹ǷΠ¾î¶°ÇÑ ÆÐÅ°Áö¸¦ ¼±ÅÃÇÒÁö´Â ¼øÀüÈ÷ ¿©·¯ºÐ¿¡°Ô ´Þ·ÁÀÖ´Ù.
    ±×¸®°í FIPS¶ó´Â ÇÁ·Î±×·¥ÀÌ ÀÖ´Ù. ÀÌ ÇÁ·Î±×·¥Àº ¿©·¯ºÐÀÌ Çϵ带 ÃʱâÈ­½ÃÅ°Áö ¾Ê°í ¸®´ª½º¸¦ ¼³Ä¡Çϴµ¥ µµ¿òÀ» ÁÙ °ÍÀÌ´Ù. ÀÌ ÇÁ·Î±×·¥À» ´Ù¿î ¹ÞÀº ÈÄ READMEÆÄÀÏÀ» Àо½Ã¸é ÀÚ¼¼ÇÑ ¾È³»°¡ ³ª¿ÍÀÖ´Ù. Âü°í ÇÏ½Ç °ÍÀº ÀÌ ÇÁ·Î±×·¥À» »ç¿ëÇϱâ Àü¿¡ À©µµ¿ìÁî Á¶°¢¸ðÀ½À» »ç¿ëÇÑ ´ÙÀ½¿¡ FIPS¸¦ ½á¾ßÇÑ´Ù´Â °ÍÀÌ´Ù.
    ¸®´ª½º¸¸À» »ç¿ëÇϱâ·Î °áÁ¤Çß´Ù¸é µµ½º¿¡¼­ ÆÄƼ¼ÇÀ» ³ª´²ÁÙ ÇÊ¿ä´Â ¾ø´Ù. ´ÙÀ½´Ü°è·Î ³Ñ¾î°¡µµ ÁÁ´Ù.

     

ÁÖÀÇ»çÇ×

    ·¦Å¾¿¡´Â ¼­½ºÆæµå ¸ðµå¶ó´Â°Ô ÀÖ´Ù. ¼­½ºÆæµå¸ðµå´Â ÀýÀü ¸ðµå·Î ÆÄƼ¼ÇÀ» µû·Î ÇÒ´çÇØÁà¾ß ÇÑ´Ù. (¼­½ºÆæµå¸ðµå Àüȯ½Ã ÀÌ°÷¿¡´Ù°¡ µ¥ÀÌÅ͸¦ ÀúÀåÇÏ°í Àü¿øÀÌ ³»·Á°£´Ù.) 32¸Þ°¡ Á¤µµÀε¥ ÀÌ ÆÄƼ¼Ç¼³Ä¡ ÇÁ·Î±×·¥Àº ³ëÆ®ºÏ Á¦Á¶¾÷ü¿¡¼­ Á¦°øÇØÁØ´Ù. ÀÌ ÇÁ·Î±×·¥À» »ç¿ëÇؼ­ ÆÄƼ¼ÇÀ» ¸ÕÀú ¸¸µé¾î³ö¾ß ÇÑ´Ù.

    ¼­½ºÆ潺 ¸ðµå½Ã ÇÒ´çÇØÁÖ´Â ¿µ¿ª¿¡¼­ ÀÌ ¿µ¿ªÀ» ¼³Á¤ÇØÁÖÁö ¾Ê°í ÆÄƼ¼ÇÀ» ³ª´«ÈÄ¿¡´Â ¼­½ºÆ潺¸ðµå¸¦ ·¥À¸·Î »ç¿ëÇϰųª, ¾Æ¿¹ »ç¿ëÇÏÁö ¾Ê´Â ÆíÀÌ ÁÁ´Ù. ¿Ö³ÄÇϸé ÆÄƼ¼ÇÀÌ ²Ë Â÷ÀÖÀ» °æ¿ì¿¡´Â ¸ðµç ÆÄƼ¼ÇÀ» Áö¿ì±â ¶§¹®ÀÌ´Ù.

    (¿¹) ÆÄÀϸí : phdisk.exe

    ³ªÁß¿¡ ±ÍÂúÀº ÀÛ¾÷À» ´õ ÇÏ°í ½ÍÁö ¾Ê´Ù¸é À©µµ¿ìÁ ¸ÕÀú ¼³Ä¡ÇÑ ÈÄ¿¡ ¸®´ª½º¸¦ ¼³Ä¡ÇÑ´Ù. ¸¸¾à CD-BOOTINGÀ» ÇÑ °ÍÀ̶ó¸é CD¸¦ ³Ö°í, ¾Æ±îÀü¿¡ boot imageµð½ºÄÏÀ» ¸¸µé¾ú´Ù¸é µð½ºÄÏÀ» ³Ö°í(pcmciaµð½ºÄÏÀ» ³ÖÁö¸» °Í) ¸®ºÎÆÃÇÑ´Ù.

    CD-BOOTINGÀÇ °æ¿ì¿¡´Â CMOS¼Â¾÷¿¡¼­ BOOT FROM ºÎºÐÀ» Á¶ÀýÇØÁà¾ß ÇÑ´Ù. ÀçºÎÆÃÀ» ÇÏ°Ô µÇ¸é ÀνºÅç ¸ðµå ¼±Åà ȭ¸éÀÌ ¶ß¸ç ÀÔ·ÂÀ» ±â´Ù¸®´Âµ¥ ÀÌ °æ¿ì º¸Åë ¿£Å͸¦ ÃÄÁÖÁö¸¸ ³ëÆ®ºÏÀÇ °æ¿ì pcmcia ¼ÒÄÏÀ» ÀνÄÇÏÁö ¸øÇÏ´Â °æ¿ì°¡ ÀÖÀ¸¹Ç·Î expert ¶ó°í ÀÔ·ÂÇÑ´Ù. ¼³Ä¡ ÁøÇàÇÒ ¾ð¾î¸¦ ¼±ÅÃÇÏ°í Å°º¸µå Á¾·ù¸¦ ¼±ÅÃÇϸé pcmcia¸¦ ¼³Ä¡ÇÒ °ÍÀÎÁö ¼³Ä¡ ¾ÈÇÒ°ÍÀÎÁö¿¡ ´ëÇØ ¹°¾îº»´Ù. ´ç¿¬È÷ yes¸¦ ´©¸£°í boot imageµð½ºÄÏÀ» »«ÈÄ pcmcia À̹ÌÁö µð½ºÄÏÀ» ³Ö´Â´Ù. ¿£Å͸¦ ´­·¯ÁÖ¸é moduleÀ» ¼³Ä¡Çϱ⠽ÃÀÛÇÑ´Ù.(pcmcia´Â ¸ðµâ·Î ÀÛµ¿ÇÑ´Ù.) ÀνºÅçÀÌ ¿Ï·áµÈÈÄ ³ª¿À´Â beefÀ½¿¡ ÁÖÀǸ¦ ±â¿ï¿©¶ó.PCÄ«µå°¡ Çϳª ¼³Ä¡µÈ °æ¿ì¿¡, ªÀº ºñÇÁÀ½ÀÌ µÎ¹ø ¿ï¸®°ÔµÇ¸é ÀÎ½Ä Çß´Ù´Â ¸»ÀÌ°í ªÀº ºñÇÁÀ½ Çѹø, ±ä ºñÇÁÀ½ ÇѹøÀÌ ³ª¿À°ÔµÇ¸é ÀνÄÀº µÇÁö¸¸ Á¦¾î ÇÒ ¼ö´Â ¾ø´Ù´Â ¸»ÀÌ´Ù.(modprobe:not found ¶ó´Â ¸Þ¼¼Áö°¡ ¶ß°ÔµÈ´Ù.)

    ¾Æ¹« ¼Ò¸®µµ µé¸®Áö ¾ÊÀ»°æ¿ì..¹®Á¦´Â ½É°¢ÇØÁø´Ù. ÀÌ°æ¿ì pcmcia-HOWTO¿Í pcmcia-developer-HOWTO¸¦ ÀоîºÁ¾ßÇÒ°ÍÀÌ´Ù.

    ´ÙÀ½ Áú¹®Àº ¾îµð·ÎºÎÅÍ ¸®´ª½º¸¦ ¼³Ä¡ÇÒ°ÍÀÎÁö ¹°¾îº¸´Â °ÍÀε¥ CD-ROM¿¡¼­ ¼³Ä¡ÇÏ´Â °ÍÀ̹ǷΠ±×³É ¿£Å͸¦ ÃÄÁÖ°í DISK DRUID·Î µé¾î°¡¼­ ÆÄƼ¼ÇÀ» Á¶Á¤ÇØÁֱ⠹ٶõ´Ù. Çϵåµð½ºÅ© ÀåÄ¡¸íÀº ´ÙÀ½°ú °°´Ù.

      primary master : /dev/hda
      first partition : /dev/hda1
      second partition: /dev/hda2 . .

    ÆÄƼ¼Ç ¼³Á¤¿¡ °üÇÑ°Ç ÀÌ ±ÛÀÌ ¾Æ´Ñ ´Ù¸¥ ±ÛÀ» ÂüÁ¶ ¹Ù¶õ´Ù. ÁÖÁ¦¿¡ Á»´õ Ãæ½ÇÇϱâÀ§ÇØ ÆÄƼ¼Ç ¼³Á¤¿¡ °üÇÑ ³»¿ëÀº »ý·«ÇÏ°Ú´Ù.

    ´ÙÀ½ Áú¹®Àº ¼³Ä¡ÇÒ Ç׸ñÀ» ¼±ÅÃÇÏ´Â °ÍÀÌ´Ù.
    EverythingÀÌ °¡Àå ¼ÓÆíÇÑ ¹æ¹ýÀÌÁö¸¸ °¢ÀÚÀÇ ÃëÇâ¿¡ ¸Â°Ô ¼±ÅÃÇØÁֱ⠹ٶõ´Ù. ok¸¦ Çѹø ´©¸£¸é ex2f ÆÄƼ¼ÇÀ» Æ÷¸ËÇÑ ÈÄ ¼³Ä¡¸¦ ½ÃÀÛÇÑ´Ù.

    ¼³Ä¡°¡ ³¡³­ÈÄ mouse¸¦ probeÇÏ°Ô µÇ´Âµ¥ probe°¡ ¾ÈµÉ °æ¿ì¿¡ ¼öµ¿À¸·Î ¼±ÅÃÇØÁÖ¸é µÈ´Ù. (Á¦Ç°¸íÀº ¸Þ´º¾ó¿¡ ³ª¿ÍÀÖ´Ù.)
    ¸¶¿ì½º¸¦ ¼±ÅÃÇÏ°Ô µÇ¸é ³×Æ®¿öũȯ°æ¿¡ ´ëÇÑ Áú¹®Àε¥ °¢ÀÚ È¯°æ¿¡ ¸Â°Ô ¼±ÅÃÇØÁØ´Ù.(³ëÆ®ºÏÀÌ ³×Æ®¿öÅ©¿¡ ¹°¸°°æ¿ì´Â µå¹®°Å°°°í ÁÖÁ¦¸¦ ¹þ¾î³ª°Ô µÇ´Â °Í °°¾Æ¼­ »ý·«ÇÏ°Ú´Ù.)ºñ¹Ð¹øÈ£´Â ·çÆ®ÀÇ ºñ¹Ð¹øÈ£-. retype±îÁö ÇØÁØ ÈÄ ok¸¦ ´©¸¥´Ù.

    ¸®·Î ¼³Ä¡´Â ¾È³» ¸Þ¼¼Áö¸¦ º¸¸é ÃæºÐÈ÷ ÇÒ ¼ö ÀÖ´Â °ÍÀ̹ǷΠ¿©±â¼­´Â ¼³¸íÇÏÁö ¾Ê°Ú´Ù.´ÙÀ½Àº VGAÄ«µå¿Í LCD¼³Á¤- X-windows¸¦ À§ÇÑ °ÍÀε¥ ÀÚµ¿À¸·Î Àâ¾ÆÁÖ´Â °æ¿ìµµ ÀÖÁö¸¸ ³ëÆ®ºÏ¿¡¼­ ÀÌ·±ÀÏÀº °ÅÀÇ ¾ø´Ù°í ºÁ¾ßÇÑ´Ù. ¾Æ±îÀü¿¡ ÀÚ·á¼öÁý´Ü°è¿¡¼­ ãÀº vgaÄ«µå¸¦ ¼±ÅÃÇÏ°í ¸ð´ÏÅÍ Á¾·ù´Â LCD ¸¦ ¼±ÅÃÇØÁØ´Ù(Çػ󵵴 °¢ÀÚÀÇ ³ëÆ®ºÏ¿¡ ¸Â°Ô)
    ¸¸¾à ÀÚ·á ¼öÁý ´Ü°è¿¡¼­ ȣȯµÇ´Â vgaÄ«µåÁ¶Â÷ ãÀ» ¼ö ¾ø¾ú´õ¶óµµ X-WINDOWS¸¦ ¶ç¿ï ¹æ¹ýÀÌ ÀüÇô ¾ø´Â °ÍÀº ¾Æ´Ï´Ù. ¾Õ¿¡¼­ Àá±ñ ¼³¸íÇѹ٠ÀÖ´ÂFrame Buffer¸¦ »ç¿ëÇÏ¸é µÇ´Â °ÍÀÌ´Ù. ÀÌ ¹æ¹ý¿¡ ´ëÇؼ­´Â µÚ¿¡¼­ ¼³¸íÇÏ°Ú°í XÀÇ ¼³Á¤ÀÌ µÇÁö ¾Ê¾Ò´Ù¸é Æ÷±âÇÏÁö¸»°í ÀڷḦ ã¾Æº¸°í ±×·¡µµ ¾ÈµÉ °æ¿ì¿¡ Frame Buffer¸¦ »ç¿ëÇϱ⠹ٶõ´Ù. ¿Ö³Ä¸é Frame Buffer¸¦ ¾µ°æ¿ì¿¡ ½ºÅ©·ÑÀÌ ´À¸®°í ÄֻܼóÅ¿¡¼­µµ 800*600È­¸éÀ»ºÁ¾ßÇϱ⶧¹®ÀÌ´Ù. ÀÌÁ¦ ½Ã½ºÅÛÀº ÀÚµ¿À¸·Î ¸®ºÎÆà µÉ°ÍÀÌ´Ù.

     

3. X-WINDOW

    SVGAÄ«µå ¼³Á¤À» ¼º°øÀûÀ¸·Î ¸¶ÃÆÀ» °æ¿ì¿¡´Â ÀÌ¹Ì X-MANAGER±îÁö ¼³Á¤ÇÏ°í ÀÚ±âÀÇ ÃëÇâ¿¡ ¸Â°Ô µ¶Æ¯ÇÑ ¸®´ª½º ȯ°æÀ» ±¸ÃàÇßÀ» Å×Áö¸¸ ¼³Á¤ÇÏÁö ¸øÇßÀ» °æ¿ì¿¡´Â ´Ù½Ã À©µµ¿ìÁî·Î µ¹¾Æ°¥ »ý°¢±îÁö ÇÏ°í ÀÖÀ»Áöµµ ¸ð¸¦ °ÍÀÌ´Ù. ±×·± »ç¶÷µéÀ» À§ÇØ ÇÁ·¹ÀÓ ¹öÆÛ ¼­¹ö¸¦ »ç¿ëÇÏ´Â ¹ýÀ» ¼³¸íÇÏ°Ú´Ù.ÇÁ·¹ÀÓ¹öÆÛ¶õ VESA 2.0 ÀÌ»óµÇ´Â VGAÄ«µå´Â ¸ðµÎ »ç¿ë°¡´ÉÇϸç Äֿܼ¡¼­ °íÇػ󵵸¦ º¼ ¼ö ÀÖ°Ô ÇØÁÖ´Â °ÍÀÌ´Ù. Áï ±×·¡ÇÈÀ» Ãâ·ÂÇÏ´Â ¾îÇø®ÄÉÀ̼ÇÀÌ ±×·¡ÇÈ Ãâ·ÂÀåÄ¡ÀÇ ³»ºÎ±¸Á¶¸¦ ¾ËÁö ¸øÇصµ ±×·¡ÇÈ Ãâ·ÂÀ» ÇÒ ¼ö ÀÖµµ·Ï ¸¸µé ¼ö ÀÖ´Â °ÍÀÌ´Ù.

    ÀÏ´Ü Ä¿³Î ¼³Á¤À» ´Ù½Ã ÇØÁÖ¾î¾ß ÇÑ´Ù. ÇÏÁö¸¸ ÇöÀç ³ª¿ÍÀÖ´Â ´ëºÎºÐÀÇ ¹èÆ÷ÆÇÀÇ Ä¿³ÎÀº ÀÌ ¼³Á¤µéÀ» Æ÷ÇÔÇÏ°í ÀÖÀ» °ÍÀÌ´Ù.
    ¸ÕÀú Ä¿³ÎÀÇ ¼Ò½º°¡ ÀÖ´Â °÷À¸·Î °¡¼­ "make menuconfig" ¸¦ ½ÇÇà½ÃŲ´Ù.
    ±×¸®°í Consol Drivers menuÀÇ ´ÙÀ½»çÇ×µéÀÌ Yes°¡ µÇµµ·Ï üũÇØÁà¾ß ÇÑ´Ù.

    VGA Text Console
    Video Selection Support
    Support for frame buffer devices
    VESA VGA Graphic console
    Advanced Low Level Drivers
    Select Mono,2bpp, 4bpp, 8bpp, 16vpp, 24bpp and 32bpp packed
    pixel drivers
    VGA character/attributes support

    ¿©±â¿¡¼­ Mono ~ 32bpp±îÁöÀÇ pixel driver´Â ¸ðµÎ´Ù ¼±ÅÃÇÏÁö ¾Ê¾Æµµ µÇÁö¸¸ 8bpp´Â ¹Ýµå½Ã
    ¼±ÅÃÇØ ÁÖ¾î¾ß ÇÑ´Ù.

    ÀÌÁ¦ Ä¿³ÎÀ» ÄÄÆÄÀÏÇÏ°í ¼³Ä¡ÇÑ´Ù. ¸¸¾à ÀÌ¹Ì ¿É¼Ç¿¡ ¼³Á¤µÇ¾îÀÖ¾ú´Ù¸é ´Ù½Ã ÄÄÆÄÀÏÇÏÁö ¾Ê´õ¶óµµ ÇÁ·¹ÀÓ¹öÆÛ¸¦ »ç¿ëÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù.
    ´ÙÀ½ ¸í·ÉÀº ÀåÄ¡ ±¸µ¿ ÆÄÀÏÀ» ¸¸µå´Â °ÍÀÌ´Ù.
    mknod /dev/fb0 c 29 0ln -s /dev/fb /dev/fb0ÀÌÁ¦ lilo.conf¸¦ °Çµå¸± Â÷·Ê´Ù. vi³ª emacs, ÀÚ½ÅÀÌ Æí¸®ÇÑ ¿¡µðÅÍ·Î /etc/lilo.conf¸¦ ¿¬´Ù. linuxÆÄƼ¼ÇÀ¸·Î ºÎÆÃÇÏ´Â Ç׸ñ Áß vga='¼ýÀÚ' À̶õ Ç׸ñÀÌ ÀÖÀ¸¸é ¼ýÀÚ¸¦ Àû¾îÁà¾ß ÇÏ°í ¾øÀ¸¸é vga='¼ýÀÚ' ½ÄÀ¸·Î Ãß°¡ ½ÃÄÑÁà¾ß ÇÑ´Ù. ¼ýÀÚ¶õ¿¡ µé¾î°¡´Â Ç¥´Â ´ÙÀ½°ú °°´Ù.

    Colours     640¡¿480     800¡¿600    1024¡¿768    1280¡¿1024    1600¡¿1200
    256           0301          0303          0305           0307             031C
    32,768      0310          0313          0316            0319             031D
    65,536      0311           0314          0317           031A             031E
    16.8M       0312           0315          0318           031B             031F

    ¿©±â´Â À§ÀÇ °Íµµ °°Àº ½ÊÁø¼ö·Î µÈ Ç¥ÀÔ´Ï´Ù.

    Colours     640x480     800x600     1024x768    1280x1024    1600x1200
    256           769            771            773            775              796
    32,768      784             787           790             793              797
    65,536      785             788            791            794              798
    16.8M       786             789            792            795              799

    ÀÌÁ¦ lilo¸¦ ½ÇÇà½ÃŲ ÈÄ ÀçºÎÆà ÇÑ´Ù.¿©·¯ºÐÀº ¸ÚÁø Æë±Ï·Î°í¸¦ º¸°í ÀÖÀ» °ÍÀÌ´Ù. :) ÀÌÁ¦ X-WINDOWS¸¦ ¶ç¿ï Â÷·Ê´Ù. ÀÌ°ÍÀº ºñ±³Àû °£´ÜÇÏ´Ù. ÀÏ´Ü FB-Xserver °¡ ÇÊ¿äÇÏ´Ù. ftp.xfree86.org ¿¡¼­ ±¸Çϱ⠹ٶõ´Ù. ¹Þ¾Æ¿Í¼­ ¾ÐÃàÀ» Ç®¸é XF86_FBDev¶ó´Â ÆÄÀÏÀÌ »ý±æ°ÍÀÌ´Ù. ÀÌ ÆÄÀÏÀ» /usr/X11R6/bin/ µð·ºÅ丮¿¡ ¿Å±ä´Ù.
    ±× µÚ /etc/X11/X ¸¦ /usr/X11R6/bin/XF86_FBDev·Î ½Éº¼¸¯ ¸µÅ©½ÃŲ´Ù.

    #ln -s /usr/X11R6/bin/XF86_FBDev /etc/X11/X

    ´ÙÀ½Àº /etc/X11/XF86Config ÆÄÀÏÀ» ¿­¾î¼­ ÆíÁýÇØÁØ´Ù.

    ¾Õ ºÎºÐÀÇ Å°º¸µå,¸¶¿ì½º,Ç׸ñÀº ±×³É ³öµÎ°í ³ª¸ÓÁö ºÎºÐÀ» ´ÙÀ½À» Âü°íÇÏ¿© ÆíÁýÇØÁØ´Ù.(³»°¡ »ç¿ëÇÏ°í ÀÖ´Â ¼³Á¤ÀÌ´Ù.)

     

    # XF86Config auto-generated by XF86Setup
    #
    # Copyright (c) 1996 by The XFree86 Project, Inc.

    #
    # Permission is hereby granted, free of charge, to any person
    # obtaining acopy of this software and associated
    # documentation files (the "Software"),to deal in the Software
    # without restriction, including without limitationthe rights to use,
    # copy, modify, merge, publish, distribute, sublicense,and/or
    # sell copies of the Software, and to permit persons to whom
    # theSoftware is furnished to do so, subject to the following
    # conditions:
    #
    # The above copyright notice and this permission notice shall be
    # included inall copies or substantial portions of the Software.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
    # OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
    # LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND
    # NONINFRINGEMENT. IN NO EVENT SHALL
    # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM,
    # DAMAGES OR OTHER LIABILITY,WHETHER IN AN ACTION OF
    # CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    # OTHER DEALINGS IN THE SOFTWARE.
    #
    # Except as contained in this notice, the name of the XFree86
    # Project shall not be used in advertising or otherwise to
    # promote the sale, use or other dealings in this Software
    # without prior written authorization from the XFree86 Project.
    #

    # See 'man XF86Config' for info on the format of this file

    Section "Files"
    RgbPath "/usr/X11R6/lib/X11/rgb"
    FontPath "unix/:-1"
    EndSection

    Section "ServerFlags"
    EndSection

    Section "Keyboard"
    Protocol "Standard"
    AutoRepeat 500 30
    #5 LeftAlt Meta
    RightAlt Meta
    ScrollLock Compose
    RightCtl Control
    XkbKeycodes "xfree86"
    XkbTypes "default"
    XkbCompat "default"
    XkbSymbols "us(pc101)"
    XkbGeometry "pc"
    XkbRules "xfree86"
    # XkbModel "pc101"
    XkbModel "us"#4#88"
    XkbLayout "us"
    EndSectionSection

    "Pointer"
    Protocol "GlidePointPS/2"
    Device "/dev/mouse"
    Emulate3Buttons Emulate3
    Timeout 50
    EndSection

    Section "Monitor"
    Identifier "Primary Monitor"
    EndSection
    #VGAÄ«µå ¼³Á¤ºÎºÐÀÌ´Ù. ¿ª½Ã Primary Card·Î ¼³Á¤ÇØ ÁÖ¾ú´Ù.
    Section "Device"
    Identifier "Primary Card"
    EndSection
    #Á¦ÀÏ Áß¿äÇÑ ºÎºÐÀÌ´Ù. ½ºÅ©¸°¿¡ ´ëÇØ ¼³Á¤ÇØÁÖ´Â °÷ÀÌ´Ù.
    Section "Screen"
    #FBDev¸¦ (¾Æ±îÀü¿¡ /usr/X11R6/bin/ ¿¡ º¹»çÇÑ µå¶óÀ̹öÀÌ´Ù.)
      »ç¿ëÇÑ´Ù.
    Driver "FBDev"
    #PrimayÄ«µå¸¦ »ç¿ëÇÑ´Ù. À§¿¡¼­ ¾´°Í°ú ¶È°°ÀÌ ½á¾ß ÇÑ´Ù.
    Device "Primary Card"
    #Primay¸ð´ÏÅ͸¦ »ç¿ëÇÑ´Ù. ¿ª½Ã À§¿¡ ¾´°Í°ú ¶È°°ÀÌ ½á¾ß ÇÑ´Ù.
    Monitor "Primary Monitor"
    #Display ¼³Á¤ÀÌ´Ù. ¾Æ·¡ ¼³Á¤Àº FB consol ÇØ»óµµ¿Í °°Àº Çػ󵵸¦
      X¿¡¼­ »ç¿ëÇÑ´Ù´Â ¶æÀÌ´Ù. Subsection "Display"
    Modes "default"
    ViewPort 0 0
    EndSubsection
    EndSection

     

    ÀúÀåÇÏ°í ºüÁ®³ª¿À¸é, ÀÌÁ¦ ¸ðµç ¼³Á¤Àº ¿Ï·áµÈ °ÍÀÌ´Ù. startx¶ó°í Ãĺ¸ÀÚ. ¸ÚÁø XÀ©µµ¿ìÀÇ È­¸éÀÌ ¿©·¯ºÐÀ» ±â´Ù¸®°í ÀÖÀ» °ÍÀÌ´Ù.

    À̹øÈ£¿¡¼­ ´Ù·é Frame Buffer´Â VESAfb-HOWTO¸¦ Âü°í ÇßÀ¸¸ç ´ÙÀ½È£¿¡¼­´Â PCMCIA-HOWTO¸¦ ´Ù·ê ¿¹Á¤ÀÌ´Ù.
    ¹®ÀÇ »çÇ×ÀÌ ÀÖÀ¸¸é
    ikarus@kldp.org·Î ¸ÞÀÏÀ» º¸³»±â ¹Ù¶õ´Ù.




¡ã top

homeÀ¸·Î...