Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbugni/debian-remix

Debian live system
https://github.com/mbugni/debian-remix

bootable-live-cd debian flatpak linux-desktop

Last synced: about 2 months ago
JSON representation

Debian live system

Awesome Lists containing this project

README

        

# Debian Remix

## Purpose
This project is a Debian remix (like a [Debian Live][01]) and aims to offer a complete system for multipurpose usage with localization support. You can [download a live image][02] and try the software, and then install it in your PC if you want.
You can also customize the image starting from available scripts.

Main goals of this remix are:
* Flatpak apps usage
* adding common extra-repos
* supporting printers and scanners

## How to build the LiveCD
[See a detailed description][03] about how to build the live media.

### Prepare the working directories
Clone the project into your `` to get sources:

```shell
$ git clone https://github.com/mbugni/debian-remix.git /
```

Choose or create a `` folder where to put results.

### Prepare the build container
Install Podman:

```shell
$ sudo apt --assume-yes install podman containers-storage fuse-overlayfs
```

Create the container for the build enviroment:

```shell
$ sudo podman build --file=//Containerfile --tag=livebuild:deb12
```

Initialize the container by running an interactive shell:

```shell
$ sudo podman run --privileged --network=host -it \
--volume=/:/live/source:ro --volume=/:/live/target \
--name=livebuild-deb12 --hostname=livebuild-deb12 livebuild:deb12 /usr/bin/bash
```

The container can be reused and upgraded multiple times. See [Podman docs][06] for more details.

To enter again into the build container:

```shell
$ sudo podman start -ia livebuild-deb12
```

### Build the image
First, start the build container if not running:

```shell
$ sudo podman start livebuild-deb12
```

Choose a variant (eg: KDE workstation with italian support) that corresponds to a profile (eg: `Workstation-it_IT`).

Available profiles/variants are:
* `Minimal` (console only, mainly for testing)
* `Desktop` (minimal KDE environment with basic tools)
* `Workstation` (KDE environment with more features like printing and scanning support)

For each variant you can append `-it_IT` to get italian localization (eg: `Desktop-it_IT`).

Build the .iso image by running the `kiwi-ng` command:

```shell
$ sudo podman exec livebuild-deb12 kiwi-ng --profile=Workstation-it_IT --type=iso \
--shared-cache-dir=/live/target/cache system build \
--description=/live/source/kiwi-descriptions --target-dir=/live/target
```

The build can take a while (30 minutes or more), it depends on your machine performances.

Remove unused resources when don't need anymore:

```shell
$ sudo podman container rm --force livebuild-deb12
$ sudo podman image rm livebuild:deb12
```

## Transferring the image to a bootable media
You can use a tool like [Ventoy][07] to build multiboot USB devices, or simply transfer the image to a single
USB stick using the `dd` command:

```shell
$ sudo dd if=//Debian-Remix.x86_64-.iso of=/dev/
```

## Post-install tasks
After installation, remove live system resources to save space by running:

```shell
$ source /usr/local/libexec/remix/livesys-cleanup
```

## ![Bandiera italiana][04] Per gli utenti italiani
Questo è un remix di Debian (analogo ad un [Debian Live][01]) con il supporto in italiano per lingua e tastiera. Nell'[immagine .iso][02] che si ottiene sono già installati i pacchetti e le configurazioni per il funzionamento in italiano delle varie applicazioni (come l'ambiente grafico, i repo extra etc).

Il remix ha come obiettivi principali:
* utilizzo delle applicazioni Flatpak
* aggiunta dei repository comuni
* supporto per stampanti e scanner

## Change Log
All notable changes to this project will be documented in the [`CHANGELOG.md`](CHANGELOG.md) file.

The format is based on [Keep a Changelog][05].

[01]: https://www.debian.org/devel/debian-live/
[02]: https://github.com/mbugni/debian-remix/releases
[03]: https://osinside.github.io/kiwi
[04]: http://flagpedia.net/data/flags/mini/it.png
[05]: https://keepachangelog.com/
[06]: https://docs.podman.io/
[07]: https://www.ventoy.net/