· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Linuxdoc Sgml/Sparc Linux-KLDP

½ºÆÅ ¸Ó½Å¿¡ ¸®´ª½º ¼³Ä¡Çϱâ

½ºÆÅ ¸Ó½Å¿¡ ¸®´ª½º ¼³Ä¡Çϱâ

ÀÓÁ¾±Õ kernel@kldp.org

v0.3.1, 2000³â 4¿ù 8ÀÏ
¼­¿ï´ëÇб³ ÄÄÇ»ÅÍ°øÇаúÀÇ ¿öÅ©½ºÅ×À̼ǽǿ¡ ÀÖ´Â ¿À·¡µÈ ½ºÆÅ ¸Ó½Å¿¡ ¸®´ª½º¸¦ ¼³Ä¡ÇÏ´Â ¹ý¿¡ ´ëÇÑ ½ÇÁúÀûÀÎ ¼³¸íÀÔ´Ï´Ù. ÀÌ ¹®¼­´Â ¼³Ä¡¿Í °ü·ÃµÈ Àú¿Í ´Ù¸¥ ºÐµéÀÇ °æÇè´ãÀ» ÀûÀº °ÍÀ̱⠶§¹®¿¡ ¿Ïº®ÇÑ ¼³Ä¡ ¸Å´º¾óÀº ¾Æ´Õ´Ï´Ù.

1. ±âº» ȯ°æ

¼­¿ï´ëÇб³ ÄÄÇ»ÅÍ°øÇаúÀÇ ¿öÅ©½ºÅ×À̼ǽǿ¡´Â Çö´ë¿¡¼­ ±âÁõÇÑ ¸¹Àº Sun4m ½ºÆÅ ¸Ó½ÅÀÌ ÀÖ½À´Ï´Ù. ÀÌ ¸Ó½Å¿¡´Â µÇÁöµµ ¾Ê´Â ÃÖ½ÅÀÇ ¼Ö¶ó¸®½º 2.6ÀÌ ¼³Ä¡°¡ µÇ¾î ÀÖ¾î ±¦½Ã¸® »ç¿ëÀڵ鸸 ´ä´äÇÏ°Ô ¸¸µé°í ÀÖ½À´Ï´Ù. ÃÖÀûÀÇ ¼º´ÉÀ» ³»±â À§ÇØ LPG (Linux Programming Group)¿¡¼­´Â ÀÌ ¸Ó½Å¿¡ ¸®´ª½º¸¦ ¼³Ä¡¸¦ Çϱâ·Î ÇÏ¿´½À´Ï´Ù.

ÀÌ ½ºÆÅ ¿öÅ©½ºÅ×À̼ǵéÀº Ç÷ÎÇÇ·Î ºÎÆÃÀÌ ¾È µÇ±â ¶§¹®¿¡ ³×Æ®¿÷À¸·Î ºÎÆÃÀ» ÇÏ´Â ¹æ¹ýÀ» ½á¾ß ÇÕ´Ï´Ù. ±×·¯±â À§Çؼ­´Â tftp À̹ÌÁöÀ» °¡Áö°í ÀÖ´Â ºÎÆ® ¼­¹ö°¡ ÇÊ¿äÇÕ´Ï´Ù. LPG¿¡ ÇÒ´çµÈ ¿öÅ©½ºÅ×À̼ÇÀÌ µÎ ´ëÀ̱⠶§¹®¿¡ ÇÑ ´ë¸¦ ºÎÆ® ¼­¹ö·Î »ç¿ëÇÏ¿©¼­ ´Ù¸¥ ÇÑ ´ë¿¡ ¸®´ª½º¸¦ ¼³Ä¡Çϵµ·Ï ÇÕ´Ï´Ù.

»ç¿ëÇÒ ³×Æ®¿÷ Á¤º¸´Â ´ÙÀ½°ú °°½À´Ï´Ù.

  • ºÎÆ® ¼­¹ö: comp237.snu.ac.kr (¼Ö¶ó¸®½º 2.6), IPÁÖ¼Ò: 147.46.124.44
  • Ÿ°Ù ¸Ó½Å: comp229.snu.ac.kr (¼Ö¶ó¸®½º 2.6), IPÁÖ¼Ò: 147.46.124.38, NICÁÖ¼Ò: 0:0:3b:80:42:45
  • °ÔÀÌÆ®¿þÀÌ: IPÁÖ¼Ò: 147.46.124.1
  • DNS: IPÁÖ¼Ò: 147.46.80.1

