3.2. »õ Ä¿³Î ¼³Ä¡

»õ·Î ¸¸µé¾îÁø Ä¿³Î À̹ÌÁö¸¦ /boot µð·ºÅ丮·Î ¿Å±â°í lilo ¸í·ÉÀ» ¼öÇàÇÏ¿© ºÎÆ®·Î´õ¿¡°Ô ¾Ë·Á¾ß ÇÕ´Ï´Ù. ¿ÏÀüÇÏ°Ô µ¿ÀÛÇÏ´ÂÁö ¸ÕÀú Å×½ºÆ®ÇÏ°í ¹®Á¦°¡ ¾øÀ» ¶§¿¡ »õ Ä¿³ÎÀ» ±âº» °ªÀ¸·Î ±³Ã¼ÇÕ´Ï´Ù.

LILO¿¡ ´ëÇØ ´õ ¾Ë°í½Í´Ù¸é http://kldp.org/HOWTO/mini/LILO, http://kldp.org/Translations/html/LAME/install-lilo.html ¸¦ Âü°íÇϼ¼¿ä.

3.2.1. ºÎÆ® À̹ÌÁö ¼³Ä¡

»õ À̹ÌÁö¸¦ /boot µð·ºÅ丮·Î ¿Å±é´Ï´Ù. ÀÌ °úÁ¤¿¡¼­ ÇöÀç Ä¿³ÎÀ» µ¤¾î¾²Áö ¾Êµµ·Ï ÁÖÀÇÇÕ´Ï´Ù.

# cp /usr/src/linux/arch/i386/bzImage /boot/bz.2.4.19-ipt

3.2.2. /etc/lilo.conf ÆíÁý

/etc/lilo.conf ÆÄÀÏ¿¡ »õ ºí·°À» Ãß°¡ÇÕ´Ï´Ù. ¿ø·¡ ºí·°Àº ±×´ë·Î µÎ¾î¾ß ¹®Á¦°¡ »ý°åÀ» ¶§ º¹±¸Çϱ⠽±½À´Ï´Ù.

boot=/dev/hda
... (omitted)
message=/boot/boot.msg

image=/boot/vmlinuz
	label=linux
	root=/dev/hdb1

image=/boot/bz.2.4.19-ipt
	label=new
	root=/dev/hdb1

other=/dev/hda1
... (omitted)

¿©·¯ºÐÀÌ µ¡ºÙ¿©¾ß ÇÏ´Â ºí·ÏÀº ¾Æ·¡¿Í ºñ½ÁÇÑ ¸ð½ÀÀÏ °ÍÀÔ´Ï´Ù. new(label=new¿¡¼­)¿¡´Â ¿©·¯ºÐÀÌ ¿øÇÏ´Â ´Ù¸¥ À̸§À» ½á ³Ö¾îµµ ÁÁ½À´Ï´Ù:

image=/boot/bz.2.4.19-ipt
    label=new
    root=/dev/hdb1

3.2.2.1. /etc/lilo.conf ·¹ÄÚµå

boot=/dev/hda : ºÎÆ®·Î´õ°¡ ¼³Ä¡µÈ µð¹ÙÀ̽º¸¦ ÁöÁ¤ÇÕ´Ï´Ù.

message=/boot/boot.msg : ºÎÆ® ÇÁ·ÒÇÁÆ®¿¡ ¾Õ¼­ È­¸é¿¡ ÁöÁ¤ÇÑ ÆÄÀÏ¿¡ µé¾îÀÖ´Â ¸Þ½ÃÁö¸¦ Ç¥½ÃÇÕ´Ï´Ù. ÀϹÝÀûÀ¸·Î ¾Æ·¡ ¿¹Ã³·³ °£´ÜÇÑ Àλ縻°ú ºÎÆ® ¸Þ´º ¸ñ·ÏÀ» º¸¿©ÁÝ´Ï´Ù. ¹°·Ð <tab> Å°¸¦ ´­·¯ ºÎÆ® ¸Þ´º¸¦ È®ÀÎÇÒ ¼öµµ ÀÖ½À´Ï´Ù.

weLcome to el..

"L" meanS Lihaa who iS progreSSive guy!
"S" meanS Sook who iS very LoveLy and ..

thiS box offers foLLowing menus;

 	new for LateSt kerneL
 	linux for Safe kerneL
 	dog for m$ windogs and Some workS

image=/boot/bz.2.4.19-ipt : ·¹À̺í LinuxÀÎ Ä¿³Î À̹ÌÁö vmLinuz¿¡ °ü·ÃµÈ ÇàÀ» »èÁ¦ÇÏÁö ¾Ê°í image=...À¸·Î ½ÃÀÛÇÏ´Â "new" ¸Þ´º¸¦ Ãß°¡ÇÕ´Ï´Ù.

3.2.3. lilo Å×À̺í Àû¿ë

lilo.conf ÆÄÀÏÀ» ÀúÀåÇÑ ´ÙÀ½¿¡´Â »õ ¼³Á¤°ªÀ» ÇÏµå µå¶óÀ̺꿡 ¿Å°Ü ¾²±â À§ÇØ ¹Ýµå½Ã lilo ¸í·ÉÀ» ¼öÇàÇÕ´Ï´Ù:

# lilo

ÀÌÁ¦ »õ ºÎÆ® ¸Þ´º "new"(ȤÀº ¿©·¯ºÐÀÌ Á¤ÇÑ ´Ù¸¥ À̸§)·Î ºÎÆÿ¡ ½ÇÆÐÇÏ´õ¶óµµ ÀÌÀü Ä¿³ÎÀÌ ¸µÅ©µÈ linux ¸Þ´º·Î ¾ÈÀüÇÏ°Ô ´Ù½Ã ºÎÆ®ÇÒ ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.

3.2.4. Ä¿³Î À̹ÌÁö »õ·Î ¸µÅ©Çϱâ

»õ Ä¿³ÎÀÌ Á¤»óÀûÀ¸·Î ºÎÆ®µÇ¾ú´Ù¸é ¸µÅ©¸¦ »õ Ä¿³Î·Î ¹Ù²ß´Ï´Ù. ±×·¯³ª »õ Ä¿³Î À̹ÌÁö°¡ °³¹ß¹öÀüÀ̶ó¸é vmLinuz°¡ ¾ÈÁ¤¹öÀüÀÇ Ä¿³Î À̹ÌÁö¸¦ ¸µÅ©Çϵµ·Ï °è¼Ó µÎ´Â °ÍÀÌ ¾ÈÀüÇÕ´Ï´Ù.

# cd /boot
# rm -f vmlinuz
# ln -s bz.2.4.19-ipt vmlinuz