Skip to content

Introduction and Goals

LibreToy is a free alternative with reproducible builds for the core functionality of Ventoy: a stick that boots images copied onto it.

Requirements Overview

ID Requirement
F1 The stick boots on BIOS and UEFI machines.
F2 The boot menu finds images copied onto the stick and offers them as boot options.
F3 The minimal deliverable carries the boot partition and the bootloader only, and stays as small as possible. It is grown to the device size from the host after copying.
F4 The full deliverable adds a kernel and an initrd that, at boot,
F4.1 repartition the stick according to a declarative configuration,
F4.2 offer images published by the maintainers by URL and hash for download,
F4.3 evaluate Nix flakes, so NixOS-based systems can be set up.

Quality Goals

Priority Goal Motive
1 Freedom Free replacement for the core functionality of Ventoy, 100% open source.
2 Reproducibility Builds can be repeated; hashes and signatures can be published.
3 Boot compatibility The stick boots on BIOS and UEFI machines.
4 Minimal footprint The minimal image stays as small as possible.

Stakeholders

Role Expectation
LibreToy developer Reproducible builds, stable interfaces.
Distributor (currently Gradient CI) Builds and publishes images.
User A stick that boots and offers images.

Depending on how a stick was obtained, the user has to trust different parties. Whoever builds locally only trusts the sources and their dependencies. Whoever uses a ready-made image additionally trusts the distributor. Reproducible builds with published hashes and signatures decouple that trust from the CI system and from where the images are hosted.