2. ºÎÆ® ¼­¹ö ¼³Á¤Çϱâ: ¼Ö¶ó¸®½º

  1. /etc/ethers ÆÄÀÏ¿¡ Ÿ°ÙÀÇ NICÁÖ¼Ò¸¦ ¼³Á¤ÇÕ´Ï´Ù. ±× ÆÄÀÏ ¾øÀ¸¸é ¸¸µì´Ï´Ù. NICÁÖ¼Ò¿¡¼­ ÇÑÀÚ¸® ¼ýÀÚ ¾Õ¿¡ 0À» Ãß°¡ÇÏ¿© µÎÀÚ¸®·Î ¸¸µì´Ï´Ù. NICÁÖ¼Ò´Â ¿öÅ©½ºÅ×À̼ÇÀÌ ºÎÆÃÇÒ ¶§ È­¸é¿¡ Ç¥½ÃµË´Ï´Ù. ±× ¶§ º¸°í Àû¾îµÎ¸é µË´Ï´Ù.

            00:00:3b:80:42:45 comp229 
    

  2. /etc/hosts ÆÄÀÏ¿¡ Ÿ°ÙÀÇ ÁÖ¼Ò¸¦ Ãß°¡ÇÕ´Ï´Ù.
            147.46.124.38 comp229 comp229.snu.ac.kr
    
  3. rarp µ¥¸óÀ» ½ÃÀÛ½Ãŵ´Ï´Ù. ¿©±â±îÁö°¡ rarp¿¡ ´ëÇÑ ¼³Á¤ÀÔ´Ï´Ù.
            /usr/sbin/in.rarpd -a
    
  4. /tftp µð·ºÅ丮¸¦ ¸¸µé°í, tftp ºÎÆ® À̹ÌÁö¸¦ ´Ù¿î¹Þ¾Æ ÀÌ µð·ºÅ丮¿¡ µÓ´Ï´Ù.
            # mkdir /tftp
            # ftp ftp.kreonet.re.kr
            ftp> cd .1/Linux/redhat/redhat-6.0/sparc/images
            ftp> bin
            ftp> get tftp32.img
            ftp> quit
    
  5. Ÿ°ÙÀÇ ÁÖ¼Ò¸¦ 16Áø¼ö·Î º¯È¯ÇÑ ÈÄ, ´ÙÀ½°ú °°Àº ½Éº¼¸¯ ¸µÅ©¸¦ ¸¸µì´Ï´Ù.
            10Áø¼ö       16Áø¼ö
            147     ->   93
            46      ->   2E
            124     ->   7C
            38      ->   26
    
            # ln -s tftp32.img 932E7C26.SUN4M
    
  6. /etc/inetd.conf¸¦ ¼öÁ¤ÇÏ¿© tftp µ¥¸óÀÌ ½ÃÀÛµÉ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù.
            tftp dgram udp wait root /usr/sbin/in.tftpd  in.tftpd -s /tftp
    
  7. /etc/dfs/dfstab¿¡ ´ÙÀ½ ³»¿ëÀ» Ãß°¡ÇÕ´Ï´Ù. ÀÌ»óÀÌ tftp¿¡ ´ëÇÑ ¼³Á¤ÀÌ¿´½À´Ï´Ù.
            share -F nfs -o root=comp229,rw=comp229 -d "tftpboot" /tftp
    
  8. ºÎÆ® ¼­¹ö¸¦ ÀçºÎÆÃÇÕ´Ï´Ù.

