|
|
|
|
|
|
|
Á¦¸ñ: ¸®´ª½º Ä¿³Î 2.4 ¼³Ä¡¹æ¹ý |
ÀúÀÛ±ÇÀº ÀúÀÚ¿¡°Ô ÀÖ½À´Ï´Ù |
|
ÀúÀÚ: Á¤ÀçÁØ(rgbi3307@nate.com) |
ÃÖ±Ù¼öÁ¤ÀÏ:2008-12-07 |
|
|
|
|
¸®´ª½º Ä¿³Î ¼³Ä¡¹æ¹ý ¸®´ª½º Ä¿³Î ºôµå¿Í ¼³Ä¡´Â »ý°¢º¸´Ù ½±´Ù. ÇÁ·Î±×·¡¹Ö¿¡ ´ëÇÑ Áö½ÄÀÌ ¾ø´Â »ç¶÷µéµµ, ³»ÄÄÇ»ÅÍÀÇ Çϵå¿þ¾î ȯ°æ(CPUÁ¤º¸,
Ĩ¼Â, ¸Þ¸ð¸®, IDE, SATA, ±×·¡ÇÈÄ«µå, ¿Àµð¿À, ÀÌ´õ³Ý, È®Àå½½·Ô, USB, ±âŸ ÁÖº¯ÀåÄ¡µé)À» Àß ¾Ë°í ÀÖÀ¸¸é, ´©±¸³ª ¼³Ä¡ÇÒ ¼ö
ÀÖ´Ù. ¸®´ª½º Ä¿³ÎÀº ¹ßÀüÇϰí ÀÖ´Â ÄÄÇ»ÅÍ Çϵå¿þ¾î¿Í µð¹ÙÀ̽º
µå¶óÀ̹öµéÀ» Ãß°¡ÀûÀ¸·Î Áö¿øÇØ ÁÖ±â À§Çؼ °è¼Ó ¹öÀü¾÷ µÇ°í ÀÖ´Ù. ÇÊÀÚÀÇ ÄÄÇ»ÅÍ¿¡´Â Linux 2.4.20-8 #1 Thu Mar 13
17:54:28 EST 2003 i686 i686 i386 GNU/Linux °¡ ¼³Ä¡µÇ¾î ÀÖ´Ù. (·¹µåÇò9 ¹èÆ÷ÆÇ) ÀÌ Ä¿³Î 2.4.20 ¹öÀüÀ» 2.4.36 ¹öÀüÀ¸·Î ¼³Ä¡ÇÑ´Ù. »õ·Î¿î Ä¿³Î·Î ¼³Ä¡Çصµ ÀÌÀü Ä¿³Î¿¡ ¿µÇâÀ» ÁÖÁö ¾Ê±â ¶§¹®¿¡, Ȥ½Ã
¹®Á¦°¡ ¹ß»ýÇÏ´õ¶óµµ ÀÌÀü Ä¿³Î¹öÀüÀ¸·Î ÀçºÎÆÃÇÏ¸é µÈ´Ù. ¾Æ·¡¿Í °°Àº ¼ø¼´ë·Î ±×´ë·Î µû¶óÇØ º¸ÀÚ. 1. Ä¿³Î ¼Ò½º ´Ù¿î·Îµå 2. ȯ°æ¼³Á¤(Configuring) 3. ºôµù(Building) 4. ¼³Ä¡(Installing) 5. ºÎÆÃ(Booting) |
1. Ä¿³Î ¼Ò½º ´Ù¿î·Îµå
ÇöÀç µ¶ÀÚÀÇ ¸®´ª½º
Ä¿³Î¹öÀüÀÌ 2.4¶ó¸é ÃÖ½ÅÀÇ 2.4 ¹öÀüÀ» ´Ù¿î·ÎµåÇϰí, 2.6¹öÀüÀ̶ó¸é ÃÖ½ÅÀÇ 2.6 ¹öÀüÀ» ´Ù¿î·Îµå ÇÑ´Ù.
¾Æ·¡ ȸé°ú °°ÀÌ, ¸®´ª½º Ä¿³Î º¸°ü¼Ò(http://www.kernel.bz/os/02/os0201.htm)¸¦ ¹æ¹®ÇÏ¿© ÃÖ½ÅÀÇ
¸®´ª½º Ä¿³Î Ç®¼Ò½º¸¦ ´Ù¿î·ÎµåÇÑ´Ù.
2.4¹öÀüÀº 2.4.36.9(2008³â 11¿ù 09ÀÏ ¾÷µ¥ÀÌÆ®)°¡ ¾ÈÁ¤ÈµÈ ÃֽйöÀüÀÌ´Ù. 2.6¹öÀüÀº 2.6.27.7(2008³â 11¿ù 20ÀÏ ¾÷µ¥ÀÌÆ®)ÀÌ ¾ÈÁ¤ÈµÈ
ÃֽйöÀüÀÌ´Ù.
ÇÊÀÚ´Â ÇöÀç, 2.4¹öÀüÀ» »ç¿ëÇϰí ÀÖÀ¸¹Ç·Î, À̰ÍÀÇ ÃֽŹöÀüÀ» ´Ù¿î·ÎµåÇÏ¿© ¼³Ä¡ÇÑ´Ù.


¶Ç´Â Å͹̳ο¡¼
´ÙÀ½°ú °°ÀÌ wget ¸í·ÉÀ¸·Î Á÷Á¢ ´Ù¿î·Îµå ÇÒ ¼ö ÀÖ´Ù.
|
$ wget
http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.36.9.tar.bz2 --10:17:08--
http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.36.9.tar.bz2
=> `linux-2.4.36.9.tar.bz2' Resolving www.kernel.org... ¿Ï·á. Connecting to
www.kernel.org[199.6.1.164]:80... connected. HTTP ¿äûÀ» º¸³À´Ï´Ù, ¼¹ö·ÎºÎÅÍÀÇ ÀÀ´äÀ» ±â´Ù¸²...200
OK ±æÀÌ: 31,104,913
[application/x-bzip2] 100%[==================================================================================>]
31,104,913 200.98K/s ETA 00:00 10:19:41 (200.98 KB/s) -
`linux-2.4.36.9.tar.bz2'°¡ º¸Á¸µÇ¾ú½À´Ï´Ù [31104913/31104913] |
Ä¿³Î ¼Ò½º¸¦ ºôµåÇÒ
¶§ root ±ÇÇÑÀ¸·Î /usr/src/ °æ·Î¿¡¼ ÀÛ¾÷ÇÏ°Ô µÇ¸é, /dev °æ·Î¿¡ ÀÖ´Â ÆÄÀϵéÀÌ Æ¯º°ÇÑ ¿øÀο¡ ÀÇÇØ¼
»èÁ¦µÇ´Â ¹ö±×°¡ ÀÖ´Ù°í ¾Ë·ÁÁ® ÀÖ´Ù. µû¶ó¼, °³ÀÎ »ç¿ëÀÚ¸¦ À§ÇÑ
°æ·ÎÀÎ /home/ ÀÇ »ç¿ëÀÚ °æ·Î¿¡¼ ´ÙÀ½°ú °°ÀÌ ÀÛ¾÷ÇÑ´Ù.
|
$ su jungjj $ pwd /home/jungjj/ $ mkdir linux $ cd linux $ pwd /home/jungjj/linux $ cp linux-2.4.36.9.tar.bz2 ./ ©¬ À§ÀÇ °æ·Î¿¡ Ä¿³Î¼Ò½º¸¦ º¹»ç $ tar xvjf linux-2.4.36.9.tar.bz2 ©¬ ¾ÐÃàÇØÁ¦(²Ï ¿À·¡ °É¸²) $ cd linux-2.4.36.9 $ ls -al ©¬ ¾ÐÃàÇØÁ¦µÈ ÆÄÀϸñ·Ï È®ÀÎ ÇÕ°è 268 drwxr-xr-x 15 jungjj jungjj 4096 11¿ù 10 07:38 . drwxr-xr-x 4 jungjj jungjj 4096 12¿ù 6 17:34 .. -rw-r--r-- 1 jungjj jungjj 18691 11¿ù 10 07:38 COPYING -rw-r--r-- 1 jungjj jungjj 82496 11¿ù 10 07:38 CREDITS drwxr-xr-x 32 jungjj jungjj 4096 11¿ù 10 07:38
Documentation -rw-r--r-- 1 jungjj jungjj 47247 11¿ù 10 07:38 MAINTAINERS -rw-r--r-- 1 jungjj jungjj 19492 11¿ù 10 07:38 Makefile -rw-r--r-- 1 jungjj jungjj 14316 11¿ù 10 07:38 README -rw-r--r-- 1 jungjj jungjj 2818 11¿ù 10 07:38
REPORTING-BUGS -rw-r--r-- 1 jungjj jungjj 9325 11¿ù 10 07:38 Rules.make drwxr-xr-x 20 jungjj jungjj 4096 11¿ù 10 07:38 arch drwxr-xr-x 2 jungjj jungjj 4096 11¿ù 10 07:38 crypto drwxr-xr-x 40 jungjj jungjj 4096 11¿ù 10 07:38 drivers drwxr-xr-x 48 jungjj jungjj 4096 11¿ù 10 07:38 fs drwxr-xr-x 28 jungjj jungjj 4096 11¿ù 10 07:38 include drwxr-xr-x 2 jungjj jungjj 4096 11¿ù 10 07:38 init drwxr-xr-x 2 jungjj jungjj 4096 11¿ù 10 07:38 ipc drwxr-xr-x 2 jungjj jungjj 4096 11¿ù 10 07:38 kernel drwxr-xr-x 4 jungjj jungjj 4096 11¿ù 10 07:38 lib drwxr-xr-x 2 jungjj jungjj 4096 11¿ù 10 07:38 mm drwxr-xr-x 29 jungjj jungjj 4096 11¿ù 10 07:38 net drwxr-xr-x 4 jungjj jungjj 4096 11¿ù 10 07:38 scripts |
¼Ò½º ÄÄÆÄÀÏ·¯¿Í make ¹öÀüÀ» È®ÀÎÇÑ´Ù.
gcc ¹öÀü È®ÀÎ (http://gcc.gnu.org/)
|
$ gcc --version gcc (GCC) 3.2.2 20030222 (Red
Hat Linux 3.2.2-5) Copyright (C) 2002 Free Software
Foundation, Inc. |
Linker ¹öÀü È®ÀÎ(http://www.gnu.org/software/binutils/)
|
$ ld –v GNU ld version 2.13.90.0.18
20030206 |
make ¹öÀü È®ÀÎ(http://www.gnu.org/software/make/)
|
$ make --version GNU Make version 3.79.1, by
Richard Stallman and Roland McGrath. Built for i386-redhat-linux-gnu |
2. ȯ°æ¼³Á¤(Configuring)
Ä¿³Î ȯ°æ¼³Á¤
ÆÄÀÏÀº ¼Ò½º ¸®½ºÆ®ÀÇ °¡Àå »óÀ§¿¡ .config ¶ó´Â ÆÄÀϸíÀ¸·Î Á¸ÀçÇÑ´Ù. ±×·¯³ª, óÀ½¿¡ Ä¿³Î ¼Ò½º¸¦ ¾ÐÃàÇØÁ¦ ÇßÀ»¶§´Â ÀÌ ÆÄÀÏÀÌ ¾ø±â ¶§¹®¿¡ »ý¼ºÇØ
ÁÖ¾î¾ß ÇÑ´Ù.
Ä¿³Î 2.6 ¹öÀü¿¡¼´Â make defconfig ¸í·ÉÀ» ÅëÇÏ¿©, ±âº»ÀûÀΠȯ°æ¼³Á¤ ÆÄÀÏÀ» ¸¸µç´Ù. ÀÌ ±âº»¿É¼ÇÀº ¸®´©½º Åä¹ßÁî(Linus Torvalds)°¡ i386ȯ°æÀÇ
ÀÚ½ÅÀÇ ¸Ó½Å¿¡¼ ¸®´ª½º Ä¿³ÎÀ» °³¹ßÇÒ¶§ÀÇ ¿É¼ÇµéÀÌ´Ù. µû¶ó¼,
³»ÄÄÇ»ÅÍ È¯°æ¿¡ ¸Â°Ô ¸î°¡Áö¸¦ ¼öÁ¤ÇØ ÁÖ¾î¾ß ÇÑ´Ù.
ÇÊÀÚ´Â Ä¿³Î2.4¸¦ »ç¿ëÇϹǷΠ¾Æ·¡¿Í °°ÀÌ ½ÇÇàÇÑ´Ù.
|
$ pwd /home/jungjj/linux $ make config |
¾Æ·¡¿Í °°ÀÌ È¯°æ¼³Á¤ÀÌ
½ÃÀ۵ȴÙ. ȯ°æ¼³Á¤ ¿É¼Ç ¼±ÅûçÇ×
[Y/n/m/?] Áß¿¡¼ ´ë¹®ÀÚ·Î µÇ¾î ÀÖ´Â °ÍÀÌ ±âº»(default) ¼±ÅÃÀÌ´Ù. µðÆúÆ®´Â arch/i386/defconfig ÆÄÀÏ¿¡ ÀÖ´Â °ÍÀ» »ç¿ëÇÑ´Ù. ±×³É EnterÄ¡¸é, ±âº» ¼±ÅÃÀ¸·Î ¼³Á¤µÈ´Ù. ¼±Åù®ÀÚÀÇ Àǹ̴ ´ÙÀ½°ú °°´Ù.
l
y: ±â´É»ç¿ë
l
n: »ç¿ë¾ÊÇÔ
l
m: ¸ðµâ·Î »ç¿ë
l
?: µµ¿ò¸» Ç¥½Ã
ÀÚ~ ±×·³ ȯ°æ¼³Á¤À» ÇØº¸ÀÚ.
¾Æ·¡´Â ÇÊÀÚÀÇ PC¿¡¼ ȯ°æ¼³Á¤À» ÇÑ °ÍÁß¿¡, ±âº»(default)ÀÌ ¾Æ´Ñ, ³» PC¿¡ ¸Âµµ·Ï ȯ°æ¼³Á¤ÇÑ °ÍÀ̰í, ÆÄ¶õ»ö ±Û¾¾°¡ À̰Ϳ¡
ÇØ´çµÈ´Ù.
³»ÄÄÇ»ÅÍÀÇ CPUÁ¤º¸, Ĩ¼Â, ¸Þ¸ð¸®, IDE, SATA, ±×·¡ÇÈÄ«µå, ¿Àµð¿À, ÀÌ´õ³Ý, È®Àå½½·Ô, USB, ±âŸ ÁÖº¯ÀåÄ¡µé¿¡ ´ëÇÑ
¸ðµ¨¸í°ú °ü·ÃÁö½ÄÀ» ¾Ë°í ÀÖÀ¸¸é ÆíÇÏ°Ô ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. Áß°£Áß°£¿¡
? ۸¦ ÀÔ·ÂÇÏ¿© µµ¿ò¸»À» º¼ ¼ö ÀÖ´Ù.
|
rm -f include/asm ( cd include ; ln -sf asm-i386 asm) /bin/sh scripts/Configure
arch/i386/config.in # # Using defaults found in
arch/i386/defconfig # * * Code maturity level options * Prompt for development and/or
incomplete code/drivers (CONFIG_EXPERIMENTAL) [N/y/?] * * Loadable module support * Enable loadable module support
(CONFIG_MODULES) [Y/n/?] Set version information on all module symbols
(CONFIG_MODVERSIONS) [Y/n/?] Kernel module loader (CONFIG_KMOD) [Y/n/?] * * Processor type and features * Processor family (386, 486,
586/K5/5x86/6x86/6x86MX, Pentium-Classic, Pentium-MMX,
Pentium-Pro/Celeron/Pentium-II, Pentium-III/Celeron(Coppermine), Pentium-4,
K6/K6-II/K6-III, Athlon/Duron/K7, Opteron/Athlon64/Hammer/K8, Elan, Crusoe,
Winchip-C6, Winchip-2, Winchip-2A/Winchip-3, CyrixIII/VIA-C3, VIA-C3-2)
[Pentium-III/Celeron(Coppermine)] Pentium-4 defined CONFIG_MPENTIUM4 Machine Check Exception
(CONFIG_X86_MCE) [Y/n/?] Toshiba Laptop support
(CONFIG_TOSHIBA) [N/y/m/?] Dell laptop support (CONFIG_I8K)
[N/y/m/?] /dev/cpu/microcode - Intel IA32 CPU
microcode support (CONFIG_MICROCODE) [N/y/m/?] /dev/cpu/*/msr - Model-specific
register support (CONFIG_X86_MSR) [N/y/m/?] /dev/cpu/*/cpuid - CPU information
support (CONFIG_X86_CPUID) [N/y/m/?] High Memory Support (off, 4GB, 64GB)
[off] defined CONFIG_NOHIGHMEM Math emulation
(CONFIG_MATH_EMULATION) [N/y/?] MTRR (Memory Type Range Register)
support (CONFIG_MTRR) [N/y/?] Symmetric multi-processing support
(CONFIG_SMP) [Y/n/?] Maximum number of CPUs (2-32)
(CONFIG_NR_CPUS) [32] 2 Multi-node NUMA system support
(CONFIG_X86_NUMA) [N/y/?] Unsynced TSC support
(CONFIG_X86_TSC_DISABLE) [N/y/?] * * General setup * Networking support (CONFIG_NET)
[Y/n/?] PCI support (CONFIG_PCI) [Y/n/?] PCI access mode (BIOS, Direct, Any) [Any] defined CONFIG_PCI_GOANY ISA bus support (CONFIG_ISA) [Y/n/?] n PCI device name database
(CONFIG_PCI_NAMES) [Y/n/?] EISA support (CONFIG_EISA) [N/y/?] MCA support (CONFIG_MCA) [N/y/?] Support for hot-pluggable devices
(CONFIG_HOTPLUG) [Y/n/?] * * Plug and Play configuration * Plug and Play support (CONFIG_PNP)
[Y/m/n/?] ISA
Plug and Play support (CONFIG_ISAPNP) [Y/m/n/?] n * * Block devices * Normal floppy disk support
(CONFIG_BLK_DEV_FD) [Y/m/n/?] Compaq SMART2 support
(CONFIG_BLK_CPQ_DA) [N/y/m/?] Compaq Smart Array 5xxx support
(CONFIG_BLK_CPQ_CISS_DA) [N/y/m/?] Mylex DAC960/DAC1100 PCI RAID
Controller support (CONFIG_BLK_DEV_DAC960) [N/y/m/?] Promise SATA SX8 support
(CONFIG_BLK_DEV_SX8) [N/y/m/?] y Loopback device support
(CONFIG_BLK_DEV_LOOP) [N/y/m/?] Network block device support
(CONFIG_BLK_DEV_NBD) [N/y/m/?] y RAM disk support (CONFIG_BLK_DEV_RAM)
[N/y/m/?] Per partition statistics in
/proc/partitions (CONFIG_BLK_STATS) [N/y/?] * * Multi-device support (RAID and LVM) * Multiple devices driver support (RAID
and LVM) (CONFIG_MD) [N/y/?] * * Networking options * Packet socket (CONFIG_PACKET)
[Y/m/n/?] Packet socket: mmapped IO (CONFIG_PACKET_MMAP) [N/y/?] Netlink device emulation (CONFIG_NETLINK_DEV)
[N/y/m/?] Network
packet filtering (replaces ipchains) (CONFIG_NETFILTER) [N/y/?]
Socket Filtering (CONFIG_FILTER)
[N/y/?] Unix domain sockets (CONFIG_UNIX)
[Y/m/n/?] TCP/IP networking (CONFIG_INET)
[Y/n/?] IP: multicasting (CONFIG_IP_MULTICAST) [Y/n/?] IP: advanced router (CONFIG_IP_ADVANCED_ROUTER) [N/y/?] IP: kernel level autoconfiguration (CONFIG_IP_PNP) [N/y/?]
IP: tunneling (CONFIG_NET_IPIP) [N/y/m/?] IP: GRE tunnels over IP (CONFIG_NET_IPGRE) [N/y/m/?] IP: multicast routing (CONFIG_IP_MROUTE) [N/y/?] IP: TCP Explicit Congestion Notification support
(CONFIG_INET_ECN) [N/y/?] IP: TCP syncookie support (disabled per default)
(CONFIG_SYN_COOKIES) [N/y/?] 802.1Q VLAN Support
(CONFIG_VLAN_8021Q) [N/y/m/?] * * Network testing * Packet Generator (USE WITH CAUTION)
(CONFIG_NET_PKTGEN) [N/y/m/?] * * Telephony Support * Linux telephony support
(CONFIG_PHONE) [N/y/m/?] * * ATA/IDE/MFM/RLL support * ATA/IDE/MFM/RLL support (CONFIG_IDE)
[Y/m/n/?] * * IDE, ATA and ATAPI Block devices * Enhanced IDE/MFM/RLL
disk/cdrom/tape/floppy support (CONFIG_BLK_DEV_IDE) [Y/m/n/?] * * Please see Documentation/ide.txt
for help/info on IDE drives * Use old disk-only driver on primary interface
(CONFIG_BLK_DEV_HD_IDE) [N/y/?] Support
for SATA (deprecated; conflicts with libata SATA driver)
(CONFIG_BLK_DEV_IDE_SATA) [N/y/?] y Include IDE/ATA-2 DISK support (CONFIG_BLK_DEV_IDEDISK)
[Y/m/n/?] Use multi-mode by default
(CONFIG_IDEDISK_MULTI_MODE) [Y/n/?] Auto-Geometry Resizing support
(CONFIG_IDEDISK_STROKE) [N/y/?] PCMCIA IDE support (CONFIG_BLK_DEV_IDECS) [N/y/m/?] Cardbus IDE support (Delkin/ASKA/Workbit)
(CONFIG_BLK_DEV_DELKIN) [N/y/m/?] Include IDE/ATAPI CDROM support (CONFIG_BLK_DEV_IDECD)
[Y/m/n/?] Include IDE/ATAPI TAPE support (CONFIG_BLK_DEV_IDETAPE)
[N/y/m/?] Include IDE/ATAPI FLOPPY support
(CONFIG_BLK_DEV_IDEFLOPPY) [N/y/m/?] y SCSI emulation support (CONFIG_BLK_DEV_IDESCSI) [N/y/m/?] IDE Taskfile Access (CONFIG_IDE_TASK_IOCTL) [N/y/?] * * IDE chipset support/bugfixes * CMD640 chipset bugfix/support
(CONFIG_BLK_DEV_CMD640) [Y/n/?] CMD640 enhanced support
(CONFIG_BLK_DEV_CMD640_ENHANCED) [N/y/?] PCI IDE chipset support (CONFIG_BLK_DEV_IDEPCI) [Y/n/?] Generic PCI IDE Chipset Support (CONFIG_BLK_DEV_GENERIC) [N/y/?]
y Sharing PCI IDE interrupts support
(CONFIG_IDEPCI_SHARE_IRQ) [Y/n/?] Generic PCI bus-master DMA support
(CONFIG_BLK_DEV_IDEDMA_PCI) [Y/n/?] Boot off-board chipsets first support
(CONFIG_BLK_DEV_OFFBOARD) [N/y/?] Force enable legacy 2.0.X HOSTS to
use DMA (CONFIG_BLK_DEV_IDEDMA_FORCED) [N/y/?] Use PCI DMA by default when
available (CONFIG_IDEDMA_PCI_AUTO) [Y/n/?] Enable DMA only for disks (CONFIG_IDEDMA_ONLYDISK) [N/y/?] Pacific Digital ADMA-100 basic support
(CONFIG_BLK_DEV_ADMA100) [N/y/m/?] AEC62XX chipset support
(CONFIG_BLK_DEV_AEC62XX) [N/y/m/?] ALI M15x3 chipset support
(CONFIG_BLK_DEV_ALI15X3) [N/y/m/?] AMD and nVidia IDE support
(CONFIG_BLK_DEV_AMD74XX) [N/y/m/?] ATI IXP
chipset IDE support (CONFIG_BLK_DEV_ATIIXP) [N/y/m/?] CMD64{3|6|8|9} chipset support
(CONFIG_BLK_DEV_CMD64X) [N/y/m/?] Compaq Triflex IDE support
(CONFIG_BLK_DEV_TRIFLEX) [N/y/m/?] CY82C693 chipset support
(CONFIG_BLK_DEV_CY82C693) [N/y/m/?] Cyrix CS5530 MediaGX chipset support
(CONFIG_BLK_DEV_CS5530) [N/y/m/?] HPT34X chipset support (CONFIG_BLK_DEV_HPT34X)
[N/y/m/?] HPT36X/37X chipset support
(CONFIG_BLK_DEV_HPT366) [N/y/m/?] Intel PIIXn chipsets support (CONFIG_BLK_DEV_PIIX)
[Y/m/n/?] NS87415 chipset support
(CONFIG_BLK_DEV_NS87415) [N/y/m/?] Promise PDC202{46|62|65|67} support
(CONFIG_BLK_DEV_PDC202XX_OLD) [N/y/m/?] Promise PDC202{68|69|70|71|75|76|77} support
(CONFIG_BLK_DEV_PDC202XX_NEW) [N/y/m/?] RZ1000 chipset bugfix/support
(CONFIG_BLK_DEV_RZ1000) [Y/m/n/?] SCx200 chipset support (CONFIG_BLK_DEV_SC1200)
[N/y/m/?] ServerWorks OSB4/CSB5/CSB6 chipsets support
(CONFIG_BLK_DEV_SVWKS) [N/y/m/?] Silicon Image chipset support (CONFIG_BLK_DEV_SIIMAGE)
[N/y/m/?] SiS5513 chipset support
(CONFIG_BLK_DEV_SIS5513) [N/y/m/?] SLC90E66 chipset support
(CONFIG_BLK_DEV_SLC90E66) [N/y/m/?] Tekram TRM290 chipset support
(CONFIG_BLK_DEV_TRM290) [N/y/m/?] VIA82CXXX chipset support
(CONFIG_BLK_DEV_VIA82CXXX) [N/y/m/?] IGNORE word93 Validation BITS (CONFIG_IDEDMA_IVB) [N/y/?] * * SCSI support * SCSI support (CONFIG_SCSI) [Y/m/n/?] n * * Fusion MPT device support * * * I2O device support * I2O support (CONFIG_I2O) [N/y/m/?] * * Network device support * Network device support
(CONFIG_NETDEVICES) [Y/n/?] * * Ethernet (10 or 100Mbit) * Ethernet (10 or 100Mbit)
(CONFIG_NET_ETHERNET) [Y/n/?] Sun Happy Meal 10/100baseT support (CONFIG_HAPPYMEAL)
[N/y/m/?] Sun GEM & Apple GMAC support (CONFIG_SUNGEM) [N/y/m/?]
3COM cards (CONFIG_NET_VENDOR_3COM) [N/y/?] Western Digital/SMC cards (CONFIG_NET_VENDOR_SMC) [N/y/?] Racal-Interlan (Micom) NI cards (CONFIG_NET_VENDOR_RACAL)
[N/y/?] HP 10/100VG PCLAN (ISA, EISA, PCI) support (CONFIG_HP100)
[N/y/m/?] EISA, VLB, PCI and on board controllers (CONFIG_NET_PCI)
[Y/n/?] AMD PCnet32 PCI support (CONFIG_PCNET32)
[N/y/m/?] AMD 8111 (new PCI lance) support
(CONFIG_AMD8111_ETH) [N/y/m/?] Adaptec Starfire/DuraLAN support
(CONFIG_ADAPTEC_STARFIRE) [N/y/m/?] DECchip Tulip (dc21x4x) PCI support
(CONFIG_TULIP) [N/y/m/?] Generic DECchip & DIGITAL EtherWORKS
PCI/EISA (CONFIG_DE4X5) [N/y/m/?] Digi Intl. RightSwitch SE-X support
(CONFIG_DGRS) [N/y/m/?] Davicom DM910x/DM980x support (CONFIG_DM9102)
[N/y/m/?] EtherExpressPro/100 support (eepro100,
original Becker driver) (CONFIG_EEPRO100) [Y/m/n/?] n EtherExpressPro/100 support (e100, Alternate
Intel driver) (CONFIG_E100) [N/y/m/?] Myson MTD-8xx PCI Ethernet support
(CONFIG_FEALNX) [N/y/m/?] National Semiconductor DP8381x series PCI
Ethernet support (CONFIG_NATSEMI) [N/y/m/?] PCI NE2000 and clones support (see help)
(CONFIG_NE2K_PCI) [N/y/m/?] RealTek RTL-8139 PCI Fast Ethernet Adapter support
(CONFIG_8139TOO) [N/y/m/?] y Use PIO instead of MMIO
(CONFIG_8139TOO_PIO) [N/y/?] Support for uncommon RTL-8139 rev.
K (automatic channel equalization) (CONFIG_8139TOO_TUNE_TWISTER) [N/y/?] Support for older RTL-8129/8130
boards (CONFIG_8139TOO_8129) [N/y/?] Use older RX-reset method
(CONFIG_8139_OLD_RX_RESET) [N/y/?] SiS 900/7016 PCI Fast Ethernet Adapter support
(CONFIG_SIS900) [N/y/m/?] SMC EtherPower II (CONFIG_EPIC100) [N/y/m/?] Sundance Alta support (CONFIG_SUNDANCE)
[N/y/m/?] TI ThunderLAN support (CONFIG_TLAN) [N/y/m/?] VIA Rhine support (CONFIG_VIA_RHINE)
[N/y/m/?] Winbond W89c840 Ethernet support
(CONFIG_WINBOND_840) [N/y/m/?] Pocket and portable adapters (CONFIG_NET_POCKET) [N/y/?] * * Ethernet (1000 Mbit) * Alteon AceNIC/3Com 3C985/NetGear
GA620 Gigabit support (CONFIG_ACENIC) [N/y/m/?] D-Link DL2000-based Gigabit Ethernet
support (CONFIG_DL2K) [N/y/m/?] Intel(R) PRO/1000 Gigabit Ethernet
support (CONFIG_E1000) [N/y/m/?] National Semiconductor DP83820
support (CONFIG_NS83820) [N/y/m/?] Packet Engines Hamachi GNIC-II
support (CONFIG_HAMACHI) [N/y/m/?] Realtek 8169 Gigabit Ethernet support
(CONFIG_R8169) [N/y/m/?] y Alternate Marvell Yukon Chipset
Support (not Yukon2) (CONFIG_SKGE) [N/y/m/?] (NEW) Alternate Marvell Yukon 2 Chipset
Support (CONFIG_SKY2) [N/y/m/?] (NEW) Marvell Yukon Chipset / SysKonnect
SK-98xx Support (CONFIG_SK98LIN) [N/y/m/?] Broadcom Tigon3 support
(CONFIG_TIGON3) [N/y/m/?] FDDI driver support (CONFIG_FDDI) [N/y/?]
PPP (point-to-point protocol) support
(CONFIG_PPP) [N/y/m/?] SLIP (serial line) support
(CONFIG_SLIP) [N/y/m/?] * * Wireless LAN (non-hamradio) * Wireless LAN (non-hamradio)
(CONFIG_NET_RADIO) [N/y/?] * * Token Ring devices * Token Ring driver support (CONFIG_TR)
[N/y/?] Fibre Channel driver support
(CONFIG_NET_FC) [N/y/?] * * Wan interfaces * Wan interfaces support (CONFIG_WAN)
[N/y/?] * * PCMCIA network device support * PCMCIA network device support
(CONFIG_NET_PCMCIA) [Y/n/?] n * * Amateur Radio support * Amateur Radio support
(CONFIG_HAMRADIO) [N/y/?] * * IrDA (infrared) support * IrDA subsystem support (CONFIG_IRDA)
[N/y/m/?] * * ISDN subsystem * ISDN support (CONFIG_ISDN) [N/y/m/?] * * Input core support * * * Ftape, the floppy tape device
driver * Ftape (QIC-80/Travan) support
(CONFIG_FTAPE) [N/y/m/?] /dev/agpgart (AGP Support)
(CONFIG_AGP) [Y/m/n/?] Intel 440LX/BX/GX and
I815/I820/I830M/I830MP/I840/I845/I850/I860 support (CONFIG_AGP_INTEL) [Y/n/?]
Intel I810/I815/I830M (on-board) support (CONFIG_AGP_I810)
[Y/n/?] VIA chipset support (CONFIG_AGP_VIA) [Y/n/?] AMD Irongate, 761, and 762 support (CONFIG_AGP_AMD)
[Y/n/?] AMD Opteron/Athlon64 on-CPU GART support
(CONFIG_AGP_AMD_K8) [N/y/?] Generic SiS support (CONFIG_AGP_SIS) [Y/n/?] ALI chipset support (CONFIG_AGP_ALI) [Y/n/?] Serverworks LE/HE support (CONFIG_AGP_SWORKS) [N/y/?] NVIDIA chipset support (CONFIG_AGP_NVIDIA) [N/y/?] ATI IGP
chipset support (CONFIG_AGP_ATI) [N/y/?] y * * File systems * Quota support (CONFIG_QUOTA) [N/y/?] Kernel automounter support
(CONFIG_AUTOFS_FS) [N/y/m/?] y Kernel automounter version 4 support
(also supports v3) (CONFIG_AUTOFS4_FS) [Y/m/n/?] Reiserfs support (CONFIG_REISERFS_FS)
[N/y/m/?] Ext3 journalling file system support
(CONFIG_EXT3_FS) [N/y/m/?] y JBD (ext3) debugging support (CONFIG_JBD_DEBUG) [N/y/?] DOS FAT fs support (CONFIG_FAT_FS)
[N/y/m/?] m
MSDOS fs support (CONFIG_MSDOS_FS) [N/y/m/?] m UMSDOS: Unix-like file system on top of
standard MSDOS fs (CONFIG_UMSDOS_FS) [N/y/m/?] m
VFAT (Windows-95) fs support (CONFIG_VFAT_FS) [N/y/m/?] m Compressed ROM file system support
(CONFIG_CRAMFS) [N/y/m/?] Virtual memory file system support
(former shm fs) (CONFIG_TMPFS) [Y/n/?] ISO 9660 CDROM file system support (CONFIG_ISO9660_FS)
[Y/m/n/?] Microsoft Joliet CDROM extensions (CONFIG_JOLIET) [N/y/?] Transparent decompression extension (CONFIG_ZISOFS)
[N/y/?] JFS filesystem support
(CONFIG_JFS_FS) [N/y/m/?] Minix fs support (CONFIG_MINIX_FS)
[N/y/m/?] m FreeVxFS file system support (VERITAS
VxFS(TM) compatible) (CONFIG_VXFS_FS) [N/y/m/?] NTFS file system support (read only)
(CONFIG_NTFS_FS) [N/y/m/?] m OS/2 HPFS file system support
(CONFIG_HPFS_FS) [N/y/m/?] /proc file system support
(CONFIG_PROC_FS) [Y/n/?] /dev/pts file system for Unix98 PTYs
(CONFIG_DEVPTS_FS) [Y/n/?] QNX4 file system support (read only)
(CONFIG_QNX4FS_FS) [N/y/m/?] ROM file system support
(CONFIG_ROMFS_FS) [N/y/m/?] Second extended fs support
(CONFIG_EXT2_FS) [Y/m/n/?] System V/Xenix/V7/Coherent file
system support (CONFIG_SYSV_FS) [N/y/m/?] UDF file system support (read only)
(CONFIG_UDF_FS) [N/y/m/?] UFS file system support (read only)
(CONFIG_UFS_FS) [N/y/m/?] XFS filesystem support
(CONFIG_XFS_FS) [N/y/m/?] * * Network File Systems * Coda file system support (advanced
network fs) (CONFIG_CODA_FS) [N/y/m/?] NFS file system support
(CONFIG_NFS_FS) [Y/m/n/?] Provide NFSv3 client support (CONFIG_NFS_V3) [N/y/?] NFS server support (CONFIG_NFSD)
[Y/m/n/?] Provide NFSv3 server support (CONFIG_NFSD_V3) [N/y/?] Provide NFS server over TCP support (CONFIG_NFSD_TCP)
[Y/n/?] SMB file system support (to mount
Windows shares etc.) (CONFIG_SMB_FS) [N/y/m/?] y Use a default NLS (CONFIG_SMB_NLS_DEFAULT) [N/y/?] (NEW) Enable Unix Extensions (CONFIG_SMB_UNIX) [N/y/?] (NEW) NCP file system support (to mount
NetWare volumes) (CONFIG_NCP_FS) [N/y/m/?] * * Native Language Support * Default NLS Option
(CONFIG_NLS_DEFAULT) [iso8859-1] (NEW) Codepage 437 (United States, Canada)
(CONFIG_NLS_CODEPAGE_437) [N/y/m/?] (NEW) Codepage 737 (Greek)
(CONFIG_NLS_CODEPAGE_737) [N/y/m/?] (NEW) Codepage 775 (Baltic Rim)
(CONFIG_NLS_CODEPAGE_775) [N/y/m/?] (NEW) Codepage 850 (Europe)
(CONFIG_NLS_CODEPAGE_850) [N/y/m/?] (NEW) Codepage 852 (Central/Eastern Europe)
(CONFIG_NLS_CODEPAGE_852) [N/y/m/?] (NEW) Codepage 855 (Cyrillic)
(CONFIG_NLS_CODEPAGE_855) [N/y/m/?] (NEW) Codepage 857 (Turkish)
(CONFIG_NLS_CODEPAGE_857) [N/y/m/?] (NEW) Codepage 860 (Portuguese)
(CONFIG_NLS_CODEPAGE_860) [N/y/m/?] (NEW) Codepage 861 (Icelandic)
(CONFIG_NLS_CODEPAGE_861) [N/y/m/?] (NEW) Codepage 862 (Hebrew)
(CONFIG_NLS_CODEPAGE_862) [N/y/m/?] (NEW) Codepage 863 (Canadian French)
(CONFIG_NLS_CODEPAGE_863) [N/y/m/?] (NEW) Codepage 864 (Arabic)
(CONFIG_NLS_CODEPAGE_864) [N/y/m/?] (NEW) Codepage 865 (Norwegian, Danish)
(CONFIG_NLS_CODEPAGE_865) [N/y/m/?] (NEW) Codepage 866 (Cyrillic/Russian)
(CONFIG_NLS_CODEPAGE_866) [N/y/m/?] (NEW) Codepage 869 (Greek)
(CONFIG_NLS_CODEPAGE_869) [N/y/m/?] (NEW) Simplified Chinese charset (CP936,
GB2312) (CONFIG_NLS_CODEPAGE_936) [N/y/m/?] (NEW) Traditional Chinese charset (Big5)
(CONFIG_NLS_CODEPAGE_950) [N/y/m/?] (NEW) Japanese charsets (Shift-JIS, EUC-JP)
(CONFIG_NLS_CODEPAGE_932) [N/y/m/?] (NEW) Korean charset (CP949, EUC-KR) (CONFIG_NLS_CODEPAGE_949)
[N/y/m/?] (NEW) y Thai charset (CP874, TIS-620)
(CONFIG_NLS_CODEPAGE_874) [N/y/m/?] (NEW) Hebrew charsets (ISO-8859-8, CP1255)
(CONFIG_NLS_ISO8859_8) [N/y/m/?] (NEW) Windows CP1250 (Slavic/Central
European Languages) (CONFIG_NLS_CODEPAGE_1250) [N/y/m/?] (NEW) Windows CP1251 (Bulgarian,
Belarusian) (CONFIG_NLS_CODEPAGE_1251) [N/y/m/?] (NEW) NLS ISO 8859-1 (Latin 1; Western European Languages)
(CONFIG_NLS_ISO8859_1) [N/y/m/?] (NEW) NLS ISO 8859-2 (Latin 2; Slavic/Central European
Languages) (CONFIG_NLS_ISO8859_2) [N/y/m/?] (NEW) * * Kernel hacking * Kernel debugging
(CONFIG_DEBUG_KERNEL) [N/y/?] Kernel messages buffer length shift
(0 = default) (CONFIG_LOG_BUF_SHIFT) [0] * * Cryptographic options * Cryptographic API (CONFIG_CRYPTO)
[N/y/?] * * Library routines * CRC32 functions (CONFIG_CRC32)
[Y/m/n/?] zlib decompression support
(CONFIG_ZLIB_INFLATE) [N/y/m/?] zlib compression support
(CONFIG_ZLIB_DEFLATE) [N/y/m/?] *** End of Linux kernel
configuration. *** Check the top-level Makefile for
additional configuration. *** Next, you must run 'make dep'. |
À§ÀÇ È¯°æ¼³Á¤À»
¸¶Ä¡¸é, ¼Ò½º Æú´õ(/home/jungjj/linux/)ÀÇ Á¦ÀÏ »ó´Ü¿¡ .config ÆÄÀÏÀÌ »ý¼ºµÈ´Ù. À̰ÍÀ» Àá±ñ È®ÀÎÇØ º¸¸é ¾Æ·¡¿Í °°´Ù.(ÀÓÀÇ·Î ÆíÁýÇÏÁö ¾Ê´Â´Ù)
.config ÆÄÀÏ ³»¿ë (882 lines)
|
# # Automatically generated make
config: don't edit # CONFIG_X86=y # CONFIG_SBUS is not set CONFIG_UID16=y # # Code maturity level options # # CONFIG_EXPERIMENTAL is not set # # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y # # Processor type and features # # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMIII is not set CONFIG_MPENTIUM4=y # CONFIG_MK6 is not set # CONFIG_MK7 is not set # CONFIG_MK8 is not set ÀÌÇÏ»ý·«.. |
À§¿¡¼ »ý¼ºµÈ
Ä¿³Î ȯ°æ¼³Á¤ ¿É¼ÇÀ» ¼öÁ¤ÇÏ´Â µµ±¸µéÀÌ Àִµ¥, Àá±ñ ¼Ò°³Çϸé,
l
menuconfig: Å͹̳Πȯ°æÀÇ ´ëÈÇü
l
gconfig: GTK ±â¹ÝÀÇ ±×·¡ÇÈ È¯°æ
l
xconfig: QT ±â¹ÝÀÇ ±×·¡ÇÈ È¯°æ
ÇÊÀڴ ù¹øÂ°
µµ±¸ÀÎ menuconfig¸¦ ¼Ò°³ÇÑ´Ù.
¾Æ·¡¿Í °°ÀÌ ½ÇÇàÇÑ´Ù.
|
$ make menuconfig |
.config - Linux Kernel v2.4.36.9
Configuration
|
Linux
Kernel Configuration |
|
È»ìÇ¥ ۸¦ »ç¿ëÇÏ¿© ¸Þ´º À̵¿. <Enter> ¼ºê¸Þ´º --->
¼±ÅÃ. [ ] ´ë°ýÈ£´Â ±â´É ¼±Åðú
ÇØÁ¦¸¦ ÀǹÌÇÔ. [*] ±â´É¼±ÅÃ(»ç¿ë). [ ] °ø¹éÀº ±â´É »ç¿ë¾ÊÇÔ. < > Áß°£°ýÈ£´Â
Y, N, M Áß¿¡¼ Çϳª¸¦ »ç¿ëÇÔ. <Y> ºôµåÇÔ. <N> ºôµå¾ÊÇÔ. <M> ¸ðµâ·Î ºôµåÇÔ. < >ºôµå¾ÊÇÔ. <?> µµ¿ò¸» Ç¥½Ã±â´É,
</> °Ë»ö±â´É, <Esc><Esc> µÎ¹øÅ¬¸¯½Ã ¸Þ´º Å»Ãâ. |
|
General setup --->
[*] Enable loadable module support --->
-*- Enable the block layer
--->
Processor type and features
--->
Power management options
---> Bus
options (PCI etc.) --->
Executable file formats / Emulations --->
[*] Networking support
--->
Device Drivers --->
Firmware Drivers --->
File systems --->
Kernel hacking --->
Security options --->
-*- Cryptographic API
--->
[*] Virtualization
--->
Library routines --->
--- Load
an Alternate Configuration File
Save an Alternate Configuration File |
|
<Select> < Exit > < Help > |
make config´Â óÀ½ºÎÅÍ ³¡±îÁö ´ëÈÇüÀ¸·Î ȯ°æ¼³Á¤ÇØ¾ß ÇϹǷÎ, ¸¹Àº ½Ã°£°ú ³ë·ÂÀÌ ÇÊ¿äÇÏÁö¸¸, make
menuconfig µµ±¸¸¦ »ç¿ëÇÏ¸é ³»°¡ ¿øÇÏ´Â ºÎºÐ¸¸À» ã¾Æ¼ ȯ°æ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.
3. ºôµù(Building)
ÀÌÁ¦ make dep ¸í·ÉÀ» ½ÇÇàÇÏ¿© ºôµù °æ·ÎµéÀÇ ÀÇÁ¸¼º Á¤º¸¸¦ »ý¼ºÇÑ´Ù.
|
$ make dep |
À§ÀÇ ¸í·ÉÀÌ ½ÇÇàµÇ¸é, ¼Ò½º°æ·ÎÀÇ »ó´Ü¿¡ .depend ÆÄÀϰú .hdepend ÆÄÀÏÀÌ »ý¼ºµÈ´Ù.
»ý¼ºµÈ .depend ÆÄÀÏ ³»¿ë (80 lines)
|
init/do_mounts.o: init/do_mounts.c \
/home/jungjj/linux/linux-2.4.36.9/include/linux/slab.h \
/home/jungjj/linux/linux-2.4.36.9/include/linux/devfs_fs_kernel.h \
/home/jungjj/linux/linux-2.4.36.9/include/linux/unistd.h \ /home/jungjj/linux/linux-2.4.36.9/include/linux/ctype.h
\
/home/jungjj/linux/linux-2.4.36.9/include/linux/blk.h \ /home/jungjj/linux/linux-2.4.36.9/include/linux/fd.h
\
/home/jungjj/linux/linux-2.4.36.9/include/linux/tty.h \ /home/jungjj/linux/linux-2.4.36.9/include/linux/init.h
\
/home/jungjj/linux/linux-2.4.36.9/include/linux/nfs_fs.h \
/home/jungjj/linux/linux-2.4.36.9/include/linux/nfs_fs_sb.h \
/home/jungjj/linux/linux-2.4.36.9/include/linux/nfs_mount.h \ /home/jungjj/linux/linux-2.4.36.9/include/linux/minix_fs.h
\
/home/jungjj/linux/linux-2.4.36.9/include/linux/ext2_fs.h \
/home/jungjj/linux/linux-2.4.36.9/include/linux/romfs_fs.h \
/home/jungjj/linux/linux-2.4.36.9/include/linux/cramfs_fs.h \ $(wildcard /home/jungjj/linux/linux-2.4.36.9/include/config/blk/dev/initrd.h)
\ $(wildcard
/home/jungjj/linux/linux-2.4.36.9/include/config/arch/s390.h) \ ÀÌÇÏ»ý·«.. |
»ý¼ºµÈ .hdepend ÆÄÀÏ ³»¿ë (3811 lines)
|
/home/jungjj/linux/linux-2.4.36.9/include/asm/acpi.h:
\ /home/jungjj/linux/linux-2.4.36.9/include/linux/init.h
\ $(wildcard
/home/jungjj/linux/linux-2.4.36.9/include/config/acpi/pci.h) \ $(wildcard
/home/jungjj/linux/linux-2.4.36.9/include/config/acpi/boot.h) \ $(wildcard
/home/jungjj/linux/linux-2.4.36.9/include/config/acpi/sleep.h) @touch /home/jungjj/linux/linux-2.4.36.9/include/asm/acpi.h /home/jungjj/linux/linux-2.4.36.9/include/asm/apic.h:
\ /home/jungjj/linux/linux-2.4.36.9/include/linux/pm.h
\
/home/jungjj/linux/linux-2.4.36.9/include/asm/apicdef.h \ /home/jungjj/linux/linux-2.4.36.9/include/asm/system.h
\ $(wildcard
/home/jungjj/linux/linux-2.4.36.9/include/config/x86/local/apic.h) \ $(wildcard
/home/jungjj/linux/linux-2.4.36.9/include/config/x86/good/apic.h) @touch
/home/jungjj/linux/linux-2.4.36.9/include/asm/apic.h ÀÌÇÏ»ý·«.. |
ÀÌÁ¦ make ¸í·ÉÀ» ½ÇÇàÇÏ¿© ºôµåÇÏÀÚ.
|
$ make |
ºôµùµÇ´Â ½Ã°£ÀÌ
´Ù¼Ò ¼Ò¿äµÇ¹Ç·Î ±â´Ù¸°´Ù.
4. ¼³Ä¡(Installing)
¼³Ä¡´Â root °èÁ¤À¸·Î ½ÇÇàÇÑ´Ù.
|
$ su root password # make modules_install ©¬ ȯ°æ¼³Á¤¿¡¼ m ¸ðµâ·Î ¼³Ä¡Çϱ⸦ ÇÑ °æ¿ì # make install |
À§ÀÇ Ä¿³Î ºôµå
½Ã½ºÅÛÀº ¾Æ·¡¿Í °°Àº ÀýÂ÷¸¦ °ÅÃļ ½ÇÇàµÈ´Ù.
(1) Ä¿³ÎÀÌ ¼º°øÀûÀ¸·Î
ºôµå µÇ´ÂÁö °ËÁõÇÑ´Ù.
(2) Ä¿³ÎÀÇ Á¤ÀûÀÎ
ÀϺκÐÀ» /boot °æ·Î¿¡ ¼³Ä¡Çϰí Ä¿³Î ¹öÀü¿¡ ¸Â´Â ½ÇÇàÆÄÀÏÀÌ »ý¼ºµÈ´Ù.
(3) ºÎÆ®·Î´õ°¡ »õ·Î¿î
Ä¿³ÎÀÌ Á¸ÀçÇÑ´Ù´Â °ÍÀ» ÀνÄÇϰí, ´ÙÀ½¿¡ ÄÄÇ»Å͸¦ Àç½ÃÀÛÇÏ¿© ºÎÆÃÇÒ ¶§ »ç¿ëÀÚ°¡ À̰ÍÀ» ¼±ÅÃÇÒ ¼ö ÀÖµµ·Ï ¸Þ´º¿¡
Ãß°¡ÇÑ´Ù.
(4) À̰ÍÀÌ ¿Ï·áµÇ¸é
Ä¿³ÎÀÌ ¼º°øÀûÀ¸·Î ¼³Ä¡µÈ °ÍÀÌ´Ù.
À§ÀÇ ¼³Ä¡°úÁ¤¿¡¼
ÀÌÀüÀÇ Ä¿³Î À̹ÌÁöµé¿¡´Â ³»¿ëÀÌ °ãÃÄÁöÁö ¾ÊÀ¸¹Ç·Î, »õ·Î¿î Ä¿³Î°ú ÀÌÀü Ä¿³ÎÀ» ¼±ÅÃÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ´Ù. Áï, »õ·Ó°Ô ¼³Ä¡µÈ Ä¿³Î¿¡ ¹®Á¦°¡ »ý±â¸é, ÀÌÀü Ä¿³Î·Î ÀçºÎÆÃÇÏ¸é µÈ´Ù.
5. ºÎÆÃ(Booting)
/boot/ °æ·Î¿¡ ÀÖ´Â ÆÄÀϵéÀ» È®ÀÎÇÑ´Ù.
|
# cd /boot/ # ll lrwxrwxrwx 1 root root 19
12¿ù 7 12:32 System.map ->
System.map-2.4.36.9 -rw-r--r-- 1 root root 520129 3¿ù 14 2003 System.map-2.4.20-8 -rw-r--r-- 1
root root
546061 3¿ù 14 2003 System.map-2.4.20-8smp -rw-r--r-- 1 root root 598784 12¿ù 7 12:32 System.map-2.4.36.9 -rw-r--r-- 1 root root 5824 1¿ù 25 2003 boot.b -rw-r--r-- 1 root root 612 1¿ù 25 2003 chain.b -rw-r--r-- 1 root root 44309 3¿ù 14 2003 config-2.4.20-8 -rw-r--r-- 1 root root 44361 3¿ù 14 2003 config-2.4.20-8smp drwxr-xr-x 2 root root 1024 12¿ù 7 12:32 grub -rw-r--r-- 1 root root 146510 11¿ù 27 08:17 initrd-2.4.20-8.img -rw-r--r-- 1 root root 149272 11¿ù 27 08:17
initrd-2.4.20-8smp.img -rw-r--r-- 1 root root 85935 12¿ù 7 12:32 initrd-2.4.36.9.img -rw-r--r-- 1 root root 477 11¿ù 27
00:46 kernel.h drwx------ 2 root root 12288 11¿ù 27 08:10
lost+found -rw-r--r-- 1 root root 23108 2¿ù 25 2003 message -rw-r--r-- 1 root root 21282 2¿ù 25 2003 message.ja lrwxrwxrwx 1 root root 20
11¿ù 27 08:17 module-info -> module-info-2.4.20-8 -rw-r--r-- 1 root root 15436 3¿ù 14 2003 module-info-2.4.20-8 -rw-r--r-- 1 root root 15436 3¿ù 14 2003 module-info-2.4.20-8smp -rw-r--r-- 1 root root 640 1¿ù 25 2003 os2_d.b -rw-r--r-- 1 root root 3193503 3¿ù 14 2003
vmlinux-2.4.20-8 -rw-r--r-- 1 root root 3637412 3¿ù 14 2003
vmlinux-2.4.20-8smp lrwxrwxrwx 1 root root 16
12¿ù 7 12:32 vmlinuz ->
vmlinuz-2.4.36.9 -rw-r--r-- 1 root root 1122186 3¿ù 14 2003
vmlinuz-2.4.20-8 -rw-r--r-- 1 root root 1211291 3¿ù 14 2003
vmlinuz-2.4.20-8smp -rw-r--r-- 1 root root 1324641 12¿ù 7 12:32 vmlinuz-2.4.36.9 |
ÆÄÀϸí-Ä¿³Î¹öÀü Çü½ÄÀ¸·Î ÆÄÀϵéÀÌ »ý¼ºµÇ¾î ÀÖÀ½À» È®ÀÎÇÒ ¼ö ÀÖ´Ù. Áï, ÀÌÀüÀÇ Ä¿³Î2.4.20 ¹öÀü°ú »õ·Ó°Ô ¼³Ä¡ÇÑ Ä¿³Î2.4.36 ¹öÀüÀÇ ÆÄÀϵéÀÌ °ãÄ¡Áö ¾Ê°í °¢°¢ µû·Î Á¸ÀçÇÑ´Ù.
À§ÀÇ ÆÄÀϸñ·Ïµé
Áß¿¡¼ grub µð·ºÅ丮°¡ ÀÖ´Ù¸é, ºÎÆ®·Î´õ·Î À̰ÍÀ» »ç¿ëÇϰí ÀÖ´Ù´Â °ÍÀ̰í, ¾ø´Ù¸é,
/etc/lilo.conf ¸¦ È®ÀÎÇÑ´Ù.
GRUB ºÎÆ®·Î´õ Æú´õ È®ÀÎ
|
# cd grub # ls –al drwxr-xr-x 2 root root 1024 12¿ù 7 12:32 . drwxr-xr-x 4 root root 1024 12¿ù 7 12:32 .. -rw-r--r-- 1 root root 82
11¿ù 27 09:40 device.map -rw-r--r-- 1 root root 7840 11¿ù 27
09:40 e2fs_stage1_5 -rw-r--r-- 1 root root 7536 11¿ù 27
09:40 fat_stage1_5 -rw-r--r-- 1 root root 6880 11¿ù 27
09:40 ffs_stage1_5 -rw------- 1 root root 785 12¿ù 7 12:32 grub.conf -rw-r--r-- 1 root root 8448 11¿ù 27
09:40 jfs_stage1_5 lrwxrwxrwx 1 root root 11
11¿ù 27 09:40 menu.lst -> ./grub.conf -rw-r--r-- 1 root root 7040 11¿ù 27
09:40 minix_stage1_5 -rw-r--r-- 1 root root 9408 11¿ù 27
09:40 reiserfs_stage1_5 -rw-r--r-- 1 root root 11050 2¿ù 25 2003 splash.xpm.gz -rw-r--r-- 1 root root 512 11¿ù 27
09:40 stage1 -rw-r--r-- 1 root root 106364 11¿ù 27 09:40 stage2 -rw-r--r-- 1 root root 6528 11¿ù 27
09:40 vstafs_stage1_5 -rw-r--r-- 1 root root 9320 11¿ù 27
09:40 xfs_stage1_5 |
À§ÀÇ ÆÄÀÏ ¸ñ·Ï¿¡¼ grub.conf ÆÄÀÏÀÇ ³»¿ëÀ» È®ÀÎÇØ º¸¸é,
|
# grub.conf generated by anaconda # # Note that you do not have to rerun
grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel
and initrd paths are relative to /boot/, eg. # root
(hd0,0) # kernel
/vmlinuz-version ro root=/dev/hda2 # initrd
/initrd-version.img #boot=/dev/hda default=1 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.36.9) root (hd0,0) kernel
/vmlinuz-2.4.36.9 ro root=LABEL=/ initrd
/initrd-2.4.36.9.img title Red Hat Linux (2.4.20-8smp) root (hd0,0) kernel
/vmlinuz-2.4.20-8smp ro root=LABEL=/ initrd
/initrd-2.4.20-8smp.img title Red Hat Linux-up (2.4.20-8) root (hd0,0) kernel
/vmlinuz-2.4.20-8 ro root=LABEL=/ initrd
/initrd-2.4.20-8.img |
»õ·Ó°Ô ¼³Ä¡ÇÑ
Ä¿³Î 2.4.36.9 ¹öÀü(ÆÄ¶õ»ö ±Û¾¾)ÀÌ »ó´Ü¿¡ À§Ä¡Çϰí, ÀÌÀüÀÇ 2.4.20 ¹öÀüÀº ÇÏ´Ü¿¡ ÀÖÀ½À» ¾Ë ¼ö ÀÖ´Ù. ÄÄÇ»Å͸¦ Àç½ÃÀÛÇÏ¿© À̵éÀ» ¼±ÅÃÇÏ¿© ºÎÆÃÇÒ ¼ö ÀÖ´Ù.
ÀÚ~ ±×·³, »õ·Î¿î ¸®´ª½º Ä¿³Î·Î ºÎÆÃÇÏ¿©, ¾Õ¿¡¼ ȯ°æ¼³Á¤ÇÑ Çϵå¿þ¾îµéÀÌ Á¦´ë·Î ¼³Á¤µÇ´ÂÁö È®ÀÎÇÏÀÚ. ¸¸¾à, ¹®Á¦°¡ ¹ß»ýÇÑ´Ù¸é, ´Ù½Ã ÀÌÀü Ä¿³Î¹öÀüÀ¸·Î ÀçºÎÆÃÇÏ¿©, make
menuconfig ¸¦ ½ÇÇàÇÏ¿© ¹®Á¦°¡ »ý±ä ºÎºÐÀÇ È¯°æ¼³Á¤À» ´Ù½ÃÇÑ´Ù.
ȯ°æ¼³Á¤(Configuring) à ºôµù(Building) à ¼³Ä¡(Installing) à ºÎÆÃ(Booting)
À§ÀÇ °úÁ¤À» ¹Ýº¹ÇÑ´Ù.
Á»´õ »ó¼¼ÇÑ Ä¿³Î
ȯ°æ¼³Á¤°ú ºôµå¹æ¹ý¿¡ ´ëÇØ¼´Â ´ÙÀ½¿¡ °Ô½ÃÇÒ ¿¹Á¤ÀÌ´Ù.
|
|
|
|
|
|
|
|
|
|
Á¦¸ñ: ¸®´ª½º Ä¿³Î ¼³Ä¡¹æ¹ý |
ÀúÀÛ±ÇÀº ÀúÀÚ¿¡°Ô ÀÖ½À´Ï´Ù |
|
ÀúÀÚ: Á¤ÀçÁØ(rgbi3307@nate.com) |
ÃÖ±Ù¼öÁ¤ÀÏ:2008-12-07 |