4. ½Ã½ºÅÛÀÇ ºÎÆÃ

ÀÌ »õ·Î¿î ·çÆ® µð¹ÙÀ̽º·Î ºÎÆ®Çϱâ À§Çؼ­´Â À§¿Í°°ÀÌ ÁغñµÈ Ç÷ÎÇÇ µð½ºÅ©¸¦ PC ¿¡ ³Ö°í ºÎÆÃÇÕ´Ï´Ù.

´ÙÀ½°ú °°Àº ÀÏÀÌ ÀϾÀ» º¼¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.

  1. DOS boots

  2. AUTOEXEC.BAT starts

  3. LOADLIN is run

  4. The Linux kernel is copied into memory

  5. The initial ramdisk is copied into memory

  6. The Linux kernel is started running

  7. The /linuxrc file on the initial ramdisk is run

  8. The DOS partition is mounted and the root and swap devices set up

  9. The boot sequence continues from the loopback device

ÀÌ»ó°ú °°ÀÌ ¿Ï·áµÇ¸é ÀÌÁ¦ ºÎÆ® Ç÷ÎÇǸ¦ Á¦°ÅÇÏ°í ¸®´ª½º ½Ã½ºÅÛÀ» »ç¿ëÇÏ¸é µË´Ï´Ù.

4.1. ¹ß»ýÇÒ ¼ö ÀÖ´Â ¹®Á¦µé

À§ÀÇ °úÁ¤ÀÇ °¢ ´Ü°è¿¡¼­ÀÇ ½ÇÆп¡ ´ëÇØ ±× ÀÇ¹Ì¿Í Á¡°ËÇØ¾ß ¹Ù¸¦ ¼³¸íÇÏ°Ú½À´Ï´Ù.

µµ½º ºÎÆÃÀº MS-DOS Sarting ... À̶ó´Â ¸Þ½ÃÁö°¡ È­¸é¿¡ ¶äÀ¸·Î¼­ ½±°Ô ¾Ë¼ö ÀÖ½À´Ï´Ù. ¸¸ÀÏ ÀÌ·± ¸Þ½ÃÁö°¡ È­¸é¿¡ ³ªÅ¸³ªÁö ¾Ê´Â´Ù¸é Ç÷ÎÇǵð½ºÅ©°¡ ºÎÆ®°¡´ÉÇÏ°Ô µÇ¾îÀÖÁö ¾Ê¾Ò°Å³ª PC °¡ Ç÷ÎÇÇ µð½ºÅ© ºÎÆÃÀÌ ¾ÈµÇµµ·Ï ¼³Á¤µÇ¾ú±â ¶§¹®ÀÔ´Ï´Ù.

AUTOEXEC.BAT ÆÄÀϳ»ÀÇ ¸í·É¾îµéÀÌ ½ÇÇàµÉ ¶§´Â µðÆúÆ®·Î È­¸é¿¡ ³ªÅ¸³ªµµ·Ï µÇ¾îÀÖ½À´Ï´Ù. ¿ì¸®ÀÇ °æ¿ì LOADLIN ÇÑÁÙÀÌ ³ªÅ¸³¯ °ÍÀÔ´Ï´Ù..

LOADLIN ÀÌ ½ÇÇàµÇ¸é¼­ È­¸é¿¡ Ãâ·ÂµÇ´Â ÀÛ¾÷ÀÌ µÎ°¡Áö ÀÖ½À´Ï´Ù. ¿ì¼± Ä¿³ÎÀÌ ¸Þ¸ð¸®·Î ·ÎµåµÇ´Â °ÍÀÌ°í, ±× ´ÙÀ½À¸·Î ·¥µð½ºÅ©°¡ ¸Þ¸ð¸®·Î º¹»çµÇ´Â °ÍÀÔ´Ï´Ù. ÀÌ µÎ ÀÛ¾÷ ¸ðµÎ Loading... ¸Þ½ÃÁö¸¦ Ãâ·ÂÇÕ´Ï´Ù.

