LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lb

creates Debian live system images

TLDR

Initialize live build
$ lb config
copy
Build live image
$ lb build
copy
Clean build directory
$ lb clean
copy
Configure with options
$ lb config --distribution [bookworm] --archive-areas "main contrib"
copy
Build a specific image type
$ lb config --binary-images [iso-hybrid]
copy
Clean including cache
$ lb clean --cache
copy

SYNOPSIS

lb command [options]

DESCRIPTION

lb (live-build) creates Debian live system images. It builds bootable ISO, netboot, and HDD images.The tool supports customization of packages, configs, and hooks. It's the standard tool for Debian live images. By default, `lb clean` removes chroot, binary, and source stages but preserves the cache.

PARAMETERS

config

Initialize configuration.
build
Build live image.
clean
Clean build artifacts.
--distribution NAME
Target distribution.
--archive-areas AREAS
Repository areas (e.g. "main contrib non-free").
--binary-images TYPE
Image type: iso, iso-hybrid, netboot, tar, hdd.
--architecture ARCH
Target architecture (defaults to host architecture).
--bootappend-live PARAMS
Boot parameters for live system.
--cache
Clean cache directories (not cleaned by default).
--force
Force helper execution, even if stage file exists.
--quiet
Suppress output messages.
--verbose
Show detailed output.
--help
Display help information.

CAVEATS

Debian/Ubuntu specific. Root required. Disk space needed.

HISTORY

live-build was created by the Debian Live project for building customizable live system images.

SEE ALSO

Copied to clipboard
Kai