From subsecret
(Created page with "=Building Linux from scratch= This is a guide on how to build an entire linux system from scratch. '''Prerequisites:''' Linux installation on same architecture as the one yo...") |
No edit summary |
||
Line 21: | Line 21: | ||
==Testing new environment== | ==Testing new environment== | ||
*[[Trying tools in clean environment]] | *[[Trying tools in clean environment]] | ||
*[[Installing tar, pcre, grep]] | *[[Installing tar, pcre, grep]] | ||
*[[Installing gzip, bzip2, make]] | *[[Installing gzip, bzip2, make]] | ||
==Finishing building the tools== | |||
*[[Installing sed, findutils, gawk]] | *[[Installing sed, findutils, gawk]] | ||
*[[Installing patch, ncurses, nano]] | *[[Installing patch, ncurses, nano]] |
Revision as of 12:51, 9 May 2013
Building Linux from scratch
This is a guide on how to build an entire linux system from scratch.
Prerequisites: Linux installation on same architecture as the one you want to build Linux from scratch for. A working version of GCC. Files needed for guide
Using the guide: All steps have to be followed in the order they are for the program dependencies to work. However after finishing the building of the tools, you can add more tools yourself.
Building tools (stage 1)
- Creating build directory
- Installing Kernel libraries
- Installing libcap, glibc
- Installing libelf, MPC, GMP, MPFR, GCC
Building tools (stage 2)
Building tools (stage 3)
Testing new environment
Finishing building the tools
- Installing sed, findutils, gawk
- Installing patch, ncurses, nano
- Installing gdbm, db, perl
- Installing the rest