Skip to content
/ minima Public

An ultra-minimalistic Linux distribution built from scratch in Rust! 🔥

Notifications You must be signed in to change notification settings

ridulfo/minima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minima

An ultra-minimalistic Linux distribution built from scratch in Rust! 🔥

The goal of the system:

  • Build a userland environment for the Linux kernel
  • Depend only on musl
  • Neatly package everything for QEMU and Docker

What is outside of the scope? - in the short-term

  • implement libc
  • implement a kernel
  • implement drivers

Status

I have unfortunately abandoned this project due to loss of interest. This repository will remain public for reference purposes. The skeleton of the project is still interesting and a good jumping off point for anybody interested! It builds an ultra-minimal Linux Kernel (~10MB!), root file-system and packages in some userland programs written in rust.

Initially, I was very intrigued by the challenge, it seemed like a good way to learn how Linux works. However, I discovered that including a standard library removes too much of the challenge. It does not make it trivial, but not as challenging. Programs like ls would just be wrappers around fs::read_dir(directory). Implementing a standard library is a completely different beast. Perhaps something for the future!

Getting started

To run the operating system in QEMU run the following command:

make run

boot process print-out

Contribute

Feel free to contribute to any part of this project! If you are unsure where to start, check out the open issues.

Any amount of help or feedback is appreciated. 🙏

About

An ultra-minimalistic Linux distribution built from scratch in Rust! 🔥

Resources

Stars

Watchers

Forks