3. ºÎÆ® ¼­¹ö ¼³Á¤Çϱâ: ¸®´ª½º

  1. /etc/ethers ÆÄÀÏ¿¡ Ÿ°ÙÀÇ NICÁÖ¼Ò¸¦ ¼³Á¤ÇÕ´Ï´Ù. ±× ÆÄÀÏ ¾øÀ¸¸é ¸¸µì´Ï´Ù. NICÁÖ¼Ò¿¡¼­ ÇÑÀÚ¸® ¼ýÀÚ ¾Õ¿¡ 0À» Ãß°¡ÇÏ¿© µÎÀÚ¸®·Î ¸¸µì´Ï´Ù. NICÁÖ¼Ò´Â ¿öÅ©½ºÅ×À̼ÇÀÌ ºÎÆÃÇÒ ¶§ È­¸é¿¡ Ç¥½ÃµË´Ï´Ù. ±× ¶§ º¸°í Àû¾îµÎ¸é µË´Ï´Ù.

            00:00:3b:80:42:45 comp229 
    

  2. Ä¿³ÎÀÇ rarp Å×ÀÌºí¿¡ Ç׸ñÀ» Ãß°¡ÇÕ´Ï´Ù.
            # /sbin/rarp -s 147.46.124.38 00:00:3b:80:42:45
            # /sbin/arp -s 147.46.124.38 00:00:3b:80:42:45
    
  3. /tftp µð·ºÅ丮¸¦ ¸¸µé°í, tftp ºÎÆ® À̹ÌÁö¸¦ ´Ù¿î¹Þ¾Æ ÀÌ µð·ºÅ丮¿¡ µÓ´Ï´Ù.
            # mkdir /tftp
            # ftp ftp.kreonet.re.kr
            ftp> cd .1/Linux/redhat/redhat-6.0/sparc/images
            ftp> bin
            ftp> get tftp32.img
            ftp> quit
    
  4. Ÿ°ÙÀÇ ÁÖ¼Ò¸¦ 16Áø¼ö·Î º¯È¯ÇÑ ÈÄ, ´ÙÀ½°ú °°Àº ½Éº¼¸¯ ¸µÅ©¸¦ ¸¸µì´Ï´Ù.
            10Áø¼ö       16Áø¼ö
            147     ->   93
            46      ->   2E
            124     ->   7C
            38      ->   26
    
            # ln -s tftp32.img 932E7C26.SUN4M
    
  5. /etc/inetd.conf¸¦ ¼öÁ¤ÇÏ¿© tftp µ¥¸óÀÌ ½ÃÀÛµÉ ¼ö ÀÖ°Ô ´ÙÀ½À» Ãß°¡ÇÕ´Ï´Ù.
            tftp dgram udp wait root /usr/sbin/in.tftpd  in.tftpd -s /tftp
    
  6. /etc/exports ÆÄÀÏ¿¡ ´ÙÀ½À» Ãß°¡ÇÕ´Ï´Ù.
            /tftp comp229.snu.ac.kr
    
  7. ºÎÆ® ¼­¹ö¸¦ ÀçºÎÆÃÇÕ´Ï´Ù.

4. Ÿ°Ù ¸Ó½Å ¼³Á¤Çϱâ

  1. Àü¿øÀ» Å°°í STOP + A¸¦ ´©¸¥ ÈÄ "ok" ¸Þ¼¼Áö°¡ ³ª¿À¸é ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÏ¿© ³×Æ®¿÷ ºÎÆÃÀ» ÇÕ´Ï´Ù.

            % boot net
    

  2. tftp·Î ºÎÆ® À̹ÌÁö¸¦ Àоî¿À°í ´Ù ÀÐ°Ô µÇ¸é TILO¸¦ ½ÃÀÛÇÏ¿© ¼³Ä¡ È­¸éÀ¸·Î µé¾î °©´Ï´Ù. ÀÌÈÄ¿¡´Â ÀϹÝÀûÀÎ RedHatÀÇ ¼³Ä¡¿Í À¯»çÇÕ´Ï´Ù.
  3. FTP ¼³Ä¡¸¦ ¼±ÅÃÇÕ´Ï´Ù. ´ÙÀ½°ú °°ÀÌ ¼³Á¤À» ÇÏ½Ã¸é µË´Ï´Ù.

            ftp server: ftp.kreonet.re.kr
            directory: .1/Linux/redhat/redhat-6.0/sparc
    
    ftp.snu.ac.kr·Î ¼³Á¤À» ÇÏ¸é ·ÎÄà ·£À¸·Î ´õ ºü¸£°Ô ¼³Ä¡¸¦ ÇÒ ¼ö ÀÖ°ÚÁö¸¸, ftp.snu.ac.krÀÇ °æ¿ì¿¡´Â Àå½Ã°£ÀÇ ¿¬°áÀ» ÀÚµ¿À¸·Î ²÷¾îÁö°Ô ¸¸µé¾î¼­ ¼³Ä¡ µµÁß¿¡ ¿¡·¯¸¦ ¹ß»ý½Ãŵ´Ï´Ù. kreonet¿¡¼­ ¹Þ¾Æ ¼³Ä¡¸¦ ÇÏ¿©µµ ´À¸®Áö´Â ¾Ê½À´Ï´Ù.

  4. ÆÄƼ¼Ç ¼³Á¤

    ½ºÆÅ ¸Ó½Å¿¡¼­´Â sda3°¡ ºÎÆÃÀÌ µÇ´Â ÇÏµå µð½ºÅ© ÆÄƼ¼ÇÀ̶ó°í ÇÕ´Ï´Ù. µû¶ó¼­ sda2¿¡ 32MÁ¤µµÀÇ ½º¿ÒÀ» Àâ°í ³ª¸ÓÁö´Â sda3¿¡ ÀâÀ¸¸é µË´Ï´Ù.

