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

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

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

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

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

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

5.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.2.12
label=new
root=/dev/hdb1
other=/dev/hda1
... (omitted)
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 offer foLLowing menu;
 new for LateSt kerneL
 linux for Safe kerneL
 dog for m$ windogs and Some workS
image=/boot/bzImage-2.2.12 : ·¹À̺í LinuxÀÎ Ä¿³Î À̹ÌÁö vmLinuz¿¡ °ü·ÃµÈ ÇàÀ» »èÁ¦ÇÏÁö ¾Ê°í image=...À¸·Î ½ÃÀÛÇÏ´Â 'new' ¸Þ´º¸¦ Ãß°¡ÇÕ´Ï´Ù. lilo.conf ÆÄÀÏÀ» ÀúÀåÇÏ°í »õ ¼³Á¤À¸·Î ¾÷µ¥ÀÌÆ®Çϱâ À§ÇØ ¹Ýµå½Ã lilo ¸í·ÉÀ» ¼öÇàÇÕ´Ï´Ù.

# lilo

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

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

# cd /boot
# rm -f vmlinuz
# Ln -s zImage-2.2.12 vmlinuz

5.3 LoadLin

µµ½º ½Ã½ºÅÛ¿¡¼­ ¸®´ª½º Ä¿³ÎÀ» ·ÎµåÇÏ´Â Ç®±×¸²LoadLin.exeÀ» »ç¿ëÇÑ´Ù¸é »õ ·Î ¸¸µé¾îÁø Ä¿³Î À̹ÌÁö¸¦ µµ½º ÆÄƼ¼Ç¿¡ º¹»çÇÏ°í ¹èÄ¡ÆÄÀÏÀ» ¼öÁ¤ÇÕ´Ï´Ù.

# mount -t vfat /dev/hda1 /mnt/vfat
# cp /usr/src/linux/arch/i386/boot/bzImage /mnt/vfat/usr/linux/boot
¾Æ·¡ ¸í·ÉÀº µµ½º ÇÁ·ÒÇÁÆ®¿¡¼­ ¼öÇàÇÕ´Ï´Ù.
c:\usr\Linux>copy con Lnx_boot.bat
LoadLin boot\bzImage root=/dev/hdb1
^Z
c:\usr\Linux>Lnx_boot.bat

5.4 Notebook computer »ç¿ëÀÚ

³ëÆ®ºÏ ÄÄÇ»ÅÍ »ç¿ëÀÚ´Â ÃֽŠpcmcia µå¶óÀ̹ö¸¦ ´Ù¿î¹Þ¾Æ ¸®´ª½º¼Ò½º µð·ºÅä ¸®¿¡ ¼³Ä¡ÇÏ°í µð¹ÙÀ̽º µå¶óÀ̹ö¸¦ ÄÄÆÄÀÏÇÕ´Ï´Ù. ¸ðµâÁ¤º¸¸¦ Ä¿³Î¿¡¼­ Àоî¿À ·Á¸é »õ Ä¿³Î·Î ºÎÆ®ÇÑ ´ÙÀ½ "make config"¸í·ÉÀ» ¼öÇàÇÕ´Ï´Ù.

# cd /usr/src/linux
# tar xvzf pcmcia308.tgz
# cd pcmcia-cs-3.0.8
# make config
# make all;make install


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