Find a file
2018-05-20 07:46:04 -06:00
.github Update ISSUE_TEMPLATE 2017-10-09 19:22:30 -04:00
bootloader@615d9e1365 Update to RedoxFS 3 2017-11-19 20:05:54 -07:00
bootloader-efi@de305ff651 Update bootloader efi 2018-04-21 08:59:08 -06:00
cookbook@d57e19dfd5 Update cookbook 2018-05-14 18:33:02 -06:00
docker Docker: add autopoint 2018-01-09 14:27:42 +01:00
installer@999db45b0e Update to RedoxFS 3 2017-11-19 20:05:54 -07:00
isolinux@3cf79d3354 Move isolinux to submodule 2017-01-05 11:28:34 -07:00
kernel@e01d397dc1 Update kernel 2018-05-14 20:34:59 -06:00
mk Reduce size of EFI livedisk 2018-04-26 20:35:59 -06:00
redoxfs@78c5e1c6d2 Update redoxfs 2018-04-20 17:15:50 -06:00
rust@ae116a10e4 Update Rust 2018-05-02 21:28:12 -06:00
.gitignore Convert to cookbook based build 2017-05-10 21:39:05 -06:00
.gitmodules Add EFI bootloader (WIP) and update kernel 2018-04-11 21:21:15 -06:00
.travis.yml Cleanup travis config 2018-02-11 10:53:40 -05:00
bochs.x86_64 Allow compiling both livedisk and harddrive 2016-11-19 20:19:41 -07:00
bootstrap.sh Add more Ubuntu/Debian reqiured packages 2018-03-08 20:34:48 -08:00
CONTRIBUTING.md Fix unfinished sentence in CONTRIBUTING.md 2018-03-24 23:58:26 -05:00
filesystem.toml Add more recipes to filesystem.toml 2018-05-20 07:46:04 -06:00
initfs.toml Set default keymap 2017-10-09 21:32:21 -06:00
initfs_live.toml Set default keymap 2017-10-09 21:32:21 -06:00
LICENSE Add license 2016-08-13 16:28:33 -06:00
Makefile Add distclean target 2018-01-01 15:56:56 -07:00
README.md Update build steps 2018-04-03 01:43:26 +02:00
rust-toolchain Update rust 2018-04-26 21:00:27 -06:00
shell.nix Add shell.nix for NixOS users 2018-05-08 10:13:03 +02:00

Redox

Redox is an operating system written in Rust, a language with focus on safety and high performance. Redox, following the microkernel design, aims to be secure, usable, and free. Redox is inspired by previous kernels and operating systems, such as SeL4, MINIX, Plan 9, and BSD.

Redox is not just a kernel, it's a full-featured Operating System, providing packages (memory allocator, file system, display manager, core utilities, etc.) that together make up a functional and convenient operating system. You can loosely think of it as the GNU or BSD ecosystem, but in a memory safe language and with modern technology. See this list for overview of the ecosystem.

The website can be found at https://www.redox-os.org.

Please make sure you use the latest nightly of rustc before building (for more troubleshooting, see "Help! Redox won't compile!").

Travis Build Status Downloads MIT licensed Rust Version

Contents

What it looks like

Redox Redox Redox Redox Redox Redox

Ecosystem

The ecosystem and software Redox OS provides is listed below.

Name (lexicographic order) Maintainer
acid (kernel integration tests) @jackpot51 (co.: @ticki, **@nilset)
binutils @ticki
bots (custom Mattermost bots) @ticki
cookbook @jackpot51
coreutils @ticki (co.: @stratact)
extrautils @ticki
games @ticki
Ion (shell) @skylerberg & @jackpot51
kernel @jackpot51
libextra @ticki
libpager @ticki
netutils @jackpot51
orbclient (Orbital client) @jackpot51
orbdata @jackpot51
orbgame (Orbital 2D game engine) @FloVanGH
Orbital (windowing and compositing system) @jackpot51
orbtk (Orbital toolkit) @stratact
orbutils (Orbital utilities) @jackpot51
pkgutils (current package manager) @jackpot51
playbot (internal REPL bot) @ticki
ralloc @ticki
RANSID (Rust ANSI driver) @jackpot51
redoxfs (old filesystem) @jackpot51
syscall @jackpot51
Sodium (Vim-inspired text editor) @ticki
TFS (ticki filesystem) @ticki
The Redox book @ticki
userutils @jackpot51
libstd abandoned, Rust's official libstd is now used
The old kernel abandoned
ZFS abandoned, superseded by TFS

Help! Redox won't compile!

Sometimes things go wrong when compiling. Try the following before opening an issue:

  1. Make sure you have a Redox toolchain (x86_64-unknown-redox-gcc).
    • You can install from .deb packages (https://static.redox-os.org/toolchain/apt/) or build redox-os/libc manually.
  2. Run rustup update
  3. Run make clean pull.
  4. Make sure you have the latest version of Rust nightly! (rustup.rs is recommended for managing Rust versions. If you already have it, run rustup).
  5. Update GNU Make, NASM and QEMU/VirtualBox.
  6. Pull the upstream master branch (git remote add upstream git@github.com:redox-os/redox.git; git pull upstream master).
  7. Update submodules (git submodule update --recursive --init).

and then rebuild!

Contributing to Redox

If you're interested in this project, and you'd like to help us out, here is a list of ways you can do just that.

Cloning, Building and Running

Redox is big, even compressed. Downloading the full history may take a lot of bandwidth, and can even be costly on some data plans. Clone at your own risk!

Quick Setup

$ cd path/to/your/projects/folder/

# Run bootstrap setup
$ curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh

# Change to project directory
$ cd redox

# Build Redox
$ make all

# Launch using QEMU
$ make qemu
# Launch using QEMU without using KVM (Kernel-based Virtual Machine). Try if QEMU gives an error.
$ make qemu kvm=no

QEMU with KVM

To use QEMU with KVM (Kernel-based Virtual Machine), which is faster than without KVM, you need a CPU with Intel® Virtualization Technology (Intel® VT) or AMD Virtualization™ (AMD-V™) support. Most systems have this disabled by default, so you may need to reboot, go into the BIOS, and enable it.

Manual Setup

To manually clone, build and run Redox using a Unix-based host, run the following commands (with exceptions, be sure to read the comments):

$ cd path/to/your/projects/folder/

# HTTPS
$ git clone https://github.com/redox-os/redox.git --origin upstream --recursive
# SSH
$ git clone git@github.com:redox-os/redox.git --origin upstream --recursive

$ cd redox/

# Install/update dependencies
$ ./bootstrap.sh -d

# Install rustup.rs
$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env

# Install the sysroot manager Xargo
$ cargo install xargo

# For successive builds start here. If this is your first build, just continue

# Update git submodules
$ git submodule update --recursive --init

# Build Redox
$ make all

# Launch using QEMU
$ make qemu

# Launch using QEMU without using KVM (Kernel-based Virtual Machine). Try if QEMU gives an error.
$ make qemu kvm=no

# Launch using QEMU without using KVM (Kernel-based Virtual Machine) nor Graphics
make qemu kvm=no vga=no

Setup using Docker

We also provide docker image. After cloning this repository, please follow README under the docker directory.

Updating the codebase using the Makefile

To update the codebase run:

make pull; make fetch

make pull pulls and updates the submodules, and make fetch updates the sources for cookbook recipes.