ÀÌ ´Ü°è´Â °¡Àå º¹ÀâÇÑ °úÁ¤ÀÌ´Ù. °¡Àå ÀϹÝÀûÀÎ »óȲÀ̶ó°í »ý°¢ÇÏ´Â LILO°¡ Master Boot Record(MBR)¿¡ ¼³Ä¡µÇ¾î ÀÖ´Ù´Â °¡Á¤ÇÏ¿¡¼ ½ÃÀÛÇϵµ·Ï ÇÏ°Ú´Ù.
´ç½ÅÀº LILO¸¦ 2¹ø°ÀÇ »õ·Î¿î µð½ºÅ©¿¡ ¼³Ä¡ÇÏ°íÀÚ ÇÑ´Ù. È®½ÇÇÑ »ç½Ç Çϳª´Â LILO´Â µÎ¹ø ° Çϵåµð½ºÅ©¿¡¼´Â ½ÇÇàÇÒ ¼ö ¾ø´Ù´Â °ÍÀÌ´Ù. ±×·¯³ª, LILO °ü·Ã ¹®¼¸¦ »ìÆ캸°Ô µÇ¸é ù ¹ø° Çϵåµð½ºÅ©¸¦ Á¦°ÅÇßÀ» °æ¿ì¿Í °°Àº »óȲ¿¡¼ µÎ¹ø° Çϵåµð½ºÅ©¿¡ LILO¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ ´Â ¹æ¹ý¿¡ ´ëÇØ ³ª¿Í ÀÖ´Ù.
LILO´Â ´ÙÀ½¿¡ ³ª¿ÍÀÖ´Â ¾î¶°ÇÑ °÷¿¡ store ÇÒ ¼ö ¾ø´Ù. µÎ¹ø° Çϵåµð½ºÅ©(¹é¾÷À» À§Çؼ°¡ ¾Æ´Ï°Å³ª, ÇöÀçÀÇ Ã¹¹ø° µð½ºÅ©¸¦ Á¦°ÅÇϰųª »ç¿ëÇÒ ¼ö ¾øÀ» ¶§°Å³ª ȤÀº ´Ù¸¥ boot loaderÀÌ »ç¿ëÁßÀÏ °æ¿ì ´Ù¸¥ ÀåÄ¡·ÎºÎÅÍ boot sectorÀ» loading ÇÒ ¼ö ÀÖ´Â °¡´É¼ºÀÌ ÀÖ´Ù
±×·¯³ª ÀÌ ¹®¼¿¡¼´Â ù¹ø° Çϵåµð½ºÅ©¸¦ Á¦°ÅÇÏ¿´À» °æ¿ì, µÎ¹ø° Çϵåµð½ºÅ©¿¡ LILO¸¦ ¼³Ä¡ÇÏ´Â Àû´çÇÑ ¹æ¹ý¿¡ ´ëÇؼ´Â ¼³¸íÀ» ÇØÁÖÁö ¸øÇÏ°í ÀÖ´Ù. °á±¹, ¿©·¯¹øÀÇ ½Ãµµ¿Í ÇÔ²² µÎ ¹ø° Çϵåµð½ºÅ©ÀÇ MBR¿¡ LILO¸¦ ¼³Ä¡ÇÏ°í ÀÛµ¿Çϴµ¥ ÀÖ¾î¼ °¡´ÉÇÏÁö ¾Ê´Ù¶ó´Â °á·Ð¿¡ µµ´Þ ÇÏ°Ô µÇ¾ú´Ù.
´ë½Å¿¡, óÀ½À¸·Î »õ·Î¿î Çϵåµð½ºÅ©·Î ºÎÆÃÇÏ´Â ¼ø°£¿¡ ºÎÆõð½ºÄÏÀ» ÀÌ¿ëÇÏ´Â ¹æ¹ýÀ» Á¦¾ÈÇÑ ´Ù.
°øµð½ºÄÏÀ» Áý¾î³Ö°í, Æ÷¸ËÀ» ½Ç½ÃÇÑ ÈÄ ÆÄÀϽýºÅÛÀ» ¸¸µé¾î ¸¶¿îÆ®¸¦ ½ÃŲ´Ù.
# fdformat /dev/fd0H1440
# mkfs.ext2 /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
(DebianÀÇ °æ¿ì : fdformat
À̶ó´Â ¸í·É¾î°¡ ±âº»¼³Ä¡¿¡ Æ÷ÇÔµÇÁö ¾Ê¾Ò´Ù. Æ÷¸ËÀÌ ÀÌ¹Ì µÇ¾î
ÀÖ´Ù¸é, mkfs.ext2
¶ó´Â ¸í·É¿¡ -c¿É¼ÇÀ» ÁÖ¾î °Ë»çÇÑ ÈÄ ¸¶¿îÆ®¸¦ Çؼ »ç¿ëÇصµ »ó°üÀÌ ¾ø´Ù)
(Debian°ú SlackwareÀÇ °æ¿ì : fd0H1440 °¡¿îµ¥¿¡ ÀÖ´Â 'H' ´ë½Å¿¡ 'h'¸¦ »ç¿ëÇØ¾ß ÇÑ´Ù)
/boot¿¡ ÀÖ´Â ¸ðµç ÆÄÀÏÀ» µð½ºÄÏÀ¸·Î º¹»çÇÑ´Ù
# cp -dp /boot/* /mnt
´ÙÀ½°ú °°ÀÌ /mnt/lilo.confÆÄÀÏÀ» »õ·Î ¸¸µç´Ù.
boot=/dev/fd0 #Install LILO on floppy disk. map=/mnt/map #Location of "map file" install=/mnt/boot.b #File to copy to floppy's boot sector prompt #Have LILO show "LILO boot:" prompt timeout-50 #Boot default system after 5 seconds #(Value is in tenths of seconds.) image=/mnt/vmlinuz #Location of Linux kernel on floppy label=linux #Label for Linux system root=/dev/hda1 #Location of root partition on new hard #disk. Modify this as appropriate for your system #Note that you must use the name of the future location #Once the old disk has been removed
(DebianÀÇ °æ¿ì : "image"ÁÙ¿¡¼, ¸®´ª½º Ä¿³ÎÀÇ ½ÇÁ¦ÀûÀÎ À̸§À» »ç¿ëÇØ¾ß ÇÑ´Ù, ¿¹¸¦ µé¾î Debian 1.3.1À» »ç¿ëÇÏ°í ÀÖ´Ù¸é, '/mnt/vmlinuz-2.0.29'¶ó°í »ç¿ëÇÑ´Ù)
ºÎÆõð½ºÄÏ¿¡ LILO¸¦ ¼³Ä¡Çϱâ À§Çؼ
/sbin/lilo -C /mnt/lilo.conf
¿©±â¿¡¼ '-C'¿É¼ÇÀº /sbin/lilo
¿¡°Ô ¾î¶°ÇÑ configuration ÆÄÀÏÀ» »ç¿ëÇÏ´ÂÁö ¾Ë·ÁÁÖ´Â ¿É¼Ç
ÀÌ´Ù.
µð½ºÄÏÀ» ¾ð¸¶¿îÆ® Çϱâ À§Çؼ
# umount /mnt
¸¦ ½Ç½ÃÇÑÈÄ ½Ã½ºÅÛÀ» ²ö´Ù.