5. ´Ù¸¥ ¼³Ä¡ °æÇè´ã

Àú¿Í´Â ´Ù¸¥ ȯ°æ¿¡¼­ ½ºÆÅ ¸®´ª½º¸¦ ¼³Ä¡Çϼ̴ø ºÐµéÀÇ °æÇèÀ» Á¤¸®ÇÏ¿© ´ã¾Ò½À´Ï´Ù. ÀÌ ºÐµéÀÇ È¯°æÀº ¸Ó½Åµµ ´Ù¸£°í, ¹èÆ÷º»µµ ´Ù¸£±â ¶§¹®¿¡ ±× °æÇèÀÌ ±× ȯ°æ¿¡¼­¸¸ Àû¿ëµÉ ¼ö ÀÖ´Â °ÍÀÎÁö, ¾Æ´Ï¸é ÀϹÝÀûÀÎ »óȲÀÎÁö È®½ÅÇÒ ¼ö ¾ø½À´Ï´Ù. ±×·¡¼­ ÀÌ·¸°Ô µû·Î ´Ù¸¥ Á¡¸¸À» ºÐ¸®ÇØ µÎ¾ú½À´Ï´Ù.

¶Ç ´Ù¸¥ °æÇèÀ» Àú¿¡°Ô º¸³»Áֽñ⠹ٶø´Ï´Ù.

5.1 RedHat 6.2¸¦ ¼³Ä¡ÇÒ °æ¿ì

°øÁø±â´Ô²²¼­ º¸³»Áּ̽À´Ï´Ù.

¼³Ä¡ »ç¾ç:

  • ºÎÆ® ¼­¹ö: ¼Ö¶ó¸®½º, Enterprise 3000 (Sun4u, UltraSparc)
  • Ÿ°Ù ¸Ó½Å: ºÎÆ® ¼­¹ö¿Í µ¿ÀÏ ¸Ó½Å
  • ¹èÆ÷º»: RedHat 6.2 Beta for Sparc

¼Ö¶ó¸®½º¸¦ ºÎÆ® ¼­¹ö·Î ¼³Á¤ÇÒ °æ¿ì

  1. 5¹ø ´Ü°è¿¡¼­ ½Éº¼¸¯ ¸µÅ©¸í¿¡ .SUN4MÀ̳ª .SUN4U¿Í °°Àº ¾ÆÅ°ÅØÃÄ À̸§Àº ³ÖÁö ¾Ê¾Æµµ µË´Ï´Ù.
  2. 7¹ø ´Ü°è¿¡¼­ /etc/dfs/dfstab¿¡ ³»¿ë Ãß°¡¾øÀÌ ´ÙÀ½°ú °°ÀÌ ½©¿¡¼­ ¸í·ÉÀ» ÁÖ¸é µË´Ï´Ù.
        share -F nfs -o rw -d "tftpboot" /tftp  
    
  3. À§¿Í °°ÀÌ ÇÏ¿´´Ù¸é 8¹ø ´Ü°è¿¡¼­ ÀçºÎÆþøÀÌ inetd µ¥¸ó¸¸À» Àç½ÃÀÛÇÏ¸é µË´Ï´Ù.
        kill -HUP [inetdÀÇ ÇÁ·Î¼¼½º id]
    

