´ÙÀ½ ÀÌÀü Â÷·Ê

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

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

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

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

# cp /usr/src/linux/arch/i386/bzImage /boot/bzImage-2.4.2

36.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/bzImage-2.4.2
        label=new
        root=/dev/hdb1

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

¿©·¯ºÐÀÌ µ¡ºÙ¿©¾ß ÇÏ´Â ºí·ÏÀº ¾Æ·¡¿Í ºñ½ÁÇÕ´Ï´Ù:

image=/boot/bzImage-2.4.2
    label=new
    root=/dev/hdb1

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/bzImage-2.4.2 : ·¹À̺í LinuxÀÎ Ä¿³Î À̹ÌÁö vmLinuz¿¡ °ü·ÃµÈ ÇàÀ» »èÁ¦ÇÏÁö ¾Ê°í image=...À¸·Î ½ÃÀÛÇÏ´Â "new" ¸Þ´º¸¦ Ãß°¡ÇÕ´Ï´Ù. lilo.conf ÆÄÀÏÀ» ÀúÀåÇÏ°í »õ ¼³Á¤À¸·Î ¾÷µ¥ÀÌÆ®Çϱâ À§ÇØ ¹Ýµå½Ã lilo ¸í·ÉÀ» ¼öÇàÇÕ´Ï´Ù.

# lilo

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

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

<p>
# cd /boot
# rm -f vmlinuz
# Ln -s zImage-2.4.2 vmlinuz


´ÙÀ½ ÀÌÀü Â÷·Ê