Linux from Scratch HOWTO Linux from Scratch HOWTO
Total Page:16
File Type:pdf, Size:1020Kb
Linux From Scratch HOWTO Linux From Scratch HOWTO Table of Contents Linux From Scratch HOWTO...........................................................................................................................1 Gerard Beekmans ....................................................................................................................................1 1.Introduction...........................................................................................................................................1 2.Software packages you need to download............................................................................................1 3.Preparing the new system.....................................................................................................................1 4.Installing Sysvinit.................................................................................................................................2 5.Installing a kernel..................................................................................................................................2 6.Installing the GNU C and C++ Libraries..............................................................................................2 7.Installing the GNU C and C++ compilers............................................................................................2 8.Installing login utilities.........................................................................................................................2 9.Installing Vim.......................................................................................................................................3 10.Creating initial boot scripts.................................................................................................................3 11.Reinstalling statically linked software................................................................................................3 12.Installing the rest of the basic system software..................................................................................4 13.Setting up basic networking................................................................................................................4 14.Setting up Email sub system...............................................................................................................4 15.Installing Internet Servers...................................................................................................................4 16.Installing X Window System..............................................................................................................5 17.Installing Window Maker...................................................................................................................5 18.Configuring system for Internet..........................................................................................................5 19.Migrations from old to new setups.....................................................................................................5 20.Copyright & Licensing Information...................................................................................................6 1. Introduction..........................................................................................................................................6 1.1 What's this all about?.........................................................................................................................6 1.2 New versions......................................................................................................................................6 1.3 Version history...................................................................................................................................6 1.4 Current Projects.................................................................................................................................8 1.5 TODO................................................................................................................................................8 1.6 Mailinglists........................................................................................................................................8 Subscribing ................................................................................................................................8 Unsubscribing ............................................................................................................................9 1.7 Contact info........................................................................................................................................9 10. Creating initial boot scripts................................................................................................................9 10.1 Preparing the directories and master files........................................................................................9 10.2 Creating the reboot script...............................................................................................................10 10.3 Creating the halt script...................................................................................................................10 10.4 Creating the mountfs script............................................................................................................10 10.5 Creating the umountfs script..........................................................................................................11 10.6 Creating the sendsignals script.......................................................................................................11 10.7 Set file permissions and create symlinks.......................................................................................12 10.8 Creating the /etc/fstab file..............................................................................................................12 10.9 Testing the system.........................................................................................................................12 11. Reinstalling statically linked software.............................................................................................13 11.1 Reinstaling GCC−2.7.2.3...............................................................................................................13 11.2 Installing the Termcap library........................................................................................................13 11.3 Installing the Readline library........................................................................................................14 11.4 Reinstalling Bash...........................................................................................................................14 i Linux From Scratch HOWTO Table of Contents 11.5 Reinstalling Sysvinit......................................................................................................................14 11.6 Reinstalling Make..........................................................................................................................14 11.7 Reinstalling Sed.............................................................................................................................15 11.8 Reinstalling Shell Utils..................................................................................................................15 11.9 Reinstalling File Utils....................................................................................................................15 11.10 Reinstalling + Installing Util Linux.............................................................................................15 11.11 Reinstalling Text Utils.................................................................................................................16 11.12 Reinstalling Tar............................................................................................................................16 11.13 Reinstalling Gzip.........................................................................................................................17 11.14 Reinstalling Bison........................................................................................................................17 11.15 Installing Flex..............................................................................................................................17 11.16 Reinstalling Binutils....................................................................................................................17 11.17 Reinstalling Grep.........................................................................................................................17 11.18 Reinstalling Mawk.......................................................................................................................18 11.19 Reinstalling Find Utils.................................................................................................................18 11.20 Reinstalling Diff Utils..................................................................................................................18 11.21 Installing Less..............................................................................................................................18 11.22 Reinstalling Perl...........................................................................................................................18 11.23 Reinstalling M4............................................................................................................................19