Skip to content
Snippets Groups Projects
README.md 846 B
Newer Older
Deepak Sirone's avatar
Deepak Sirone committed
# Redox Loader Stub
Deepak Sirone's avatar
Deepak Sirone committed

Deepak Sirone's avatar
Deepak Sirone committed
## What?
The Redox loader was written in order to support loading the Redox kernel from standard filesystems.

## Why?
Currently the Redox bootloader supports booting only from a RedoxFS partition

Deepak Sirone's avatar
Deepak Sirone committed
## Building
Make sure to have the following dependencies installed:
* [Rust](https://www.rust-lang.org/en-US/install.html)
* [xargo](https://github.com/japaric/xargo)

Deepak Sirone's avatar
Deepak Sirone committed
Untar `sample_images/fs_redoxfs.tar.gz` and then run `make run_kvm`. A custom RedoxFS image can be passed using `make run_kvm REDOXFS=<path_to_redox_fs>`.`REDOXFS` defaults to `sample_images/fs_redoxfs.bin`
Deepak Sirone's avatar
Deepak Sirone committed

## Tweaks
* `redox-loader` currently boots from the first bootable partition it sees. Modify `bootloader/x86_64/bootsector.asm` to set the bootable partition.

Deepak Sirone's avatar
Deepak Sirone committed
## License
See [LICENSE](https://github.com/deepaksirone/redox-loader/blob/master/LICENSE)