DByteOS Boot Lifecycle
DByteOS uses a structured boot sequence to initialize the userland environment.
Sequence of Events§
- Host Launch: The user runs
dbyte run boot.dbyor launches the shell with the OS profile. - System Setup:
boot.dbyinitializes system variables and resets session logs. - Core Handover: Control is passed to
sys/init.dby. - Service Registry:
init.dbyreads the service registry and executes allAUTOSTARTservices. - System Readiness: The system writes a session marker (
tmp/.dbyteos_boot_touch) and displays the version banner plus a first-run guide.
Initialization Logic§
The initialization logic is encapsulated in sys/init.dby. It ensures that the system environment is consistent every time it starts.
Service Registry§
Services are registered in sys/init.dby. Current autostart services include:
notes: Personal notes manager.journal: Event logging system.
Customization§
Users can customize their environment via the .dbyterc file in the OS root. This file is executed by the shell upon startup and can be used to set aliases, toggle autopath, or run custom startup scripts.
First-run guide§
After boot, DByteOS suggests the shortest discovery path:
help
status
man <topic>
which <cmd>
Home | Alpha Status | Commands | Security
SOURCE: DBYTEOS_BOOT.md