5.2 ±¸Çü Sun4/75 ±â°è¿¡ ¼³Ä¡Çϱâ

¹Ú¼ºÈ£´Ô²²¼­ º¸³»Áּ̽À´Ï´Ù.

¼³Ä¡ »ç¾ç:

  • ºÎÆ® ¼­¹ö: ¼Ö¶ó¸®½º, Sun4/75 (Sun4c, Goldstar OEM, prom v2.2)
  • Ÿ°Ù ¸Ó½Å: ºÎÆ® ¼­¹ö¿Í µ¿ÀÏ ¸Ó½Å
  • ¹èÆ÷º»:

¼Ö¶ó¸®½º ºÎÆ® ¼­¹ö ¼³Á¤ÀÇ 5¹ø ´Ü°è¿¡¼­ ½Éº¼¸¯ ¸µÅ© ³¡ÀÇ ¾ÆÅ°ÅØÃĸíÀ» SUN4C·Î ÇÕ´Ï´Ù. (´Ù¸¥ À̸§¿¡ ´ëÇÑ Å×½ºÆ®´Â ¸ø ÇÏ¿´½À´Ï´Ù)

ŸÄÏ ¸Ó½ÅÀÇ ÆÄƼ¼Ç ¼³Á¤½Ã¿¡ sda3°¡ ºÎÆõǴ ÆÄƼ¼ÇÀ̶ó´Â Ç¥ÇöÀº À߸øµÈ °ÍÀÌ°í, ¼± ÀåºñÀÇ Çϵå´Â BSD°è¿­ ó·³ µð½ºÅ© ¶óº§ÀÌ ºÙ½À´Ï´Ù. º¸Åë sda3¿¡ Àüü Çϵ带 ÀǹÌÇÏ´Â ÆÄƼ¼ÇÀ» »ý¼ºÇÏ°í ±× ¾È¿¡ 1¿¡¼­ 7±îÁöÀÇ ÆÄƼ¼ÇÀ» Àâ½À´Ï´Ù. 1¹ø ÆÄƼ¼ÇÀ» ·çÆ®·Î, 2¹ø ÆÄƼ¼ÇÀ» ½º¿ÒÀ¸·Î Àâ°í 3¹øÀ» whole disk·Î Ç¥½ÃÇÕ´Ï´Ù.

±×¸®°í lilo´Â sda1¿¡ ¼³Ä¡ÇÏ°í ºÎÆýà prom »óȲ¿¡¼­

    boot sbus/esp/sd@1,1
¸í·ÉÀ¸·Î ºÎÆÃÇÕ´Ï´Ù. (Çϵå ID°¡ 1ÀÏ °æ¿ìÀÔ´Ï´Ù. 1¹ø ÇϵåÀÇ 1¹ø ÆÄƼ¼ÇÀ̶ó´Â ÀǹÌÀÔ´Ï´Ù.) ÀÌ »óȲÀ» ±âº»°ªÀ¸·Î ¼³Á¤À» ÇÏ¸é ´ÙÀ½ºÎÅÍ´Â Áöµ¿ ºÎÆÃÀÌ µË´Ï´Ù.

6. Âü°í ÀÚ·á

7. ¹®¼­ ¹öÀü

  • v0.3.1, 2000³â 4¿ù 8ÀÏ, ¹Ú¼ºÈ£´ÔÀÇ °æÇè´ã Ãß°¡
  • v0.3, 2000³â 4¿ù 1ÀÏ, RedHat 6.2¸¦ ¼³Ä¡ÇÒ °æ¿ì Ãß°¡, Âü°í ÀÚ·á º¸°­
  • v0.2, 1999³â 12¿ù 20ÀÏ, SGML Çü½ÄÀ¸·Î ¹Ù²Ù°í ³»¿ëÀ» º¸°­ÇÏ¿´½À´Ï´Ù.
  • v0.1, 1999³â 5¿ù 22ÀÏ, ÅؽºÆ® Çü½ÄÀ¸·Î óÀ½ ÀÛ¼ºÇÏ¿´½À´Ï´Ù.


ID
Password
Join
The time is right to make new friends.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:30
Processing time 0.0029 sec