{"id":21173349,"url":"https://github.com/introt/custom-debian-live-environment-scripts","last_synced_at":"2025-07-09T20:32:15.609Z","repository":{"id":192215659,"uuid":"121535694","full_name":"introt/custom-debian-live-environment-scripts","owner":"introt","description":"Scripts for easy creation of custom Debian live environments","archived":false,"fork":false,"pushed_at":"2018-05-29T07:24:04.000Z","size":37,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T06:51:12.528Z","etag":null,"topics":["chroot","debian","iso","livecd","liveusb","qemu"],"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/introt.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}},"created_at":"2018-02-14T16:50:37.000Z","updated_at":"2025-03-12T07:01:41.000Z","dependencies_parsed_at":"2023-09-03T12:37:03.301Z","dependency_job_id":"dc815e14-95ad-41fe-ae87-96cfd6194939","html_url":"https://github.com/introt/custom-debian-live-environment-scripts","commit_stats":null,"previous_names":["introt/custom-debian-live-environment-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/introt/custom-debian-live-environment-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/introt%2Fcustom-debian-live-environment-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/introt%2Fcustom-debian-live-environment-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/introt%2Fcustom-debian-live-environment-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/introt%2Fcustom-debian-live-environment-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/introt","download_url":"https://codeload.github.com/introt/custom-debian-live-environment-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/introt%2Fcustom-debian-live-environment-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502657,"owners_count":23618668,"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":["chroot","debian","iso","livecd","liveusb","qemu"],"created_at":"2024-11-20T16:36:06.937Z","updated_at":"2025-07-09T20:32:12.400Z","avatar_url":"https://github.com/introt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# custom-debian-live-environment-scripts\nScripts for easy custom Debian live environment creation (WIP)\n\nBased on Will Haley's article [Create a Custom Debian Live Environment (CD or USB)](https://willhaley.com/blog/custom-debian-live-environment/)\n\nYou might want to use this instead: [Xixer -  Docker based tool for Debian Live install to USB](https://github.com/jnalley/xixer)\n\n## How to use\n\nAll scripts have \"--help\" option describing usage and available options.\n\n### Usage example: from zero to ISO\n\nAssuming the scripts are in the current directory and you're using a Debian based distribution (tested on Ubuntu 16.04), you should be able to create your first ISO in N steps:\n\n1. `# ./chrootbootstrapper.sh --install-dependencies` installs the needed packages via apt-get\n\n2. `# ./chrootbootstrapper.sh -n rebiandemix-live -d /root/rebiandemix` creates a base Debian environment. Please use `-m` or `--mirror` to specify a mirror if you are not in the United States or if you know of a mirror closer to you. You can find the list of Debian mirrors from [here](https://www.debian.org/mirror/list).\n\n3. Chroot to your newly-created Debian environment: `# chroot /root/rebiandemix`\n\n4. **Inside the chroot:** Install a kernel: `# apt update \u0026\u0026 apt install linux-image-amd64` *Note: the default arch is amd64. See chrootbootstrapper.sh --help for setting a different arch.* **TODO: why isn't this automated in chrootbootstrapper.sh??**\n\n5. **Inside the chroot:** Set a root password: `# passwd`\n\n6. **Inside the chroot:** Now it'd be time for customization, but we don't cover that here: exit the chroot with `exit`\n\n7. `# ./chroot2iso.sh -d /root/rebiandemix -n \"Rebian Demix\" -o rebiandemix.iso` will turn the chroot into an ISO. Done and done.\n\nIf you followed this far, you should now have an ISO image at `/root/rebiandemix/rebiandemix.iso`. You can test the iso without burning it to a CD with QEMU (apt install qemu): `qemu-system-x86_64 -cdrom rebiandemix.iso -m 1G`. You should see something like this:\n\n![Rebian Demix bootloader in QEMU](https://raw.githubusercontent.com/masakoodaa/custom-debian-live-environment-scripts/master/screenshots/qemu-1.png \"Rebian Demix bootloader in QEMU\")\n\n![Logged in as root in the live environment](https://raw.githubusercontent.com/masakoodaa/custom-debian-live-environment-scripts/master/screenshots/qemu-2.png \"Logged in as root in the live environment\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrot%2Fcustom-debian-live-environment-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintrot%2Fcustom-debian-live-environment-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrot%2Fcustom-debian-live-environment-scripts/lists"}