MiniOS aims to provide users with a reliable, user-friendly portable system with a graphical interface. These scripts build a bootable MiniOS ISO image.
If you want to learn how to use MiniOS, there are several helpful resources to get you started.
On the official MiniOS website, you will find information about the different editions of the system and their features.
- Community Support: Access to forums and community resources for additional help and support.
- Edition Features: Comparison of features available in each edition.
- Download Links: Direct links to download ISO images of each version.
For the necessary information on how to use MiniOS, visit the official Wiki. Here you will find detailed instructions, guides, and tips on installing and configuring the system.
- Installation: Step-by-step guides on installing MiniOS in various ways.
- Configuration: Tips and recommendations on configuring the system to suit your needs.
- Customization: How to personalize MiniOS.
- Modules: Information on creating and using modules.
Using minios-live
, you can build the following configurations:
- Debian 10, Debian 12, Debian Unstable, and Ubuntu 22.04 with Xfce4 environment.
- Debian 12 with Fluxbox environment (analogous to Slax).
- Debian 12 with LXQT environment.
- It is advisable to use the latest version of Debian or Ubuntu for building.
⚠️ WARNING: Never run scripts from thelinux-live
folder directly. It will break your system.
To start the build process, use the following commands:
setup_host
- Install packages required for building on the host.build_bootstrap
- Install a minimal system usingdebootstrap
.build_chroot
- Install the remaining components required to start the system.build_live
- Build the SquashFS image.build_modules
- Build additional modules.build_iso
- Build the final ISO image.
./minios-live [start_cmd] [-] [end_cmd]
- start_cmd: The command to start from (optional).
- -: Execute all commands between
start_cmd
andend_cmd
. - end_cmd: The command to end with (optional).
-
Run all commands:
./minios-live -
-
Run from
build_bootstrap
tobuild_chroot
:./minios-live build_bootstrap - build_chroot
-
Run up to
build_chroot
:./minios-live - build_chroot
-
Run from
build_bootstrap
to the end:./minios-live build_bootstrap -
-
Run only
build_iso
:./minios-live build_iso
To build the system from the beginning, edit linux-live/config
and run:
./minios-live -
To build, change the parameters in the linux-live/config
file to select the desired option. This file allows you to configure various aspects of the build process, such as the distribution, desktop environment, and system settings. Key configuration options include:
- Distribution: Specifies the base distribution (e.g., Debian or Ubuntu) and its version.
- Architecture: Defines the target architecture (e.g., amd64, i386).
- Desktop Environment: Chooses the desktop environment (e.g., XFCE, Fluxbox).
- Package Variant: Selects the set of packages to include (e.g., standard, minimum).
- Kernel Options: Configures the kernel type and version.
- Localization: Sets the locale and timezone.
- User Settings: Configures default user and password.
- Build Options: Includes settings for module compression, union file system type, and ISO naming.
Install the necessary packages on the host system:
./minios-live setup_host
This command will ensure your host system has all the required tools and dependencies to proceed with the build.
Install a minimal system using debootstrap
:
./minios-live build_bootstrap
This step will create the initial file system with the basic Debian or Ubuntu system.
Install the remaining components required to start the system:
./minios-live build_chroot
This step adds additional software and configurations to the minimal system created in the previous step.
Create the SquashFS image:
./minios-live build_live
This step compresses the file system into a SquashFS image, which is used for the live environment.
Build the additional modules:
./minios-live build_modules
Modules in MiniOS are compressed SquashFS files that contain specific parts of the operating system. These modules can include the kernel, firmware, desktop environments, applications, and other components. Each module is built in sequence and can be updated or replaced independently. Here is an example of the modules included in MiniOS Standard:
- 00-core-amd64-zstd.sb: Core system files. Built using the
build_bootstrap
-build_live
commands. - 00-minios-amd64-zstd.sb: Essential MiniOS components.
- 01-kernel-6.1.90-mos-amd64-zstd.sb: Kernel modules.
- 02-firmware-amd64-zstd.sb: Firmware for various hardware components.
- 03-xorg-amd64-zstd.sb: Xorg display server, Blackbox window manager and xterm terminal emulator.
- 04-xfce-desktop-amd64-zstd.sb: XFCE desktop environment.
- 05-xfce-apps-amd64-zstd.sb: Applications for the XFCE environment.
- 06-firefox-amd64-zstd.sb: Firefox web browser.
The modules are built in sequence, and if a module is already built, it is skipped. The build_modules
command handles this process automatically.
Build the final ISO image:
./minios-live build_iso
This command generates the bootable ISO image that can be used to create bootable USB drives or CDs.
Created by crims0n. For more information, visit minios.dev.