{"id":15067267,"url":"https://github.com/sajalkmr/tiny-linux-build","last_synced_at":"2026-01-03T00:06:06.229Z","repository":{"id":221870996,"uuid":"755580442","full_name":"sajalkmr/tiny-linux-build","owner":"sajalkmr","description":"Baremetal Linux system with a custom-built kernel and BusyBox","archived":false,"fork":false,"pushed_at":"2024-02-16T09:09:53.000Z","size":13068,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T16:23:34.989Z","etag":null,"topics":["busybox","kernel","linux","linux-kernel"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sajalkmr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-02-10T16:40:05.000Z","updated_at":"2024-08-11T09:17:09.000Z","dependencies_parsed_at":"2024-09-29T11:53:53.415Z","dependency_job_id":null,"html_url":"https://github.com/sajalkmr/tiny-linux-build","commit_stats":null,"previous_names":["sajalkmr/tiny-linux-build"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2Ftiny-linux-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2Ftiny-linux-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2Ftiny-linux-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2Ftiny-linux-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sajalkmr","download_url":"https://codeload.github.com/sajalkmr/tiny-linux-build/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822309,"owners_count":20353499,"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","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":["busybox","kernel","linux","linux-kernel"],"created_at":"2024-09-25T01:18:57.056Z","updated_at":"2026-01-03T00:06:06.201Z","avatar_url":"https://github.com/sajalkmr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Baremetal minimal Linux Build with Busybox\r\n\r\n\r\n## Components\r\n\r\n- **Linux Kernel (configurable):** The heart of the operating system.\r\n- **Busybox (configurable):** A suite of standard UNIX/Linux utilities combined into a single, statically-linked executable.\r\n\r\n## Prerequisites\r\n\r\n- A Linux or Unix-like environment (I built it on Arch WSL btw)\r\n- Build essentials:\r\n  - `make`\r\n  - `gcc` (or another compiler if cross-compiling)\r\n  - `wget`\r\n  - `tar`\r\n  - `cpio`\r\n  - `musl-gcc` (for a statically linked Busybox build)\r\n- Run this (on Arch):\r\n  - `sudo pacman -S bc make gcc wget tar cpio \u0026\u0026 yay -S musl-gcc`\r\n\r\n## Getting started\r\n\r\n1. **Clone the repository:**\r\n\r\n   ```bash\r\n   git clone https://github.com/sajalkmr/tiny-linux-build\r\n\r\n2. **Customize (optional):**\r\n  Edit the build_minimal_linux.sh script to adjust the KERNEL_VERSION and BUSYBOX_VERSION if desired.\r\n\r\n3. **Execute the build script:**\r\n\r\n   ```bash\r\n   sudo ./busybox.sh\r\n\r\n3. **Running:**\r\n   - **bzImage:** The compiled Linux kernel image.\r\n   - **initrd.img:** The initial RAM disk containing Busybox and basic system setup.\r\n\r\n4. **Booting with QEMU (example):**\r\n   ```bash\r\n   qemu-system-x86_64 -kernel bzImage -initrd initrd.img -nographic -append \"console=ttyS0\"\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajalkmr%2Ftiny-linux-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajalkmr%2Ftiny-linux-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajalkmr%2Ftiny-linux-build/lists"}