This page covers questions/answers for newcomers and end-users.
- What is Redox?
- What does Redox mean?
- What features does Redox have?
- What is the purpose of Redox?
- What I can do with Redox?
- What is a Unix-like OS?
- How Redox is inspired by other systems?
- What is a microkernel?
- What programs can Redox run?
- How to install programs on Redox?
- Which are the Redox variants?
- Which devices does Redox support?
- I have a low-end computer, would Redox work on it?
- Which virtual machines does Redox have integration with?
- How do I build Redox?
- How to launch QEMU without GUI
- How to troubleshoot your build in case of errors
- How to report bugs on Redox
- How do I contribute to Redox?
- I have a problem/question for Redox team
What is Redox?
Redox is a microkernel-based operating system, a complete, fully-functioning, general-purpose operating system with a focus on safety, freedom, reliability, correctness, and pragmatism.
Wherever possible, the system components are written in Rust and run in user-space.
Redox is a alpha/beta quality software, because we implement new features while fix the bugs.
Thus it’s not ready for daily usage yet, feel free to test the system until its maturity and don’t store your sensitive data without a proper backup.
The version 1.0 will be released once all system APIs are considered stable.
What does Redox mean?
Redox is the chemical reaction (reduction–oxidation) that creates rust, as Redox is an operating system written in Rust, it makes sense.
It sounds like Minix/Linux too.
What features does Redox have?
You can modify/change many system components without a system restart, similar to but safer than livepatching.
Most system components run in user-space on a microkernel system, a bug in a non-kernel component won’t crash the system/kernel.
A mature microkernel changes very little (bug fixing), so you won’t need to restart your system very often to update the system.
Since most of the system components are in userspace, they can be replaced on-the-fly (reducing downtime for server administrators).
Easy to develop and debug
Most of the system components run in userspace, simplifying testing/debugging.
Less likely to have bugs
The restrictive syntax and compiler suggestions reduce the probability of bugs a lot.
No need for C/C++ exploit mitigations
The microkernel design written in Rust protects against C/C++ memory defects.
By isolating the system components from the kernel, the attack surface is very limited.
Improved security and reliability without significant performance impact
As the kernel is small, it uses less memory to do its work and the limited kernel code size helps to keep it close to bug-free status (KISS goal).
Rust’s safe and fast language design, combined with the small kernel code size, helps ensure a reliable, performant and easy to maintain core.
The C/C++ support for thread-safety is quite fragile, and it is very easy to write a program that looks safe to run across multiple threads, but which introduces subtle bugs or security holes. If one thread accesses a piece of state at the same time that another thread is changing it, the whole program can exhibit some truly confusing and bizarre bugs.
But in Rust this kind of bug is easy to avoid, the same type system that keeps us from writing memory unsafety prevents us from writing dangerous concurrent access patterns
Drivers written in Rust are likely to have fewer bugs and therefore are more secure.
Redox uses RedoxFS as the default filesystem, it supports similar features as ZFS with a written-in-Rust implementation.
Expect high performance and data safety (copy-on-write, data integrity, volumes, snapshots, hardened against data loss).
What is the purpose of Redox?
The main goal of Redox is to be a general-purpose OS, while maintaining security, reliability and correctness.
Redox aims to be an alternative to existing Unix systems (Linux/BSD), with the ability to run most Unix programs with only recompilation or minimal modifications.
What I can do with Redox?
As a general-purpose operating system, you will be able to do almost any task on most devices with high performance/security.
Redox is still under development, so our list of supported applications is currently limited, but growing.
What is a Unix-like OS?
Unix was a highly influential multitasking system and impacted the design choices of most modern systems.
How Redox is inspired by other systems?
This Bell Labs OS brings the concept of “everything is a file” to the highest level, doing all the system communication from the filesystem.
The most influential Unix-like system with a microkernel, it has advanced features such as system modularity, kernel panic resistence, driver reincarnation, protection against bad drivers and secure interfaces for process comunication.
Redox is largely inspired by Minix, it has a similar architecture and feature set written in Rust.
The most fast and simple microkernel of the world, it aims for performance and simplicity.
Redox follow the same principle, trying to make the kernel-space small as possible (moving components to user-space and reducing the number of system calls, passing the complexity to user-space) and keeping the overall performance good (reducing the context switch cost).
This Unix family included several improvements on Unix systems, the open-source variants of BSD added many improvements to the original system (like Linux did).
The most advanced monolithic kernel and biggest open-source project of the world, it brought several improvements and optimizations to the Unix-like world.
Redox tries to implement the Linux performance improvements in a microkernel design.
What is a microkernel?
A microkernel is the near-minimum amount of software that can provide the mechanisms needed to implement an operating system, which runs on the highest privilege of the processor.
This approach to OS design brings more stability and security, with a small cost on performance.
What programs can Redox run?
Redox is designed to be source-compatible with most Unix, Linux and POSIX-compilant applications, only requiring compilation.
Currently, most GUI applications require porting, as we don’t support X11 or Wayland yet.
Some important software that Redox supports:
You can see all Redox components/ported programs here.
How to install programs on Redox?
Redox has a package manager similar to
apt (Debian) and
pkg (FreeBSD), you can see how to use it on this page:
Which are the Redox variants?
Redox has some variants for each task, take a look on them below:
server-minimal- The most minimal variant with a basic system, aimed for embedded devices, very old computers and developers.
desktop-minimal- The most minimal variant with the Orbital desktop environment included, aimed for embedded devices, very old computers and developers.
server- The server variant with a complete system and network tools, aimed for server administrators, embedded devices, low-end computers and developers.
desktop- The standard variant with a complete system, Orbital desktop environment and useful tools, aimed for daily usage, producers, developers and gamers.
dev- The development variant with a complete system and development tools, aimed for developers.
demo- The demo variant with a complete system, tools, players and games, aimed for testers, gamers and developers.
Which devices does Redox support?
There are billions of devices with hundreds of models/architectures in the world, we try to write drivers for the most used devices to support more people, some drivers are device-specific and others are architecture-specific.
Have a look at HARDWARE.md to see all tested computers.
- Intel - 64-bit (x86_64) and 32-bit (i686) from Pentium II and after with limitations.
- AMD - 64-bit (AMD64) and 32-bit.
- ARM - 64-bit (Aarch64) with limitations.
(Intel/AMD and others in the future)
(Sound Blaster soon)
(Wi-Fi/Atheros ethernet soon)
I have a low-end computer, would Redox work on it?
A computer processor is the most complex machine of the world, even the most old processors are powerful for some tasks, it depends on the task.
The main problem with old computers is the amount of RAM available (they were sold in a epoch where RAM chips were expensive) and lack of SSE/AVX extensions (programs use them to speed up the algorithms), thus some modern programs may not work or require a lot of RAM to perform complex tasks.
Redox will work normally (if the processor architecture is supported by the system) but you will need to test each program.
Which virtual machines does Redox have integration with?
In the future the microkernel could act as a hypervisor, similar to Xen.
A hypervisor is software providing the ability to run multiple isolated operating system instances simultaneously.
How do I build Redox?
Currently Redox has a bootstrap script for Pop OS!, Ubuntu, Debian, Fedora, Arch Linux, openSUSE and FreeBSD with unmaintained support for other distributions.
We also offer Podman as our universal compilation method, it is the recommended build process for non-Debian systems because it avoids environment problems on the build process.
- Redox Book Guide - (Pop OS!, Ubuntu, Debian, Fedora, Arch Linux, openSUSE and FreeBSD)
- Redox Book Podman Guide
How to launch QEMU without GUI
make qemu vga=no
How to troubleshoot your build in case of errors
How to report bugs on Redox
Check GitLab Issues first to see if your problem is already known.
How do I contribute to Redox?
You can contribute to Redox in many ways, you can see them on CONTRIBUTING.