Linux From Scratch
Version 6.6
Copyright © 1999-2010 Gerard Beekmans
Legal Notice
Copyright © 1999-2010, Gerard Beekmans
All rights reserved.
This book is licensed under a Creative Commons License.
Computer instructions may be extracted from the book under the MIT License.
Linux® is a registered trademark of Linus Torvalds.
- Preface
- I. Introduction
- II. Preparing for the Build
- 2. Preparing a New Partition
- 3. Packages and Patches
- 4. Final Preparations
- 5. Constructing a Temporary System
- 5.1. Introduction
- 5.2. Toolchain Technical Notes
- 5.3. General Compilation Instructions
- 5.4. Binutils-2.20 - Pass 1
- 5.5. GCC-4.4.3 - Pass 1
- 5.6. Linux-2.6.32.8 API Headers
- 5.7. Glibc-2.11.1
- 5.8. Adjusting the Toolchain
- 5.9. Binutils-2.20 - Pass 2
- 5.10. GCC-4.4.3 - Pass 2
- 5.11. Tcl-8.5.8
- 5.12. Expect-5.43.0
- 5.13. DejaGNU-1.4.4
- 5.14. Ncurses-5.7
- 5.15. Bash-4.1
- 5.16. Bzip2-1.0.5
- 5.17. Coreutils-8.4
- 5.18. Diffutils-2.8.1
- 5.19. Findutils-4.4.2
- 5.20. Gawk-3.1.7
- 5.21. Gettext-0.17
- 5.22. Grep-2.5.4
- 5.23. Gzip-1.4
- 5.24. M4-1.4.13
- 5.25. Make-3.81
- 5.26. Patch-2.6.1
- 5.27. Perl-5.10.1
- 5.28. Sed-4.2.1
- 5.29. Tar-1.22
- 5.30. Texinfo-4.13a
- 5.31. Stripping
- 5.32. Changing Ownership
- III. Building the LFS System
- 6. Installing Basic System Software
- 6.1. Introduction
- 6.2. Preparing Virtual Kernel File Systems
- 6.3. Package Management
- 6.4. Entering the Chroot Environment
- 6.5. Creating Directories
- 6.6. Creating Essential Files and Symlinks
- 6.7. Linux-2.6.32.8 API Headers
- 6.8. Man-pages-3.23
- 6.9. Glibc-2.11.1
- 6.10. Re-adjusting the Toolchain
- 6.11. Zlib-1.2.3
- 6.12. Binutils-2.20
- 6.13. GMP-5.0.0
- 6.14. MPFR-2.4.2
- 6.15. File-5.04
- 6.16. GCC-4.4.3
- 6.17. Sed-4.2.1
- 6.18. Pkg-config-0.23
- 6.19. Ncurses-5.7
- 6.20. Util-linux-ng-2.17
- 6.21. E2fsprogs-1.41.10
- 6.22. Coreutils-8.4
- 6.23. Iana-Etc-2.30
- 6.24. M4-1.4.13
- 6.25. Bison-2.4.1
- 6.26. Procps-3.2.8
- 6.27. Grep-2.5.4
- 6.28. Readline-6.1
- 6.29. Bash-4.1
- 6.30. Libtool-2.2.6b
- 6.31. GDBM-1.8.3
- 6.32. Inetutils-1.7
- 6.33. Perl-5.10.1
- 6.34. Autoconf-2.65
- 6.35. Automake-1.11.1
- 6.36. Bzip2-1.0.5
- 6.37. Diffutils-2.8.1
- 6.38. Gawk-3.1.7
- 6.39. Findutils-4.4.2
- 6.40. Flex-2.5.35
- 6.41. Gettext-0.17
- 6.42. Groff-1.20.1
- 6.43. GRUB-1.97.2
- 6.44. Gzip-1.4
- 6.45. IPRoute2-2.6.31
- 6.46. Kbd-1.15.1
- 6.47. Less-436
- 6.48. Make-3.81
- 6.49. Man-DB-2.5.6
- 6.50. Module-Init-Tools-3.11.1
- 6.51. Patch-2.6.1
- 6.52. Psmisc-22.10
- 6.53. Shadow-4.1.4.2
- 6.54. Sysklogd-1.5
- 6.55. Sysvinit-2.86
- 6.56. Tar-1.22
- 6.57. Texinfo-4.13a
- 6.58. Udev-151
- 6.59. Vim-7.2
- 6.60. About Debugging Symbols
- 6.61. Stripping Again
- 6.62. Cleaning Up
- 7. Setting Up System Bootscripts
- 7.1. Introduction
- 7.2. LFS-Bootscripts-20100124
- 7.3. How Do These Bootscripts Work?
- 7.4. Configuring the setclock Script
- 7.5. Configuring the Linux Console
- 7.6. Configuring the sysklogd Script
- 7.7. Creating the /etc/inputrc File
- 7.8. The Bash Shell Startup Files
- 7.9. Device and Module Handling on an LFS System
- 7.10. Creating Custom Symlinks to Devices
- 7.11. Configuring the localnet Script
- 7.12. Customizing the /etc/hosts File
- 7.13. Configuring the network Script
- 8. Making the LFS System Bootable
- 9. The End
- IV. Appendices
- A. Acronyms and Terms
- B. Acknowledgments
- C. Dependencies
- D. Boot and sysconfig scripts version-20100124
- D.1. /etc/rc.d/init.d/rc
- D.2. /etc/rc.d/init.d/functions
- D.3. /etc/rc.d/init.d/mountkernfs
- D.4. /etc/rc.d/init.d/consolelog
- D.5. /etc/rc.d/init.d/modules
- D.6. /etc/rc.d/init.d/udev
- D.7. /etc/rc.d/init.d/swap
- D.8. /etc/rc.d/init.d/setclock
- D.9. /etc/rc.d/init.d/checkfs
- D.10. /etc/rc.d/init.d/mountfs
- D.11. /etc/rc.d/init.d/udev_retry
- D.12. /etc/rc.d/init.d/cleanfs
- D.13. /etc/rc.d/init.d/console
- D.14. /etc/rc.d/init.d/localnet
- D.15. /etc/rc.d/init.d/sysctl
- D.16. /etc/rc.d/init.d/sysklogd
- D.17. /etc/rc.d/init.d/network
- D.18. /etc/rc.d/init.d/sendsignals
- D.19. /etc/rc.d/init.d/reboot
- D.20. /etc/rc.d/init.d/halt
- D.21. /etc/rc.d/init.d/template
- D.22. /etc/sysconfig/rc
- D.23. /etc/sysconfig/modules
- D.24. /etc/sysconfig/createfiles
- D.25. /etc/sysconfig/network-devices/ifup
- D.26. /etc/sysconfig/network-devices/ifdown
- D.27. /etc/sysconfig/network-devices/services/ipv4-static
- D.28. /etc/sysconfig/network-devices/services/ipv4-static-route
- E. Udev configuration rules
- F. LFS Licenses
- Index
- n
- Next Page
- p
- Previos Page
- h
- Book Home
- u
- Go Up One Level
- ?
- Press ? for Help
- esc
- Hide Help
Press '?' for keyboard shortcuts