π§ System Architecture
MOS is designed as a lightweight, USB-based operating system.
π Runs in RAMβ
After boot, the MOS system runs entirely in RAM.
The USB stick is used only for:
- Bootloader
- Base system image
- Updates
The active system itself is not permanently written to disk during runtime.
πΎ What Does This Mean?β
Any changes made:
- Outside configured storage
- Outside persistent mount points
- Inside temporary system paths
will not survive a reboot.
This includes manually created directories in locations such as:
/root
/home
/tmp
/var
Unless they are part of a persistent storage mount.
π Use Persistent Storage Pathsβ
When creating folders, storing data, or configuring services, always use:
- Mounted disks
- Pools
- Configured storage locations
- Relative paths within persistent storage
Example (recommended):
/mnt/cache/appdata/
πΎ What Is Stored on the USB Stick?β
The MOS USB device is not only used for booting.
It also stores:
- βοΈ System configuration
- π WebUI settings
- π Plugin state and configuration
- π Network configuration
- π Update data
These MOS-managed configurations are persistent across reboots.
π Why MOS Works This Wayβ
MOS is designed for:
- π Power-efficient homelabs
- π½ USB-based deployment
- π§Ό Clean and reproducible system state
- π Safe upgrades
Running from RAM ensures:
- Reduced disk wear
- Fast boot times
- Clean system state after reboot
β οΈ Common Confusionβ
If folders disappear after reboot, they were most likely created in a non-persistent location.
MOS itself preserves its configuration β but user-created data must be stored on proper storage devices.
Parts of this documentation were created with the assistance of AI tools. All AI-generated content has undergone review, but it may still contain inaccuracies, omissions, or outdated information.