DOCUMENTATION / V1.0.0 LTS

Installation and Usage Guide

A single, practical path from toolchain setup to a working kernel session.

Audience: new contributors, testers, and operators who want a reliable way to build, run, and validate OrbitOne OS.

What This Guide Covers

Prerequisites

Make sure the following tools are available:

Quick check:

rustc --version
cargo --version
qemu-system-x86_64 --version

Install the Toolchain

cargo install bootimage

Build the Kernel

Run the build from the repository root:

cargo bootimage

Expected image:

Run the Kernel

Option 1: Standard workflow

cargo run

Option 2: Interactive QEMU session

cargo bootimage
qemu-system-x86_64 -drive format=raw,file=target/x86_64-OrbitOne/debug/bootimage-OrbitOne.bin -serial stdio

Option 3: Headless serial-only session

qemu-system-x86_64 -drive format=raw,file=target/x86_64-OrbitOne/debug/bootimage-OrbitOne.bin -serial stdio -display none

Note: The shell is interactive only when QEMU has keyboard focus. The -display none mode is useful for logs and automation, but not for direct console input.

First Boot Checklist

When the system starts, look for:

If all four are present, the kernel is ready for commands.

First Commands

Use this sequence to verify the main interaction path:

help
explain status
status
health
info
ls /
wai

Then validate the filesystem quickly:

cd /tmp
mkdir demo
cd demo
touch note.txt
write note.txt hello
ls
cat ./note.txt
rm note.txt
cd ..
rmdir demo

Command Families

For a strict lookup with exact syntax and examples, see Command Reference and Pseudo-Files Reference.

System visibility

cn <name> gives the machine a persistent computer name. Names accept ASCII letters, digits, and -, up to 32 characters, and are mirrored by /etc/hostname.

Filesystem & Storage

Audio & Multimedia

Power control

Safe Power Testing

Use simulation mode when you want to test behavior without touching hardware side effects:

power sim
reboot
shutdown

Return to real behavior only when needed:

power real
power status

Troubleshooting

  1. bootimage is missing
  1. QEMU is missing
  1. The shell does not accept input
  1. QEMU from snap/core20 reports a symbol lookup error

Useful Scripts

Reference entry points:

Individual suites, all called by test_regression_all.sh:

Diagnostics and tooling:

Next Reading