MakeIS OfromCD-HOWTO
CD¸¦ ISO À̹ÌÁö ÆÄÀÏ·Î ¹é¾÷Çϱ⠶ÀÎÅÍ³Ý ¾îµò°¡¿¡¼ ãÀº ³»¿ëÀ» ¹ø¿ªÇÑ °ÍÀÔ´Ï´Ù. Ȥ½Ã Ãâó¸¦ ¾Æ½Ã´Â ºÐÀº ¾Ë·ÁÁֽñ⸦......
¸®´ª½º¿¡¼ CD Writer »ç¿ëÇϱ⠶¸ÕÀú, ¸®´ª¿¡¼ »ç¿ë ÇÒ ¼öÀÖ´Â CD writer°¡ ÀÖ¾î¾ß ÇÑ´Ù. SCSI CD-writer,IDE CD-writer ±×¸®°í USB CD-writer µîÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù. ¸ðµç CD Writer´Â ¸®´ª½º¿¡¼ SCSI µð¹ÙÀ̽º·Î ÀâÈù´Ù. 'cdrecord -scanbus'¶ó´Â ¸í·ÉÀ» ¼öÇàÇÏ¿© CD Writer°¡ È®ÀεǸé CD¸¦ ±¸¿ï Áغñ°¡ µÈ°ÍÀÌ´Ù. CD Writer°¡ È®ÀεǾúÀ¸¸é ¼¼¼Ç 2 ºÎÅÍ ½ÃÀÛÇÑ´Ù.
CD Writer ¼³Á¤ ¶Ä¿³Î 2.4¿Í ±× ÀÌÀü¹öÀü¿¡¼±, IDE CD-Writer¸¦ °¡Áö°í Àִ ȯ°æ¿¡¼ ide-scsi emulation ¿É¼ÇÀ» ÄÑÁöÁö ¾ÊÀ¸¸é ¾ÈµÈ´Ù. ÀÌ °æ¿ì ÄÄÇ»ÅÍÀÇ /etc/lilo.confÀÇ ÇöÀç ºÎÆà ¿É¼Ç¿¡ ¾Æ·¡¿Í °°Àº ³»¿ëÀ» Ãß°¡ ÇؾßÇÑ´Ù. 2.6 ¹öÀü¿¡¼± ÀÌ·± ¼³Á¤°úÁ¤ÀÌ ÇÊ¿ä¾ø´Ù.
image=/boot/vmlinuz-STD-current label=linux read-only root=/dev/device append="hdb=ide-scsi" (¸Þ¸ð : À§ÀÇ °ªÀº ´ÜÁö ¿¹Á¦ ÀÏ »Ó, »ç¿ëÀÚÀÇ root ÆÄƼ¼Ç°ú CD-Writer µð¹ÙÀ̽º´Â ´Ùµé¼ö ÀÖ´Ù)
lilo ¼³Á¤À» ¸¶Ä£ÈÄ, »õ boot ·Î´õ¸¦ ¼³Ä¡Çϱâ À§ÇØ /sbin/lilo ¸¦ ´Ù½Ã ½ÇÇàÇÏ°í ¸®ºÎÆÃÇÑ´Ù.
cdrecord »ç¿ë ¶'cdrecord -scanbus'ÀÇ Ãâ·ÂÀº ¾Æ·¡¿Í ºñ½ÁÇÏ´Ù. Ä¿³Î 2.6¿¡¼´Â cdrecord -scanbus -dev=ATA:·Î ½ÇÇàÇÑ´Ù.
# cdrecord -scanbus Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling Linux sg driver version: 3.1.22 Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) 'TOSHIBA ' 'DVD-ROM SD-R1202' '1020' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) 0,6,0 6) 0,7,0 7) À§ÀÇ ¿¹Á¦¿¡¼ CD-Writer´Â µð¹ÙÀ̽º '0.0.0'À̶ó´Â ·¹À̺íÀ» °®´Â´Ù. »ç¿ëÀÚ´Â cdrecord¿¡ ÀÌ µð¹ÙÀ̽º ¹øÈ£¸¦ »ç¿ëÇÏ¿© ¿Àµð¿À ȤÀº µ¥ÀÌŸ CD¸¦ ¸¸µé¼ö ÀÖ´Ù. ¾Æ·¡´Â cdrecord¸¦ »ç¿ëÇÏ¿© iso À̹ÌÁö ÆÄÀÏÀ» CD·Î ¸¸µå´Â ¿¹Á¦ÀÌ´Ù.
# cdrecord -v speed=2 dev=0,0,0 -data cdimage.iso'cdrecord'¿¡ ´ëÇؼ ´õ ¸¹Àº ¿É¼Ç°ú ¿¹Á¦¸¦ ¿øÇϸé Man Page¸¦ Àо±â ¹Ù¶õ´Ù. ISO À̹ÌÁö ÆÄÀÏ ¸¸µé±â ¶µ¥ÀÌŸ¸¦ Æ÷ÇÔÇÏ´Â CD image¸¦ ¸¸µé±â À§Çؼ 'mkisofs' ¸í·ÉÀ» »ç¿ë ÇÒ ¼ö ÀÖ´Ù.
mkisofs -r -o cdimage.iso private_collection/ `--------------' `-----------------' | | write output to take directory as input±×¸®°í cdimage.iso¸¦ CD·Î ±Á±â À§Çؼ cdrecord¸¦ »ç¿ëÇÑ´Ù. "The CD-Writing Howto" ´Â ¸®´ª½º »ó¿¡¼ CD¸¦ ±Á±âÀ§ÇØ ´õ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ´ã°íÀÖ´Ù.
CD À̹ÌÁö Àб⠶¾î¶² CD¸¦ CD À̷̹Π¸¸µé·Á¸é ´ÙÀ½ µÎ´Ü°è¸¦ °ÅÃľßÇÑ´Ù. ù¹ø°´Â isoinfo ¸í·ÉÀ¸·Î ºí·° »çÀÌÁî¿Í º¼·ý »çÀÌÁ °áÁ¤ÇØ¾ß ÇÑ´Ù.
isoinfo -d -i /dev/cdrom ³í¸®Àû ºí·° »çÀÌÁî´Â º¸Åë 2048ÀÌ°ú º¼·ý »çÀÌÁî´Â CD¾ÈÀÇ µ¥ÀÌŸ°¡ ¾ó¸¶³ª Å©³Ä¿¡ µû¶ó ´Þ¶óÁø´Ù. µÎ¹ø°·Î CD¸¦ Àбâ À§ÇÑ ¸í·É 'dd' ¿¡ À§ µÎ°¡Áö °ªÀ» ÀÔ·ÂÇØ¾ß ÇÑ´Ù.
dd if=/dev/cdrom of=cdimage.iso bs=2048 count=<volume-size> ÆÁ°ú ²Ç¼öµé ¶¸¸µé¾îÁø CDµéÀÌ ¾ÈÀüÇÏ°Ô ¸ðµç CD-ROM µå¶óÀ̺갡 ÀÐÀ» ¼ö ÀÖ°Ô Çϱâ À§Çؼ´Â CDµé¿¡ pad(µ¥ÀÌÅ͸¦ Ç¥ÇöÇÏ´Â ¿µ¿ª¿¡¼ ºÒÇÊ¿äÇÑ ºÎºÐÀ» °ø¹éÀ¸·Î ä¿ì´Â ÀÛ¾÷??)¸¦ ÇؾßÇÑ´Ù. mkisofs·Î cd À̹ÌÁö¸¦ ¸¸µé°Å³ª cdrecord·Î cd¸¦ ¸¸µé¶§ ÇÑ´Ù. ´ÜÁö µÎ ¸í·É¿¡ -pad ¿É¼Ç¸¸ Ãß°¡ÇÏ¸é µÈ´Ù. ÀÌ °úÁ¤Àº CD °ø°£¿¡ 1ºñÆ®¾¿À» ´õ »ç¿ëÇÏÁö¸¸ CD-ROM µå¶óÀ̺갡 °°Àº ¹ÙÀÌÆ®¸¦ Àеµ·Ï ÇØÁØ´Ù.
¾Æ·¡¿Í °°Àº cdrecord ¸í·ÉÀ» »ç¿ëÇÏ¸é »ç¿ëÇÏ´Â CD µå¶óÀ̺ê¿Í ¹Ìµð¾î¿¡ °üÇÑ ´õ ¸¹Àº Á¤º¸¸¦ ¾òÀ» ¼ö ÀÖ´Ù.
cdrecord dev=0,0,0 -atip(´ç¿¬È÷ dev= ´Â À§¿¡¼ ¼³¸íÇÑ ´ë·Î °ªÀÌ ¹Ù²ï´Ù). ¸¸¾à ±¸¿î CD¿¡ ³»±¸¼ºÀ̳ª Ç°Áú¿¡ ¹®Á¦°¡ ÀÖ´Ù¸é Á¦Á¶»çÀÇ Á¤º¸¸¦ ÂüÁ¶ÇØ¾ß ÇÑ´Ù. |
Your present plans will be successful. |