Subject: ¾ËÂ¥ download/CD±Á±â Date: 18 Mar 1999 20:37:58 GMT From: slee@eos.ncsu.edu (Swan Lover) Organization: "Put Your ORGANIZATION" Newsgroups: han.comp.os.linux ¾ËÂ¥ 5.2¸¦ downloadÇؼ­ CD·Î ¸¸µé·Á°í ÇϽô ºÐµéÀÌ ¸¹Àº °Í°°¾Æ Á¦°¡ Çغ» °æÇèÀ» Åä´ë·Î °£·«ÇÏ°Ô Á¤¸®ÇÑ ±ÛÀ» postingÇØ º¾´Ï´Ù. ¸ðµç °ÍÀº Á¦ ȯ°æ¿¡ ¸ÂÃç ¾²¿©Á³±â ¶§¹®¿¡ °æ¿ì¿¡ µû¶ó Á¶±Ý¾¿ ´Ù¸¦¼ö ÀÖ½À´Ï´Ù. 1. Download Çϱâ 1.1 Download ȯ°æ. ¾ËÂ¥¸¦ downloadÇÒ¶§ Linux³»¿¡¼­ Çϱ⸦ ±ÇÇÕ´Ï´Ù. Àú´Â win95¸¦ ¹ÏÀ» ¼ö ¾ø¾î ÇÏÁö ¾Ê¾ÒÁö¸¸ win95¿¡¼­µµ downloadÇÑ ÈÄ joliet formatÀ¸·Î CD¸¦ ¸¸µçÈÄ joliet patchµÈ installation boot floppy·Î REDHATÀ» ¼³Ä¡ÇÒ¼ö ÀÖ½À´Ï´Ù. 1.2 Download program DownloadÇÒ ¶§ »ç¿ëÇÏ´Â programÀ¸·Î fmirror¸¦ ÃßõÇÕ´Ï´Ù. Àúµµ ÀÌ newsgroup¿¡¼­ ´©±º°¡ ÃßõÇϼż­ »ç¿ëÇߴµ¥ ¸¹Àº ¾çÀÇ structured directory¸¦ downloadÇÒ ¶§ ±²ÀåÈ÷ ÆíÇÑ toolÀÌ´õ±º¿ä. ´ÙÀ½ ftp site¿¡¼­ download ¹ÞÀ¸½Ã¸é µË´Ï´Ù. ftp://ftp.guardian.no/pub/free/ftp/fmirror/ ´Ù ¹ÞÀ¸½ÅÈÄ ¾ÐÃàÀ» Ǫ½Ã°í ¸¸µé¾îÁø fmirror directory·Î °¡¼Å¼­ "make" ÇÏ½Ã¸é ¾Ë¾Æ¼­ compileÇÏ°í "fmirror" ¶ó´Â ½ÇÇàfileÀÌ »ý±é´Ï´Ù. ±× ´ÙÀ½À¸·Î fmirror¸¦ »ç¿ëÇÒ¶§ ÇÊ¿äÇÑ configuration fileÀ» ¸¸µå¼Å¾ß ÇÕ´Ï´Ù. ¾Æ·¡´Â Á¦°¡ »ç¿ëÇÑ fmirrorÀÇ configuration file·Î fmirrorÀ» »ç¿ëÇϱ⠿øÇϽøé ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù. ------------------------------------------------------------------------------ # This is a file that I once used to mirror Alzza redhat 5.2. username: anonymous password: °¢ÀÚÀÇ email ÁÖ¼Ò host: sunsite.kren.ne.kr remotedir: /pub/OS/Alzza-Linux/alzza-5.2/i386 localdir: ¾ËÂ¥5.2¸¦ mirrorÇÒ ÀÚ½ÅÀÇ directory dircmd: LIST -lgRa # the normal excludes first exclude: f ^(\.in\.|\.mirror|core$|MIRROR\.LOG|\.notar|\.message) exclude: f ^(\.cache|\.zipped|lost\+found|Network Thrash Folder) ------------------------------------------------------------------------------- 1.3 ¹ÞÀ» directory Àúó·³ PC¸¦ »ç¿ëÇϽø鼭 source´Â ÇÊ¿ä¾øÀ» °æ¿ì i386/ ³»ºÎ¸¸ ¹ÞÀ¸½Ã¸é µÇ´Ï±î À§ÀÇ configuration fileÀ» ¼öÁ¤ÇÒ ÇÊ¿ä°¡ ¾ø°í source¿¡ alpha version±îÁö ÇÊ¿ä ÇϽźÐÀº »óÀ§ directory¸¦ Åë°·Î mirrorÇÏ¼Å¾ß ÇÕ´Ï´Ù. 1.4 µåµð¾î ¹Þ±â.... fmirrorÀÌ compileµÇ¾ú°í configuration file±îÁö ÀÛ¼ºµÇ¾úÀ¸¸é µåµð¾î.. ¹Þ±â½Ãµµ. xterm¿¡¼­ "fmirror -f " Çϸé ftp site¿¡ Á¢¼Ó½ÃµµÇÏ´Â message°¡ ³ª¿À¸é¼­ È­¸é¿¡ ¿Õâ ¹¹°¡(?) È® Áö³ª°¡°í (³Ê¹« »¡¶ó º¼ ¼ö°¡ ¾øÀ½) ±× ´ÙÀ½ mirrorÇÏ°í ÀÖ´Ù´Â message°¡ ³ª¿É´Ï´Ù. ±×·¸°Ô µÇ¸é ¼º°ø... ¾Æ´Ï¸é config fileÀ» µé¿©´Ù º¸½Ã°í Ȥ½Ã ftp siteÀÌ ¸Â´ÂÁö, directoryÀÇ Ã¶ÀÚ´Â ¸Â´ÂÁö üũÇغ¸½Ã±â ¹Ù¶÷... mirrorÇÒ¶§ ½Ã°£ÀÌ ¸¹ÀÌ °É¸®¹Ç·Î ¿À·¡ ±â´Ù·Á¾ß ÇÕ´Ï´Ù. 2. Making CD (bootable) 2.1 mkisofs ¾ËÂ¥¸¦ ´Ù ¹ÞÀ¸¼ÌÀ¸¸é (i386/ directory) CD·Î ¸¸µé°í ½Í¾îÁö´Âµ¥, du ¸í·ÉÀ¸·Î ¾ËÂ¥ directory ¿ë·®À» üũÇغ¸½Ã¸é 68xxxx Á¤µµ°¡ µÇ´Âµ¥ ÀÌ°Ç 650MB°¡ ÈξÀ ³Ñ´Â ºÐ·®À¸·Î ÀÌ »óÅ·δ ÇÑ CD¿¡ ´ãÀ» ¼ö ¾øÁÒ. ±×·¡¼­ ¹º°¡¸¦ Áö¿ö¾ß Çϴµ¥ Àú´Â devel/ ³»ÀÇ kernel-2.2/ (¾à 10MB ºÐ·®)À» Áö¿ì°í ±×·¡µµ ¹Ì½É½¾î¼­ images/ ³»¿¡ »õ·ÎÀÌ Ãß°¡µÈ ÇÑ±Û boot imageµéÀ» Áö¿ü½À´Ï´Ù. ±×¸®°í images/orig/ ¾È¿¡ ÀÖ´Â ¿øº» (¿µ¹®) boot imageÀÎ boot.img, supp.img, rescue.img¸¦ »óÀ§ directory Áï images/·Î ¿Å±äÈÄ du ¸í·ÉÀ¸·Î üũÇغ» Àüü ¿ë·®Àº 665928K = 665928/1024 = 650.32MB.. ÀÌÁ¤µµ¸é µé¾î °¡°ÚÁö¿ä.. (³ªÁß¿¡ ¾Æ½Ã°ÚÁö¸¸ mkisofs·Î ISO image¸¦ ¸¸µé¸é À̺¸´Ù ´õ ÀÛ¾ÆÁö°Ô µË´Ï´Ù. ±×·¡¼­ ÇÑ±Û boot image¸¦ ±×³É ³öµÐü ISO image¸¦ ¸¸µå¼Åµµ µÉ°Í °°½À´Ï´Ù. Àú´Â ¾ÈÀüÇÏ°Ô ÇÏ·Á°í ÇÑ °ÍÀÓ) ÇÑ CD¸¦ ³ÑÁö¾Ê´Â ºÐ·®ÀÓÀ» È®ÀÎÇÑ ÈÄ¿¡´Â ISO image¸¦ ¸¸µé¾î¾ß°ÚÁÒ. ¾ËÂ¥ directory¹ÛÀ¸·Î ³ª¿Í¼­... mkisofs -b images/boot.img -c images/.boot.catalog -r -T -V Alzza5.2 -o Alzza52.iso Alzza-5.2/ À§ÀÇ ¸í·ÉÀ» ³»¸®¸é Alzza52.iso¶ó´Â ISO image°¡ ¸¸µé¾îÁý´Ï´Ù. °£·«È÷ ¼³¸í.. -b images/boot.img : bootable image¸¦ ÁöÁ¤ -c images/.boot.catalog : boot catalog ÁöÁ¤ -V Alzza5.2 : CD Volume name ÁöÁ¤ (¸¾¿¡ µå´Â °É·Î ¾Æ¹«°Å³ª) -o Alzza52.iso : ISO image name (¿ª½Ã ¸¾¿¡ µå´Â °É·Î) Alzza-5.2/ : ¾ËÂ¥°¡ ÀÖ´Â directory ¾Æ·¡´Â mkisofs°¡ ½ÇÇàµÇ¸é¼­ ³ª¿À´Â messageµéÀÓ. <Áß·«> Size of boot image is 2880 sectors -> Emulating a 1.44 meg floppy Total extents scheduled to be written = 329634 <Áß·«> 97.08% done, estimate finish Thu Mar 18 11:34:43 1999 98.59% done, estimate finish Thu Mar 18 11:34:44 1999 Total extents actually written = 329634 Total translation table size: 183916 Total rockridge attributes bytes: 340369 Total directory bytes: 759808 Path table size(bytes): 2620 Max brk space used 1f1000 329634 extents written (643 Mb) mkisofsÀÇ ½ÇÇàÀÌ ³¡³ª¸é ISO image°¡ ¸¸µé¾îÁý´Ï´Ù. (ÀúÀÇ °æ¿ì "Alzza52.iso") 2.2 Test the CD-image ISO image°¡ ¸¸µé¾î ÁøÈÄ Àß ¸¸µé¾îÁ³´ÂÁö testÇغ¼ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ¾Æ½Ã°ÚÁö¸¸ Linux´Â ISO image¸¦ disk partitionó·³ mountÇÒ ¼ö ÀÖ´Â ±â´ÉÀÌ ÀÖÁÒ. mount -t iso9660 -o ro,loop=/dev/loop0 /mnt/cdrom ÀÌ·¸°Ô ¸í·ÉÀ» ³»¸®¸é /mnt/cdrom (¹°·Ð ÀÌ directory°¡ Á¸Àç ÇؾßÁö¿ä)¿¡ ¾ËÂ¥ iso image°¡ ÁøÂ¥ CDROMó·³ mountµÇ°í ±× ¾È¿¡ °¢ directory°¡ º¸ÀÏ°Ì´Ï´Ù. ÀÌ image¸¦ unmount½ÃÅ°·Á¸é ´Ü¼øÈ÷ umount /mnt/cdrom ÇÏ½Ã¸é µË´Ï´Ù. 2.3 CD burning ÀÌÁ¦ test±îÁö ¸¶ÃÆÀ¸´Ï ¸¸µé¾î¾ßÁö¿ä CD¸¦... Àú´Â ÀÌ ½ÃÁ¡¿¡¼­ °¡½¿ ¾ÆÇÁ°Ô Win95·Î ¿Å°Ü °©´Ï´Ù. ÆíÈ÷ »ì·Á°í.. ISO image´Â Á¦ CD Recorder¿¡ µû¶ó¿Â commercial programÀ¸·Î CD·Î ±ÁÁö¿ä. ¸ñ¿åÀ» ±ú²ýÇÏ°Ô ÇÏ°í »ï½ÅÇҹ̲² ±âµµ¸¦ Áö¼ºÀ¸·Î µå¸°´ÙÀ½ Á¦¹ß buffer underrun ±Í½ÅÀÌ ¹°·¯°¡°Ô Á¶»ó´Ô²² ºô¸ç returnÀ» »ì¸ç½Ã ...... ÀÌ·¸°Ô CD·Î ¸¸µçÈÄ bootingÀÌ ÀߵǴÂÁö testÇغ»°á°ú Àß µË´Ï´Ù... Á¤¼ºµé¿© ¸¸µç CD´Â ´Ùµé ºô·ÁÁÖ¾î LinuxÀüÆÄ¿¡ ±â¿©ÇսôÙ...