关于
用于构建 Linux From Scratch 系统的 Docker 配置。
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Description
This repository contains docker configuration to build bootable iso image with Linux From Scratch 8.2.
Status
At the moment, I don't have plans to update scripts to the latest LFS versions. However, pull requests are welcomed.
Why
General idea is to learn Linux by building and running LFS system in isolation from the host system.
Structure
Scripts are organized in the way of following book structure whenever it makes sense. Some deviations are done to make a bootable iso image.
Build
Use the following command:
docker rm lfs && \
docker build --tag lfs:8.2 . && \
sudo docker run -it --privileged --name lfs lfs:8.2 && \
sudo docker cp lfs:/tmp/lfs.iso .
# Ramdisk you can find here: /tmp/ramdisk.img
Please note, that extended privileges are required by docker container in order to execute some commands (e.g. mount).
Usage
Final result is bootable iso image with LFS system which, for example, can be used to load the system inside virtual machine (tested with VirtualBox).
Troubleshooting
If you have problems with master branch, please try to use stable version from the latest release with toolchain from archive.
License
This work is based on instructions from Linux from Scratch project and provided with MIT license.
探索相关项目
加载中…