LFS Chinese Manual release: How to Build your own Linux distribution __linux

Source: Internet
Author: User
Tags bz2

Have you ever wanted to build your own Linux distribution? Every Linux user wants to do one of their own distributions, at least once, in the process of using Linux. I am no exception, as a Linux rookie, I have also considered the development of a Linux distribution. The issue of developing a Linux distribution from scratch is called Linux from Scratch (LFS).

Before I begin, I have summarized some of the contents of LFS, as follows:

1. Those who want to build their own Linux distributions should understand the difference between creating a Linux distribution (which means starting from scratch) and configuring an existing Linux distribution

If you just want to adjust the splash screen, customize the login page, and have a better look and feel. You can choose any Linux distribution and personalize it according to your preferences. In addition, there are many configuration tools that can help you.
If you want to package all the necessary files, boot loader and kernel, and choose what should be included, then compile all of these things on your own. Then all you need is the Linux from Scratch (LFS).
  Note: This guide is not for you if you only want to customize the appearance and experience of your Linux system. But if you really want to build a Linux distribution and learn how to get started and some other information, this guide is written for you.

2. The benefits of creating a Linux distribution (LFS) you will understand the internal working mechanism of Linux systems you will develop a flexible system that adapts to your needs the system you develop (LFS) will be very compact, because you have absolute control over what it contains/should not contain The system you are developing (LFS) is more secure

3. The disadvantage of creating a Linux distribution (LFS)

Building a Linux system means putting all the things you need together and compiling them. It takes a lot of checking, patience and time. And you need an available Linux system and enough disk space to build LFS.

4. Interestingly, Gentoo/gnu Linux is in some ways the closest to LFS. Gentoo and LFS are all custom Linux systems compiled completely from the source code.

5. You should be an experienced Linux user who has a good understanding of compiling packages, resolving dependencies, and is an expert in shell scripting.

Understanding a programming language (preferably the C language) will make things easier. But even if you are a novice, as long as you are a good learner, you can quickly grasp the knowledge, you can also start. The most important thing is not to lose your enthusiasm during the LFS process.
If you're not strong enough, I'm afraid I'll give up halfway through the LFS.

6. Now you need step-by-step instructions to build a Linux. The LFS Handbook is an official guide to creating LFS. Our collaboration site Tradepub has also produced a LFS guide for our readers, which is also free.

You can download the Linux from Scratch ebook from the link below:

Download: Linux from Scratch

7. The current LFS version is 7.7, divided into systemd and non-systemd versions.

LFS's official website is: http://www.linuxfromscratch.org/
You can browse the LFS and manuals for related projects like Blfs online, or you can download versions of different formats.

LFS (non-systemd version): PDF version:
Http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-7.7.pdf Single HTML version:
Http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-7.7-NOCHUNKS.html packaged multi-page HTML version:
http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-7.7.tar.bz2

LFS (systemd Version): PDF version:
Http://www.linuxfromscratch.org/lfs/downloads/7.7-systemd/LFS-BOOK-7.7-systemd.pdf Single HTML version:
Http://www.linuxfromscratch.org/lfs/downloads/7.7-systemd/LFS-BOOK-7.7-systemd-NOCHUNKS.html packaged multi-page HTML version:
http://www.linuxfromscratch.org/lfs/downloads/7.7-systemd/LFS-BOOK-7.7-systemd.tar.bz2

8. Linux China/LCTT translated a LFS manual (7.7,systemd version)

After the efforts of LCTT members, we finally completed the translation of the LFS 7.7 systemd version Manual.
Manual online Access address: https://linux.cn/lfs/LFS-BOOK-7.7-systemd/index.html.
Versions of other formats are available later.
Thanks to the Members who participated in the translation: Wxy, Ictlyh, Dongfengweixiao, zpl1025, H-mudcup, Yuking-net, KEVINSJ.

about: Linux from Scratch

The handbook was created by LFS project leader Gerard Beekmans, Matthew Burgess and Bruse Dubbs, both of whom were joint leaders in the LFS project. The book is extensive and has 338 pages.
The manual includes: Introducing LFS, preparing to build, building LFS, establishing startup scripts, enabling LFS to boot, and appendices. It covers everything in the LFS project that you want to know.
This manual also gives the estimated time to compile a package. The estimated time is used as a reference for compiling the time of the first package. Everything is presented in an easy-to-understand way, even for beginners.
If you have plenty of time and are really interested in building your own Linux distribution, you will never miss the opportunity to download this ebook (free download). All you need to do is follow this manual to start building your own Linux system in a working Linux system (any Linux distribution, enough disk space), giving you time and enthusiasm.
If Linux fascinates you, if you want to build your own Linux distribution yourself, this is all you should know at this stage, and other information you can refer to in the manual above.
Please let me know your experience of reading/using this manual, and this detailed LFS guide is simple enough to use. If you have built a LFS and want to give some advice to our readers, please comment and feedback.
Blfs stage, StartX after Firefox and other programs in Chinese all garbled problem solving http://www.linuxidc.com/Linux/2007-05/3789.htm
Build a complete Linux system from scratch with LFS http://www.linuxidc.com/Linux/2011-08/40706.htm
Based on Ubuntu 10.10 build lfs 6.7[Graphics and text] http://www.linuxidc.com/Linux/2011-02/32545.htm

via:http://www.tecmint.com/create-custom-linux-distribution-from-scratch/

Author: Avishek Kumar Translator: Wwy-hust proofreading: Wxy

This article by LCTT original translation, Linux China honor launch

This article permanently updates the link address: http://www.linuxidc.com/Linux/2015-07/119840.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.