Ä¿³ÎÀÌ ½º½º·ÎÀÇ ¾ÐÃàÀ» Ç®´Ù°¡ ¸¸¾à Ä¿³Î À̹ÌÁö°¡ ¼Õ»óµÈ °ÍÀ» ¹ß°ßÇϸé crc ¿¡·¯¸¦ ³»°Ô µË´Ï´Ù. ÀÌ»óÀÌ ¾ø´Ù¸é ±×´ÙÀ½À¸·Î ÃʱâÈ­ °úÁ¤À» Â÷·Ê·Î ¼öÇàÇÏ°Ô µÇ´Âµ¥ °¢ °úÁ¤¸¶´Ù Ä£ÀýÈ÷ Á¡°Ë»óȲÀ» ¾Ë·ÁÁÝ´Ï´Ù. Ãʱ⠷¥µð½ºÅ© µð¹ÙÀ̽ºÀÇ ·Îµù¿ª½Ã ÀÌ ´Ü°è¿¡¼­ ³ªÅ¸³³´Ï´Ù.

ÀÌÁ¦ »õ·Î¿î ·çÆ® µð¹ÙÀ̽ºÀÇ Á¤»óÀûÀÎ ºÎÆ®°úÁ¤ÀÌ ¼Ó°³µÇ´Âµ¥ ÀÌ ¿ª½Ã Ä£ÀýÈ÷ ÁøÇà»óȲÀ» ¾Ë·ÁÁÝ´Ï´Ù. Àб⾲±â ¿ëÀ¸·Î ·çÆ®µð¹ÙÀ̽º¸¦ ¸¶¿îÆ®Çؼ­ ¹®Á¦°¡ »ý±æ¼ö ÀÖ´Ù¸é, LOADLIN ¸í·É¾î ¶óÀÎ ¿É¼ÇÀÎ 'ro'À» ½áÁÖ¸é À̸¦ ¹æÁöÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×¹ÛÀÇ ÀϾ ¼ö ÀÖ´Â ¹®Á¦·Î´Â ºÎÆ®°úÁ¤½Ã ·çÆ® µð¹ÙÀ̽º¸¦ ¾îµð¿¡¼­ ã¾Æ¾ß ÇÏ´ÂÁö¸¦ ¸ð¸£´Â °æ¿ìÀε¥, ÀÌ´Â Çʽà /etc/fstab ¿¡ °ü·ÃµÈ ´ç½ÅÀÇ ½Ç¼öÀÏ °ÍÀÔ´Ï´Ù.

ºÎÆ® °úÁ¤ÀÌ ¿Ï·áµÇ¸é ÀÌÁ¦ ¹®Á¦°¡ »ý±æ¼ö ÀÖ´Â ºÎºÐÀº ÇÁ·Î±×·¥µéÀÌ µµ½ºÆÄƼ¼ÇÀÇ ¸¶¿îÆ®µÇ¾ú´ÂÁö ¾Æ´ÑÁö¸¦ ¸ð¸£´Â °æ¿ì »ÓÀÔ´Ï´Ù. ÀÌ´Â ¾Õ¿¡¼­ ¼³¸íÇÑ °¡Â¥(fake) mount ¸í·ÉÀ» »ç¿ëÇÏ´Â °ÍÀÌ ÁÁÀº ¾ÆÀ̵ð¾î°¡ µË´Ï´Ù. À̸¦ ¾²¸é µµ½º µð¹ÙÀ̽º»óÀÇ ÆÄÀϵéÀ» ½±°Ô ¾×¼¼½ºÇÒ ¼ö ÀÖ½À´Ï´Ù.

4.2. Âü°í ¹®¼­

ÇÊÀÚ°¡ ÃÖÃÊÀÇ ·çÇÁ¹é ·çÆ® ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¸µé¶§ ÀÌ¿ëÇÑ ¹®¼­µé: