Linux From Scratch

Free Download

Authors:

Edition: version 4.0

Size: 846 kB (866035 bytes)

Pages: 275/275

File format:

Language:

Publishing Year:

Category:

Beekmans G.

This book is intended for Linux users who want to learn more about the inner workings of Linux and how the various pieces of the Operating System fit together. This book will guide you step-by-step in creating your own custom build Linux system from scratch, using the source code of the software that we need. This book is also intended for Linux users who want to get away from the existing commercial and free distributions that are often too bloated. Using existing distributions also forces you to use the file system structure, boot script structure, etc. that they choose to use. With this book you can create your own structures and methods in exactly the way you like them (which can be based on the ones this book provides) Also, if you have security concerns, you don’t want to rely on pre-compiled packages. So instead, you want to compile all programs from scratch and install them yourself. That could be another reason why you would want to build a custom made Linux system.

Table of contents :
Table of Contents……Page 2
Who would want to read this book……Page 16
Part III – Appendixes……Page 17
I. Part I – Introduction……Page 18
Acknowledgments……Page 19
Conventions used in this book……Page 20
HTTP Mirrors……Page 21
FTP Mirrors……Page 22
Changelog……Page 23
lfs-announce……Page 28
Mail archives……Page 29
Other list modes……Page 30
Contact information……Page 31
About SBUs……Page 32
How to install the software……Page 33
Things to mention……Page 34
II. Part II – Installing the LFS system……Page 35
Packages that need to be downloaded……Page 37
Creating a file system on the new partition……Page 41
Mounting the new partition……Page 42
Why do we use static linking?……Page 43
Install all software as an unprivileged user……Page 44
Installation of Bash……Page 45
Contents of Bash……Page 46
Command explanations……Page 47
Contents of Binutils……Page 48
Contents of Bzip2……Page 50
Installing Diffutils-2.8.1……Page 51
Diffutils Installation Dependencies……Page 52
Contents of Fileutils……Page 53
Installing Findutils-4.1……Page 55
Contents of Findutils……Page 56
Contents of Gawk……Page 57
Installation of GCC……Page 58
Contents of GCC……Page 59
Contents of Grep……Page 61
Contents of Gzip……Page 62
Installation of Make……Page 63
Command explanations……Page 64
Contents of Sed……Page 65
Contents of Sh-utils……Page 66
Sh-utils Installation Dependencies……Page 69
Installing Texinfo-4.2……Page 70
Texinfo Installation Dependencies……Page 71
Contents of Textutils……Page 72
Installation of Util-linux……Page 74
Util-linux Installation Dependencies……Page 75
About debugging symbols……Page 76
Creating directories……Page 77
Mounting the proc file system……Page 78
Creating the passwd and group files……Page 79
Contents of MAKEDEV……Page 80
Command explanations……Page 81
Contents of Linux……Page 82
Installing Glibc-2.2.5……Page 83
Installation of Glibc……Page 84
Contents of Glibc……Page 85
Installation of GCC……Page 90
Contents of GCC……Page 91
GCC Installation Dependencies……Page 92
Installing Findutils……Page 93
Contents of Findutils……Page 94
Contents of Gawk……Page 95
Installation of Ncurses……Page 96
Contents of Ncurses……Page 97
Ncurses Installation Dependencies……Page 98
Contents of Vim……Page 99
Installation of Bison……Page 101
Contents of Bison……Page 102
Contents of Less……Page 103
Contents of Groff……Page 104
Contents of Textutils……Page 107
Sed Installation Dependencies……Page 110
Contents of Flex……Page 111
Command explanations……Page 112
Contents of Binutils……Page 113
Contents of Fileutils……Page 115
Installation of Sh-utils……Page 117
Contents of Sh-utils……Page 118
Contents of Gettext……Page 121
Installation of Net-tools……Page 124
Contents of Net-tools……Page 125
Contents of Perl……Page 126
Contents of Linux threads man pages……Page 130
M4 Installation Dependencies……Page 131
Contents of Texinfo……Page 132
Contents of Autoconf……Page 133
Contents of Automake……Page 134
Contents of Bash……Page 136
File Installation Dependencies……Page 137
Libtool Installation Dependencies……Page 138
Contents of Bin86……Page 139
Contents of Bzip2……Page 140
Bzip2 Installation Dependencies……Page 141
Ed Installation Dependencies……Page 142
Contents of Kbd……Page 143
Installation of Diffutils……Page 145
Installation of E2fsprogs……Page 146
Contents of E2fsprogs……Page 147
Installation of Grep……Page 149
Installation of Gzip……Page 150
Contents of Gzip……Page 151
Contents of Man……Page 152
Installation of Lilo……Page 153
Installing Make-3.79.1……Page 154
Installation of Modutils……Page 155
Contents of Modutils……Page 156
Contents of Netkit-base……Page 157
Installing Procinfo-18……Page 158
Installing Procps-2.0.7……Page 159
Contents of Procps……Page 160
Procps Installation Dependencies……Page 161
Contents of Psmisc……Page 162
Command explanations……Page 163
Contents of Shadow……Page 164
Installing Sysvinit-2.84……Page 167
Contents of Sysvinit……Page 168
Sysvinit Installation Dependencies……Page 169
Tar Installation Dependencies……Page 170
Contents of Util-linux……Page 171
Installation of LFS-Bootscripts……Page 176
Contents of LFS-bootscripts……Page 177
Configuring Vim……Page 178
Configuring Dynamic Loader……Page 179
Configuring Sysvinit……Page 180
Creating the /var/run/utmp, /var/log/wtmp and /var/log/btmp files……Page 181
Creating root password……Page 182
How does the booting process with these scripts work?……Page 183
Configuring the sysklogd script……Page 184
Creating the /etc/hosts file……Page 185
Creating network interface configuration files……Page 186
Installing Linux-2.4.19……Page 187
Making the LFS system bootable……Page 188
Rebooting the system……Page 190
Introduction……Page 191
Contents of Autoconf……Page 192
Contents of Automake……Page 193
Contents of Bash……Page 195
Contents of Bin86……Page 196
Contents of Binutils……Page 197
Contents of Bison……Page 199
Bzip2……Page 200
Contents of Bzip2……Page 201
Diffutils Installation Dependencies……Page 202
Contents of E2fsprogs……Page 203
Contents of Ed……Page 205
File Installation Dependencies……Page 206
Contents of Fileutils……Page 207
Contents of Findutils……Page 209
Contents of Flex……Page 210
Contents of Gawk……Page 211
Contents of GCC……Page 212
Contents of Gettext……Page 214
Contents of Glibc……Page 217
Contents of Grep……Page 222
Contents of Groff……Page 223
Contents of Gzip……Page 226
Contents of Kbd……Page 227
LFS-Bootscripts……Page 230
Contents of LFS-bootscripts……Page 231
Official Download Location……Page 232
Contents of Lilo……Page 233
Contents of Linux……Page 234
M4 Installation Dependencies……Page 235
Contents of MAKEDEV……Page 236
Contents of Man……Page 237
Man-pages Installation Dependencies……Page 238
Contents of Modutils……Page 239
Contents of Ncurses……Page 240
Netkit-base Installation Dependencies……Page 242
Contents of Net-tools……Page 243
Contents of Patch……Page 244
Contents of Perl……Page 245
Procinfo Installation Dependencies……Page 249
Contents of Procps……Page 250
Contents of Psmisc……Page 251
Contents of Sed……Page 252
Contents of Shadow……Page 253
Contents of Sh-utils……Page 256
Official Download Location……Page 259
Contents of Sysvinit……Page 260
Contents of Tar……Page 262
Contents of Texinfo……Page 263
Contents of Textutils……Page 264
Official Download Location……Page 266
Contents of Util-linux……Page 267
Contents of Vim……Page 272
Zlib Installation Dependencies……Page 274
Other……Page 275

Reviews

There are no reviews yet.

Be the first to review “Linux From Scratch”
Shopping Cart
Scroll to Top