~~NOTOC~~ === Linux® From Scratch === == Version 12.4 == == 2025년 9월 1일 출간 == == 집필자 Gerard Beekmans == == 편집자: Bruce Dubbs == [[https://www.linuxfromscratch.org/lfs/view/stable/legalnotice.html|Copyrigt]](c) 1999-2025 Gerard Beekmans ==== 목차 ==== == 서문 == * [[002-Foreword|머리말]] * [[003-Audience|독자들에게]] * [[004-lfs_target_architectures|대상 아키텍처]] * [[005-prerequisites|사전 준비]] * [[007-lfs_and_standards|LFS와 표준]] * [[008-rationale_for_packages_in_the_book|패키지 선택 이유]] * [[009-Typography|표기 형식]] * [[010-structure|구성]] * [[011-Errata and Security Advisories|정정표 및 보안 권고]] === I. 서론 === == 1. 서론 == * [[013-How to build an LFS System|LFS 시스템을 어떻게 만들 것인가]] * [[014-Whats new since the last release|이전 버전에서 달라진 점]] * [[015-Changelog|변경 내역]] * [[016-Resources|참고 자료]] * [[017-Help|도움 받기]] === II. 빌드 준비 === == 2. 호스트 시스템 준비 == * [[020-Introduction|개요]] * [[021-Host System Requirements|호스트 시스템 준비 사항]] * [[022-Building LFS in Stages|LFS 빌드 단계별 진행 내용]] * [[023-Creating a New Partition|새로운 파티션 생성]] * [[024-Creating A File System on the Partition|파티션에 파일 시스템 생성]] * [[025-Setting the LFS Variable and the Umask|$LFS 변수와 Umask 설정]] * [[026-Mounting the New Partition|새로운 파티션 마운트]] == 3. 패키지와 패치 == * [[028-Introduction|개요]] * [[029-All Packages|모든 패키지]] * [[030-Needed Patches|필요한 패치들]] == 4. 준비 마치기 == * [[032-Introduction|개요]] * [[033-Creating a Limited Directory Layout in the LFS Filesystem|LFS 파일 시스템에 필수 디렉터리 생성]] * [[034-Adding the LFS User|LFS 사용자 추가]] * [[035-Setting Up the Environment|환경 설정]] * [[036-About SBUs|SBU 단위]] * [[037-About the Test Suites|테스트 관련 사항]] === III. LFS 크로스 툴체인과 임시 툴 빌드 === == 중요한 배경 지식 == * [[040-Introduction|개요]] * [[041-Toolchain Technical Notes|툴체인 기법]] * [[042-General Compilation Instructions|이후 컴파일 진행 방법]] == 5. 크로스 툴체인 컴파일 == * [[044-Introduction|개요]] * [[045-Binutils-2.45 - Pass 1|Binutils-2.45 - Pass 1]] * [[046-GCC-15.2.0 - Pass 1|GCC-15.2.0 - Pass 1]] * [[047-Linux-6.16.1 API Headers|Linux-6.16.1 API Headers]] * [[048-Glibc-2.42|Glibc-2.42]] * [[049-Libstdc++ from GCC-15.2.0|Libstdc++ from GCC-15.2.0]] == 6. 임시 툴 크로스 컴파일 == * [[051-Introduction|개요]] * [[052-M4-1.4.20|M4-1.4.20]] * [[053-Ncurses-6.5-20250809]] * [[054-Bash-5.3|Bash-5.3]] * [[055-Coreutils-9.7|Coreutils-9.7]] * [[056-Diffutils-3.12|Diffutils-3.12]] * [[057-File-5.46|File-5.46]] * [[058-Findutils-4.10.0|Findutils-4.10.0]] * [[059-Gawk-5.3.2|Gawk-5.3.2]] * [[060-Grep-3.12|Grep-3.12]] * [[061-Gzip-1.14|Gzip-1.14]] * [[062-Make-4.4.1|Make-4.4.1]] * [[063-Patch-2.8|Patch-2.8]] * [[064-Sed-4.9|Sed-4.9]] * [[065-Tar-1.35|Tar-1.35]] * [[066-Xz-5.8.1|Xz-5.8.1]] * [[067-Binutils-2.45 - Pass 2|Binutils-2.45 - Pass 2]] * [[068-GCC-15.2.0 - Pass 2|GCC-15.2.0 - Pass 2]] == 7. Chroot 실행 상태에서 추가적인 임시 툴 빌드 == * [[070-Introduction|개요]] * [[071-Changing Ownership|소유권 변경]] * [[072-Preparing Virtual Kernel File Systems|가상 커널 파일 시스템 준비]] * [[073-Entering the Chroot Environment|Chroot 환경으로 진입]] * [[074-Creating Directories|디렉터리 생성]] * [[075-Creating Essential Files and Symlinks|필요한 파일과 심볼릭 링크 생성]] * [[076-Gettext-0.26|Gettext-0.26]] * [[077-Bison-3.8.2|Bison-3.8.2]] * [[078-Perl-5.42.0|Perl-5.42.0]] * [[079-Python-3.13.7|Python-3.13.7]] * [[080-Texinfo-7.2|Texinfo-7.2]] * [[081-Util-linux-2.41.1|Util-linux-2.41.1]] * [[082-Cleaning up and Saving the Temporary System|정리 및 임시 시스템 저장]] === IV. LFS 시스템 빌드 === == 8. 기본적인 시스템 소프트웨어 설치 == * [[085-Introduction|개요]] * [[086-Package Management|패키지 관리법]] * [[087-Man-pages-6.15|Man-pages-6.15]] * [[089-Iana-Etc-20250807|Iana-Etc-20250807]] * [[090-Glibc-2.42|Glibc-2.42]] * [[091-Zlib-1.3.1|Zlib-1.3.1]] * [[092-Bzip2-1.0.8|Bzip2-1.0.8]] * [[093-Xz-5.8.1|Xz-5.8.1]] * [[094-Lz4-1.10.0|Lz4-1.10.0]] * [[095-Zstd-1.5.7|Zstd-1.5.7]] * [[096-File-5.46|File-5.46]] * [[097-Readline-8.3|Readline-8.3]] * [[098-M4-1.4.20|M4-1.4.20]] * [[099-Bc-7.0.3|Bc-7.0.3]] * [[100-Flex-2.6.4|Flex-2.6.4]] * [[101-Tcl-8.6.16|Tcl-8.6.16]] * [[102-Expect-5.45.4|Expect-5.45.4]] * [[103-DejaGNU-1.6.3|DejaGNU-1.6.3]] * [[104-Pkgconf-2.5.1|Pkgconf-2.5.1]] * [[105-Binutils-2.45|Binutils-2.45]] * [[106-GMP-6.3.0|GMP-6.3.0]] * [[107-MPFR-4.2.2|MPFR-4.2.2]] * [[108-MPC-1.3.1|MPC-1.3.1]] * [[109-Attr-2.5.2|Attr-2.5.2]] * [[110-Acl-2.3.2|Acl-2.3.2]] * [[111-Libcap-2.76|Libcap-2.76]] * [[112-Libxcrypt-4.4.38|Libxcrypt-4.4.38]] * [[113-Shadow-4.18.0|Shadow-4.18.0]] * [[114-GCC-15.2.0|GCC-15.2.0]] * [[115-Ncurses-6.5-20250809|Ncurses-6.5-20250809]] * [[116-Sed-4.9|Sed-4.9]] * [[117-Psmisc-23.7|Psmisc-23.7]] * [[118-Gettext-0.26|Gettext-0.26]] * [[119-Bison-3.8.2|Bison-3.8.2]] * [[120-Grep-3.12|Grep-3.12]] * [[121-Bash-5.3|Bash-5.3]] * [[122-Libtool-2.5.4|Libtool-2.5.4]] * [[123-GDBM-1.26|GDBM-1.26]] * [[124-Gperf-3.3|Gperf-3.3]] * [[125-Expat-2.7.1|Expat-2.7.1]] * [[126-Inetutils-2.6|Inetutils-2.6]] * [[127-Less-679|Less-679]] * [[128-Perl-5.42.0|Perl-5.42.0]] * [[129-XML-Parser-2.47XML::Parser-2.47]] * [[130-Intltool-0.51.0|Intltool-0.51.0]] * [[131-Autoconf-2.72|Autoconf-2.72]] * [[132-Automake-1.18.1|Automake-1.18.1]] * [[133-OpenSSL-3.5.2|OpenSSL-3.5.2]] * [[134-Libelf from Elfutils-0.193|Libelf from Elfutils-0.193]] * [[135-Libffi-3.5.2|Libffi-3.5.2]] * [[136-Python-3.13.7|Python-3.13.7]] * [[137-Flit-Core-3.12.0|Flit-Core-3.12.0]] * [[138-Packaging-25.0|Packaging-25.0]] * [[139-Wheel-0.46.1|Wheel-0.46.1]] * [[140-Setuptools-80.9.0|Setuptools-80.9.0]] * [[141-Ninja-1.13.1|Ninja-1.13.1]] * [[142-Meson-1.8.3|Meson-1.8.3]] * [[143-Kmod-34.2|Kmod-34.2]] * [[144-Coreutils-9.7|Coreutils-9.7]] * [[145-Diffutils-3.12|Diffutils-3.12]] * [[146-Gawk-5.3.2|Gawk-5.3.2]] * [[147-Findutils-4.10.0|Findutils-4.10.0]] * [[148-Groff-1.23.0|Groff-1.23.0]] * [[149-GRUB-2.12|GRUB-2.12]] * [[150-Gzip-1.14|Gzip-1.14]] * [[151-IPRoute2-6.16.0|IPRoute2-6.16.0]] * [[152-Kbd-2.8.0|Kbd-2.8.0]] * [[153-Libpipeline-1.5.8|Libpipeline-1.5.8]] * [[154-Make-4.4.1|Make-4.4.1]] * [[155-Patch-2.8|Patch-2.8]] * [[156-Tar-1.35|Tar-1.35]] * [[157-Texinfo-7.2|Texinfo-7.2]] * [[158-Vim-9.1.1629|Vim-9.1.1629]] * [[159-MarkupSafe-3.0.2|MarkupSafe-3.0.2]] * [[160-Jinja2-3.1.6|Jinja2-3.1.6]] * [[161-Udev from Systemd-257.8|Udev from Systemd-257.8]] * [[162-Man-DB-2.13.1|Man-DB-2.13.1]] * [[163-Procps-ng-4.0.5|Procps-ng-4.0.5]] * [[167-Util-linux-2.41.1|Util-linux-2.41.1]] * [[168-E2fsprogs-1.47.3|E2fsprogs-1.47.3]] * [[169-Sysklogd-2.7.2|Sysklogd-2.7.2]] * [[170-SysVinit-3.14|SysVinit-3.14]] * [[171-About Debugging Symbols|디버깅 심벌]] * [[172-Stripping|스트리핑]] * [[173-Cleaning Up|정리]] == 9. 시스템 설정 == * [[175-Introduction|개요]] * [[176-LFS-Bootscripts-20250827|LFS-Bootscripts-20250827]] * [[177-Overview of Device and Module Handling|장치와 모듈 취급 방법]] * [[178-Managing Devices|장치 관리]] * [[179-General Network Configuration|일반적인 네트워크 설정]] * [[180-System V Bootscript Usage and Configuration|System V 부트 스크립트 사용법과 설정]] * [[181-Configuring the System Locale|시스템 로케일 설정]] * [[182-Creating the _etc_inputrc File|/etc/inputrc 파일 생성]] * [[183-Creating the _etc_shells File|/etc/shells 파일 생성]] == 10. LFS 시스템 부팅 설정 == * [[185-Introduction|개요]] * [[186-Creating the _etc_fstab File|/etc/fstab 파일 생성]] * [[187-Linux-6.16.1|Linux-6.16.1]] * [[188-Using GRUB to Set Up the Boot Process|GRUB 부팅 설정]] == 11. 마치며 == * [[190-The End|마치며]] * [[191-Get Counted|LFS 카운트 획득]] * [[192-Rebooting the System|시스템 부팅하기]] * [[193-Additional Resources|추가적인 자료]] * [[194-Getting Started After LFS|LFS 이후에 할 일]] === V. 부록 === * [[196-A. Acronyms and Terms|A. 약어와 용어]] * [[197-B. Acknowledgments|B. 감사의 글]] * [[198-C. Dependencies|C. 의존성]] * [[199-D. Boot and sysconfig scripts version-20250827|D. 부팅 및 시스템 설정 스크립트 version-20250827]] * [[200-_etc_rc.d_init.d_rc|/etc/rc.d/init.d/rc]] * [[201-_lib_lsb_init-functions|/lib/lsb/init-functions]] * [[202-_etc_rc.d_init.d_mountvirtfs|/etc/rc.d/init.d/mountvirtfs]] * [[203-_etc_rc.d_init.d_modules|/etc/rc.d/init.d/modules]] * [[204-_etc_rc.d_init.d_udev|/etc/rc.d/init.d/udev]] * [[205-_etc_rc.d_init.d_swap|/etc/rc.d/init.d/swap]] * [[206-_etc_rc.d_init.d_setclock|/etc/rc.d/init.d/setclock]] * [[207-_etc_rc.d_init.d_checkfs|/etc/rc.d/init.d/checkfs]] * [[208-_etc_rc.d_init.d_mountfs|/etc/rc.d/init.d/mountfs]] * [[209-_etc_rc.d_init.d_udev_retry|/etc/rc.d/init.d/udev_retry]] * [[210-_etc_rc.d_init.d_cleanfs|/etc/rc.d/init.d/cleanfs]] * [[211-_etc_rc.d_init.d_console|/etc/rc.d/init.d/console]] * [[212-_etc_rc.d_init.d_localnet|/etc/rc.d/init.d/localnet]] * [[213-_etc_rc.d_init.d_sysctl|/etc/rc.d/init.d/sysctl]] * [[214-_etc_rc.d_init.d_sysklogd|/etc/rc.d/init.d/sysklogd]] * [[215-_etc_rc.d_init.d_network|/etc/rc.d/init.d/network]] * [[216-_etc_rc.d_init.d_sendsignals|/etc/rc.d/init.d/sendsignals]] * [[217-_etc_rc.d_init.d_reboot|/etc/rc.d/init.d/reboot]] * [[218-_etc_rc.d_init.d_halt|/etc/rc.d/init.d/halt]] * [[219-_etc_rc.d_init.d_template|/etc/rc.d/init.d/template]] * [[220-_etc_sysconfig_modules|/etc/sysconfig/modules]] * [[221-_etc_sysconfig_createfiles|/etc/sysconfig/createfiles]] * [[222-_etc_sysconfig_udev-retry|/etc/sysconfig/udev-retry]] * [[223-_sbin_ifup|/sbin/ifup]] * [[224-_sbin_ifdown|/sbin/ifdown]] * [[225-_lib_services_ipv4-static|/lib/services/ipv4-static]] * [[226-_lib_services_ipv4-static-route|/lib/services/ipv4-static-route]] == E. Udev 설정 규칙 == * [[228-55-lfs.rules|55-lfs.rules]] == F. LFS 라이센스 == * [[230-Creative Commons License|Creative Commons License]] * [[231-The MIT License|The MIT License]] [[232-Index|색인]] [[:|상위]] \\ 전자수첩 [[https://www.gamu.kr/dokuwiki/linuxfromscratch/12.4/linux_from_scratch:start#beyond_linux_from_scratch|맨위로]] \\ 맨위로 [[.:001-preface|다음]] \\ 서문