{"id":19368740,"url":"https://github.com/chaifeng/vagrant-lfs","last_synced_at":"2026-06-17T17:33:07.885Z","repository":{"id":71584889,"uuid":"295116617","full_name":"chaifeng/vagrant-lfs","owner":"chaifeng","description":"Automatically build our own GNU/Linux From Scratch","archived":false,"fork":false,"pushed_at":"2020-09-17T23:04:19.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T13:48:44.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaifeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-13T09:15:49.000Z","updated_at":"2023-06-25T14:01:10.000Z","dependencies_parsed_at":"2023-03-09T16:00:26.618Z","dependency_job_id":null,"html_url":"https://github.com/chaifeng/vagrant-lfs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chaifeng/vagrant-lfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-lfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-lfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-lfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-lfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaifeng","download_url":"https://codeload.github.com/chaifeng/vagrant-lfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-lfs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284742551,"owners_count":27056072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T08:08:08.098Z","updated_at":"2025-11-16T17:03:04.242Z","avatar_url":"https://github.com/chaifeng.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Our Own GNU/Linux From Scratch\n\n## Goal\n\nThe goal of this project is to automatically build our own basic GNU/Linux from scratch as easy as possible. \n\nThe [Linux From Scratch](https://www.linuxfromscratch) project released version 10.0. It's easier to use than previous versions, such as some tasks that can be ignored were removed. But we still have to enter hundreds of commands in 1 or 2 days. It's boring. By using this project, we can get our own GNU/Linux with just one command, and everything is compiled from source code.\n\n## Prerequisites\n\n- Vagrant\n- VirtualBox\n\n## Usage\n\n    git clone https://github.com/chaifeng/vagrant-lfs.git\n    cd vagrant-lfs\n    ./build.sh\n\nIt may take 7-15 hours to run. You will see a new VM up and run if everyting goes well. You will also find a disk file `lfs-disk-12G.vmdk` created in the project folder. This is the disk contains our own GNU/Linux.\n\nOr manually\n\n    git clone https://github.com/chaifeng/vagrant-lfs.git\n    cd vagrant-lfs\n    vagrant up\n    vagrant ssh -c \"/bin/bash /mnt/lfs/sources/lfs.sh\"\n\nIf the command fails, just re-execute it. Then creating a virtual machine using the disk file `lfs-disk-12G.vmdk` in the project folder.\n\nGood luck!\n\n# 用源码自动编译出自己的 GNU/Linux\n\n## 目标\n\n本项目的目标是尽可能简单地使用源码自动化构建出一个基本的 GNU/Linux。\n\nLinux From Scratch 刚刚发布了 10.0，与之前的版本相比，简化了一些不必要的过程。最典型的就是在现存系统上构建基本系统时，去掉了那些可以被忽略的测试验证。但我们仍然需要在1、2天内自己输入好几百条命令，真是太没劲了。使用这个项目，只需一个命令就能得到我们自己的 GNU/Linux，所有的东西都是从源码编译出来的。\n\n## 需求\n\n- Vagrant\n- VirtualBox\n\n## 使用方法\n\n    git clone https://github.com/chaifeng/vagrant-lfs.git\n    cd vagrant-lfs\n    ./build.sh\n\n可能需要7-15小时的执行，在我的机器上大约8个小时。如果一切顺利，你会看到一个名为 `lfs-10.0` 的虚拟机运行起来了。也会在项目目录中看到一个磁盘文件 `lfs-disk-12G.vmdk` 被创建出来了。这就是包含了我们自己的 GNU/Linux 的磁盘。\n\n或者手动执行\n\n    git clone https://github.com/chaifeng/vagrant-lfs.git\n    cd vagrant-lfs\n    vagrant up\n    vagrant ssh -c \"/bin/bash /mnt/lfs/sources/lfs.sh\"\n\n如果命令执行出错就直接重复执行。最后创建一个虚拟机，使用项目目录下的 `lfs-disk-12G.vmdk` 磁盘文件。\n\n祝好运！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaifeng%2Fvagrant-lfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaifeng%2Fvagrant-lfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaifeng%2Fvagrant-lfs/lists"}