Skip to content

Customizing the Boot Menu

crim50n edited this page Sep 30, 2026 · 4 revisions

Customizing the boot menu

MiniOS boot menus provide convenient entries for common live boot modes. This guide explains how to select and edit those entries.

Overview

MiniOS images can use GRUB or Syslinux depending on firmware, image layout, and build. Their menu graphs, editing keys, language handling, and available entries are not necessarily identical. The bootloader ultimately passes a kernel command line to the same initrd; see Boot modes for the resulting source, persistence, RAM-copy, and media-dependency behavior.

Boot Menu Options

The supplied image commonly presents these semantic choices, although titles, availability, order, and default selection can vary by image:

Menu choice Typical initrd selector Purpose
Start MiniOS perchdir=resume Try the default compatible session and permit replacement creation under the documented conditions.
Start a new session perchdir=new Create an additional numbered persistent session while keeping existing sessions unchanged.
Choose a saved session perchdir=ask Select an existing saved session interactively. Use Start a new session on empty storage.
Start without saving no persistence selector Use a temporary writable layer in RAM.
Run from RAM toram Copy the complete MiniOS data tree to RAM and try to detach the source.

These are selectors, not guarantees that storage is writable, a session is compatible, RAM is sufficient, or source media has detached. See Boot modes for behavior and combinations, Initrd persistence for selector edge cases, and Performance optimization for RAM and I/O tradeoffs.

How to Use the Boot Menu

Navigating the Menu

  • Use arrow keys to move between options
  • Press Enter to select an option
  • Press Esc to return to previous menu (in GRUB)
  • Automatic selection and timeout duration depend on the active menu configuration; some menus may wait indefinitely

Language Selection (GRUB)

If your MiniOS USB drive supports multiple languages:

  1. The first screen will show language options
  2. Select your preferred language
  3. The boot menu will appear in the selected language
  4. The selection can also pass locale settings to later startup, but it does not guarantee that every boot or application message is translated

Important: The multilingual menu overrides any locale settings specified in config.conf. The language selected in the boot menu takes precedence over pre-configured locale settings. See Configuration File and live-config for details about system configuration files.

Customizing Boot Options

Editing Boot Parameters Temporarily

You can modify boot options for a single boot session:

In GRUB:

  1. Select the menu option you want to modify
  2. Press 'e' to edit
  3. Navigate to the line starting with linux
  4. Add or modify parameters at the end of the line
  5. Press Ctrl+X or F10 to boot with your changes

In SYSLINUX:

  1. Select the menu option you want
  2. Press Tab before pressing Enter
  3. Add parameters to the command line that appears
  4. Press Enter to boot

Common Boot Parameter Modifications

  • debug - Show detailed boot messages (useful for troubleshooting)
  • toram=trim - Copy the filtered module set and limited required data to RAM
  • perchsize=2000 - Set session storage size to 2GB (adjust as needed)
  • locales=ru_RU.UTF-8 - Request a specific language/locale

For a complete list of available boot parameters, see Boot Parameters.

Configuration File Locations

On Your MiniOS USB Drive

  • GRUB configuration: /minios/boot/grub/grub.cfg
  • SYSLINUX configuration: /minios/boot/syslinux/syslinux.cfg
  • Boot images: /minios/boot/bootlogo.png
  • Language files: /minios/boot/grub/locale/

In Running System

  • Current boot parameters: /proc/cmdline
  • MiniOS data directory: /run/initramfs/memory/data/minios/

Editing Configuration Files

Warning: Only edit boot configuration files if you understand what you're doing. Incorrect changes can make your USB drive unbootable.

To edit GRUB configuration:

  1. Mount your MiniOS USB drive
  2. Navigate to /minios/boot/grub/
  3. Edit grub.cfg with a text editor
  4. Save and safely eject the USB drive

Common changes:

  • Modify the timeout directive used by the active GRUB or Syslinux menu
  • Change set default=0 to change default menu option
  • Add custom menu entries

🏠 Home

🌐 Languages

English

📋 Getting started

🚀 Installing MiniOS

🖥️ Using MiniOS

⚙️ Preparing and customizing MiniOS

🛡️ Maintenance and recovery

📖 Reference

🛠️ Development

de

📋 Erste Schritte

🚀 MiniOS installieren

🖥️ MiniOS verwenden

⚙️ MiniOS vorbereiten und anpassen

🛡️ Wartung und Wiederherstellung

📖 Referenz

🛠️ Entwicklung

es

📋 Primeros pasos

🚀 Instalando MiniOS

🖥️ Usar MiniOS

⚙️ Preparar y personalizar MiniOS

🛡️ Mantenimiento y recuperación

📖 Referencia

🛠️ Desarrollo

fr

📋 Premiers pas

🚀 Installation de MiniOS

🖥️ Utiliser MiniOS

⚙️ Préparer et personnaliser MiniOS

🛡️ Maintenance et récupération

📖 Référence

🛠️ Développement

id

📋 Memulai

🚀 Menginstal MiniOS

🖥️ Menggunakan MiniOS

⚙️ Menyiapkan dan menyesuaikan MiniOS

🛡️ Pemeliharaan dan pemulihan

📖 Referensi

🛠️ Pengembangan

it

📋 Per iniziare

🚀 Installazione di MiniOS

🖥️ Usare MiniOS

⚙️ Preparare e personalizzare MiniOS

🛡️ Manutenzione e ripristino

📖 Riferimento

🛠️ Sviluppo

pt-BR

📋 Primeiros passos

🚀 Instalando o MiniOS

🖥️ Usar MiniOS

⚙️ Preparando e personalizando o MiniOS

🛡️ Manutenção e recuperação

📖 Referência

🛠️ Desenvolvimento

ru

📋 Начало работы

🚀 Установка MiniOS

🖥️ Использование MiniOS

⚙️ Подготовка и настройка MiniOS

🛡️ Обслуживание и восстановление

📖 Справочник

🛠️ Разработка

Clone this wiki locally