{"id":13567484,"url":"https://github.com/ivandavidov/minimal-linux-script","last_synced_at":"2026-03-05T06:31:35.890Z","repository":{"id":53767502,"uuid":"60919315","full_name":"ivandavidov/minimal-linux-script","owner":"ivandavidov","description":"One script which generates live Linux ISO image with minimal effort. Based on the first published version of Minimal Linux Live: http://github.com/ivandavidov/minimal","archived":false,"fork":false,"pushed_at":"2022-06-14T12:15:00.000Z","size":51,"stargazers_count":233,"open_issues_count":2,"forks_count":74,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-05-26T12:12:04.525Z","etag":null,"topics":["linux","linux-kernel","minimal","operating-system","shell","shell-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivandavidov.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}},"created_at":"2016-06-11T17:28:57.000Z","updated_at":"2025-05-21T20:50:05.000Z","dependencies_parsed_at":"2022-09-12T20:51:12.721Z","dependency_job_id":null,"html_url":"https://github.com/ivandavidov/minimal-linux-script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivandavidov/minimal-linux-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivandavidov%2Fminimal-linux-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivandavidov%2Fminimal-linux-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivandavidov%2Fminimal-linux-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivandavidov%2Fminimal-linux-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivandavidov","download_url":"https://codeload.github.com/ivandavidov/minimal-linux-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivandavidov%2Fminimal-linux-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30112228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["linux","linux-kernel","minimal","operating-system","shell","shell-scripts"],"created_at":"2024-08-01T13:02:32.639Z","updated_at":"2026-03-05T06:31:35.863Z","avatar_url":"https://github.com/ivandavidov.png","language":"Shell","readme":"# Minimal Linux Script\n\nOne script which generates fully functional live Linux ISO image with minimal effort. This is based on the first published version of [Minimal Linux Live](http://github.com/ivandavidov/minimal) with some improvements taken from the next releases. All empty lines and comments have been removed and the script has been modified to reduce the overall length.\n\nThe script below uses **Linux kernel 4.19.12**, **BusyBox 1.29.3** and **Syslinux 6.03**. The source bundles are downloaded and compiled automatically. If you are using [Ubuntu](http://ubuntu.com) or [Linux Mint](http://linuxmint.com), you should be able to resolve all build dependencies by executing the following command:\n\n    sudo apt install wget make gawk gcc bc bison flex xorriso libelf-dev libssl-dev\n\nAfter that simply run the below script. It doesn't require root privileges. In the end you should have a bootable ISO image named `minimal_linux_live.iso` in the same directory where you executed the script.\n\n    wget http://kernel.org/pub/linux/kernel/v4.x/linux-4.19.12.tar.xz\n    wget http://busybox.net/downloads/busybox-1.29.3.tar.bz2\n    wget http://kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.xz\n    mkdir isoimage\n    tar -xvf linux-4.19.12.tar.xz\n    tar -xvf busybox-1.29.3.tar.bz2\n    tar -xvf syslinux-6.03.tar.xz\n    cd busybox-1.29.3\n    make distclean defconfig\n    sed -i \"s|.*CONFIG_STATIC.*|CONFIG_STATIC=y|\" .config\n    make busybox install\n    cd _install\n    rm -f linuxrc\n    mkdir dev proc sys\n    echo '#!/bin/sh' \u003e init\n    echo 'dmesg -n 1' \u003e\u003e init\n    echo 'mount -t devtmpfs none /dev' \u003e\u003e init\n    echo 'mount -t proc none /proc' \u003e\u003e init\n    echo 'mount -t sysfs none /sys' \u003e\u003e init\n    echo 'setsid cttyhack /bin/sh' \u003e\u003e init\n    chmod +x init\n    find . | cpio -R root:root -H newc -o | gzip \u003e ../../isoimage/rootfs.gz\n    cd ../../linux-4.19.12\n    make mrproper defconfig bzImage\n    cp arch/x86/boot/bzImage ../isoimage/kernel.gz\n    cd ../isoimage\n    cp ../syslinux-6.03/bios/core/isolinux.bin .\n    cp ../syslinux-6.03/bios/com32/elflink/ldlinux/ldlinux.c32 .\n    echo 'default kernel.gz initrd=rootfs.gz' \u003e ./isolinux.cfg\n    xorriso \\\n        -as mkisofs \\\n        -o ../minimal_linux_live.iso \\\n        -b isolinux.bin \\\n        -c boot.cat \\\n        -no-emul-boot \\\n        -boot-load-size 4 \\\n        -boot-info-table \\\n        ./\n    cd ..\n\nNote that this script produces very small live Linux OS with working shell only and no network support. The network functionality has been implemented properly in the [Minimal Linux Live](http://github.com/ivandavidov/minimal) project which is extensively documented and more feature rich, yet still produces very small live Linux ISO image.\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivandavidov%2Fminimal-linux-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivandavidov%2Fminimal-linux-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivandavidov%2Fminimal-linux-script/lists"}