Repository navigation
Managing Kernels
MiniOS Kernel Manager packages, inspects, activates, and removes kernel bundles for the modular MiniOS live system. A MiniOS kernel is a coordinated set: the kernel image, its initramfs, and the matching 01-kernel-<version>.sb module must stay together.
This workflow applies only to the live architecture. A native installation uses ordinary Debian or Ubuntu kernel packages, the normal initramfs tooling, and its installed bootloader instead.
The graphical MiniOS Kernel Manager and the minios-kernel CLI use the same backend. They can:
- list the packaged kernels and distinguish the running, active, and inactive versions;
- package a real versioned kernel from configured APT repositories;
- package a coherent set of local kernel
.debfiles; - optionally add selected drivers from the curated MiniOS DKMS catalog when packaging a repository kernel;
- build the matching MiniOS initramfs and SquashFS kernel module;
- stage completed bundles in the MiniOS kernel repository;
- activate a complete bundle for the next boot and update the supported bootloader configuration;
- remove an inactive packaged kernel.
Kernel Manager does not compile an arbitrary kernel source tree. If you need to change MiniOS kernel build inputs themselves, use the MiniOS source build workflow instead.
Launch it from the MiniOS application menu or run:
minios-kernel-managerThe application separates installed-kernel management from packaging. Repository kernels can be searched by package name or displayed kernel version. The package controls are unavailable when the detected MiniOS root is not writable.
Privileged backend operations use PolicyKit. The standalone minios-kernel CLI requires root for every command except help.
Choose Repository in the packaging view and select a real versioned kernel package, for example:
linux-image-6.12.107+deb13-amd64
Tracking metapackages such as linux-image-amd64 are not accepted as the package source. Repository mode uses the running system's configured APT sources, trust configuration, and package lists. Matching versioned split-kernel dependencies are resolved automatically when the distribution uses them.
The GUI does not run apt update just because package lists are old. Refresh them explicitly when needed, or use --force-update with the CLI.
Repository packaging can add selected drivers from the MiniOS 01-kernel DKMS catalog. The GUI shows compatible choices for the selected kernel; the CLI accepts a repeatable --dkms-driver option:
sudo minios-kernel package \
--repo linux-image-6.12.107+deb13-amd64 \
--dkms-driver rtl8821au \
-o /tmp/kernel-outputSelected drivers are built in an isolated overlay/chroot with matching headers. The backend verifies that the produced modules match the target kernel before including them and records driver provenance inside the bundle under /usr/share/minios/kernel-dkms/.
This is a curated compatibility feature, not a generic DKMS frontend. Manual local kernel packages do not expose driver selection because matching repository headers cannot be inferred reliably.
For a local kernel, supply all required .deb files from the same kernel build:
sudo minios-kernel package \
--deb linux-image.deb linux-modules.deb \
-o /tmp/kernel-outputDebian and Ubuntu can split one kernel across several packages. The backend checks that the supplied image, modules, base, and optional modules-extra packages form a coherent version instead of silently combining unrelated revisions.
Packaging produces the kernel image, initramfs, and SquashFS kernel module. Selected package metadata is retained inside the module under /usr/share/minios/kernel-dpkg/.
The default SquashFS compression is zstd. Other methods are offered only when the required tools are available; current support includes lz4, lzo, gzip, lzma, xz, and bzip2.
When a writable MiniOS root is detected and the requested output is elsewhere, the completed bundle is staged atomically into:
<MiniOS-root>/kernels/<version>/
Repository downloads are temporary build inputs and are removed after a completed or handled failed packaging operation. Local .deb inputs remain caller-owned.
If the running MiniOS initramfs advertises layered LUKS persistence, a replacement kernel must preserve the dm-crypt boot path. The generated initramfs is checked for the required cryptsetup support, dm-crypt module, and MiniOS crypto capability marker.
Packaging fails instead of producing a kernel bundle that would make an encrypted persistence session unbootable.
The management view distinguishes:
- RUNNING — the kernel executing in the current boot;
- ACTIVE — the complete bundle selected for the next boot;
- AVAILABLE — another packaged bundle in the MiniOS repository.
Activation requires a complete repository entry. It stages the kernel image, initramfs, active SquashFS module, active-version marker, and bootloader changes as one coordinated operation. GRUB configuration is required; native SYSLINUX configuration is updated when present. If activation fails, staged boot files are rolled back.
Activation changes the next boot only; it does not reboot the current system. Keep at least one known-good complete bundle until the replacement has booted successfully.
Delete only an inactive packaged kernel that you no longer need. Do not manually mix a kernel image, initramfs, or 01-kernel-*.sb from different bundles.
Typical commands are:
sudo minios-kernel list
sudo minios-kernel info
sudo minios-kernel info <version>
sudo minios-kernel status
sudo minios-kernel activate <version>
sudo minios-kernel delete <version>Package from a repository or local files:
sudo minios-kernel package --repo <versioned-package> -o /tmp/kernel-output
sudo minios-kernel package --repo <versioned-package> --force-update -o /tmp/kernel-output
sudo minios-kernel package --deb /path/to/kernel-image.deb /path/to/kernel-modules.deb -o /tmp/kernel-output
sudo minios-kernel package --repo <versioned-package> --sqfs-comp lz4 -o /tmp/kernel-outputAdd --json for structured output. Use the installed help and manual for the exact options provided by the running version:
minios-kernel --help
sudo minios-kernel package --help
man minios-kernelKernel Manager discovers the MiniOS content root instead of assuming a particular block-device name. Managed paths are relative to that root:
<MiniOS-root>/
├── 01-kernel-<version>.sb
├── boot/
│ ├── vmlinuz-<version>
│ ├── initrfs-<version>.img
│ └── active-kernel
└── kernels/
└── <version>/
├── 01-kernel-<version>.sb
├── vmlinuz-<version>
└── initrfs-<version>.img
The canonical runtime module path is /lib/modules/<version>. On usrmerged systems that resolves to /usr/lib/modules/<version>; older layouts can store it physically under /lib. Packaging refuses an already-present same-version module tree rather than mixing it with a different package revision.
If a newly activated kernel fails, boot a known-good complete MiniOS kernel set if one is still available. Do not repair the installation by copying individual kernel, initramfs, or SquashFS files from another image: those files form one coordinated bundle.
If no known-good complete bundle remains, boot trusted rescue media, preserve important data, and reinstall or restore the affected MiniOS installation. See Troubleshooting and Backing up MiniOS.
🌐 Languages
📋 Getting started
🚀 Installing MiniOS
- Installation methods
- Verifying downloads
- Installation tools
- Manual file-based installation
- MiniOS Installer
🖥️ Using MiniOS
⚙️ Preparing and customizing MiniOS
- Preconfiguring MiniOS
- Managing modules
- Managing kernels
- Creating custom MiniOS images
- Customizing the boot menu
🛡️ Maintenance and recovery
📖 Reference
- System architecture
- Boot process
- Boot parameters
- Configuration
- Package and edition contents
🛠️ Development
📋 Erste Schritte
🚀 MiniOS installieren
- Installationsmethoden
- Downloads verifizieren
- Installationswerkzeuge
- Manuelle dateibasierte Installation
- MiniOS-Installationsprogramm
🖥️ MiniOS verwenden
⚙️ MiniOS vorbereiten und anpassen
- MiniOS vorkonfigurieren
- Module verwalten
- Kernel verwalten
- Eigene MiniOS-Images erstellen
- Startmenü anpassen
🛡️ Wartung und Wiederherstellung
📖 Referenz
- Systemarchitektur
- Startvorgang
- Startparameter
- Konfiguration
- Paket- und Editionsinhalte
🛠️ Entwicklung
📋 Primeros pasos
🚀 Instalando MiniOS
- Métodos de instalación
- Verificación de descargas
- Herramientas de instalación
- Instalación manual basada en archivos
- Instalador de MiniOS
🖥️ Usar MiniOS
⚙️ Preparar y personalizar MiniOS
- Preconfiguración de MiniOS
- Gestión de módulos
- Gestión de kernels
- Creación de imágenes personalizadas de MiniOS
- Personalizar el menú de arranque
🛡️ Mantenimiento y recuperación
- Actualizar MiniOS
- Copia de seguridad de MiniOS
- Solución de problemas
- Seguridad
- Rendimiento
- Virtualización
📖 Referencia
- Arquitectura del sistema
- Proceso de arranque
- Parámetros de arranque
- Configuración
- Contenido de paquetes y ediciones
🛠️ Desarrollo
📋 Premiers pas
🚀 Installation de MiniOS
- Méthodes d'installation
- Vérification des téléchargements
- Outils d'installation
- Installation manuelle basée sur les fichiers
- Programme d’installation MiniOS
🖥️ Utiliser MiniOS
⚙️ Préparer et personnaliser MiniOS
- Préconfiguration de MiniOS
- Gestion des modules
- Gestion des noyaux
- Créer des images MiniOS personnalisées
- Personnaliser le menu de démarrage
🛡️ Maintenance et récupération
📖 Référence
- Architecture du système
- Processus de démarrage
- Paramètres de démarrage
- Configuration
- Contenu des paquets et éditions
🛠️ Développement
📋 Memulai
🚀 Menginstal MiniOS
- Metode instalasi
- Memverifikasi unduhan
- Alat instalasi
- Instalasi manual berbasis file
- Penginstal MiniOS
🖥️ Menggunakan MiniOS
⚙️ Menyiapkan dan menyesuaikan MiniOS
- Pra-konfigurasi MiniOS
- Mengelola modul
- Mengelola kernel
- Membuat citra MiniOS kustom
- Menyesuaikan menu boot
🛡️ Pemeliharaan dan pemulihan
📖 Referensi
- Arsitektur sistem
- Proses boot
- Parameter boot
- Konfigurasi
- Isi paket dan edisi
🛠️ Pengembangan
📋 Per iniziare
🚀 Installazione di MiniOS
- Metodi di installazione
- Verifica dei download
- Strumenti di installazione
- Installazione manuale basata su file
- Installatore MiniOS
🖥️ Usare MiniOS
⚙️ Preparare e personalizzare MiniOS
- Preconfigurazione di MiniOS
- Gestione dei moduli
- Gestione dei kernel
- Creazione di immagini MiniOS personalizzate
- Personalizzazione del menu di avvio
🛡️ Manutenzione e ripristino
- Aggiornamento di MiniOS
- Backup di MiniOS
- Risoluzione dei problemi
- Sicurezza
- Prestazioni
- Virtualizzazione
📖 Riferimento
- Architettura di sistema
- Processo di avvio
- Parametri di avvio
- Configurazione
- Contenuto di pacchetti ed edizioni
🛠️ Sviluppo
📋 Primeiros passos
🚀 Instalando o MiniOS
- Métodos de instalação
- Verificando downloads
- Ferramentas de instalação
- Instalação manual baseada em arquivos
- Instalador do MiniOS
🖥️ Usar MiniOS
⚙️ Preparando e personalizando o MiniOS
- Pré-configurando o MiniOS
- Gerenciando módulos
- Gerenciando kernels
- Criando imagens personalizadas do MiniOS
- Personalizando o menu de boot
🛡️ Manutenção e recuperação
- Atualizando o MiniOS
- Fazendo backup do MiniOS
- Solução de problemas
- Segurança
- Desempenho
- Virtualização
📖 Referência
- Arquitetura do sistema
- Processo de boot
- Parâmetros de boot
- Configuração
- Conteúdo dos pacotes e edições
🛠️ Desenvolvimento
📋 Начало работы
🚀 Установка MiniOS
- Методы установки
- Проверка загрузок
- Инструменты установки
- Ручная установка на основе файлов
- Установщик MiniOS
🖥️ Использование MiniOS
⚙️ Подготовка и настройка MiniOS
- Предварительная настройка MiniOS
- Управление модулями
- Управление ядрами
- Создание пользовательских образов MiniOS
- Настройка загрузочного меню
🛡️ Обслуживание и восстановление
- Обновление MiniOS
- Резервное копирование MiniOS
- Устранение неполадок
- Безопасность
- Производительность
- Виртуализация
📖 Справочник
- Архитектура системы
- Процесс загрузки
- Параметры загрузки
- Конфигурация
- Содержимое пакета и редакций
🛠️ Разработка