docs

What ReyaOS runs on, how to install it, and every command. as of 0.7.x

The ISO folder has every release.

# hardware

  • x86-64 CPU, BIOS or UEFI firmware. Secure Boot may need to be disabled, the UEFI loader isn't signed.
  • SATA disks with the controller in AHCI mode (not IDE/compatibility, a firmware setting), or NVMe disks.
  • Wired network on Intel e1000 (QEMU) and Broadcom BCM57780 cards.
  • Keyboards through PS/2; USB keyboards only where the firmware emulates PS/2.
  • A framebuffer console in the screen's native resolution (through UEFI GOP or VESA VBE), or the largest mode the firmware offers.

# installing

! install erases the entire target disk, including other operating systems. Only install onto a disk you can afford to lose.

  1. Put the ISO on a Ventoy stick, write it to a USB stick with balenaEtcher, dd or Rufus in DD mode (this erases the stick), or burn it to a CD.
  2. Boot from it. ReyaOS then runs from memory and doesn't write anywhere by itself.
  3. disks shows the disks it can reach, install <disk> installs onto one after you type its name to confirm. The installed disk boots on BIOS and UEFI machines.

# files

/system    kernel, configuration, license texts
/apps      programs
/user      your files
/devices   virtual device files
/EFI/BOOT  the UEFI loader (on installed systems and the ISO)
/boot      the EFI system partition of an installation with an ext3 root

install puts two partitions on a disk: a 128 MB EFI system partition (FAT32) with what the loaders read, and an ext3 root with the rest. ReyaOS mounts the root at / and the EFI partition at /boot. ext3 changes go through its journal, so a power cut doesn't leave the disk broken. Older installations, one FAT32 partition for everything, keep working as they are.

# updates

An installed ReyaOS updates itself over the network, from reyaupdate.hive-brain.de. Every release is signed with Ed25519; ReyaOS checks the signature and every file's SHA-256, refuses older versions, keeps configuration you edited and the previous version for rollback.

The commands are under updates and installing.

# building

ReyaOS builds in WSL or Linux with Rust (stable, targets x86_64-unknown-none and x86_64-unknown-uefi), nasm, make, dosfstools, mtools, fdisk, console-setup and xorriso. make iso builds the installation medium; QEMU and OVMF run it.

# commands

Every program explains itself with -h; the same text is here.

Everything except the shell's built-ins is a program in /apps. A trailing & runs a program in the background, Ctrl+C stops the one in the foreground, a | b feeds a's output to b.