# Linux From Scratch(LFS)

[linux from scratch](http://www.linuxfromscratch.org/)是一个提供如何一步步构建自己定制的Linux的项目。没有任何二进制发行版，只有文档指南。

很多人奇怪为何我们要经历重重困难从头开始构建Linux系统而不是直接下载一个已经存在的Linux发行版。以下是一些理由：

* LFS教会你Linux系统如何工作
* 构建LFS可以生成一个非常精巧的Linux系统
* LFS具备扩展性
* LFS提供了附加的安全

LFS的Version 7.7-systemd有[简体中文版](https://linux.cn/lfs/LFS-BOOK-7.7-systemd/)可供参考以及快速浏览入门，我的实践是采用[Development LFS systemd](http://www.linuxfromscratch.org/lfs/view/systemd/)开发版本，以便能够探索最新的软件包技术。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/os/linux/lfs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
