|
LumaOS
v0.1.116
An experimental x86-64 OS
|
LumaOS is an experimental OS & kernel. Built completely from scratch
I started development on LumaOS because I was interested in learning OS development and low-level system development. I also was interested in the challenge of OS development and wanted to work on a project that could not only be impressive, but also useful.
LumaOS isn't just like any other hobby operating system. LumaOS right now is focused on developers, but it won't have a complicated GUI, it has a simple, sleek interface that is easy for everyone to use. In the future, it will be a general purpose Operating System.
My final goal for LumaOS is for it to become a sleek and modern general purpose Operating System that is easy and intuitive to use for anyone, whether they are tech-savy or not.
| Implemented | Planned |
|---|---|
| UEFI Boot with Limine Bootloader | Physical & Virtual Memory Allocator |
| x86_64 Kernel boots (UEFI & BIOS) | Heap Allocator |
| Serial & Framebuffer console output | Keyboard input |
| PSF1 & PSF2 Font rendering | Filesystem |
| Memory Map Parsing | Userspace |
| Interrupt Handling | Graphical Desktop Environment |
| More... |
This is only the beginning, there is much more to come...
| Category | Value |
|---|---|
| Supported Architectures | x86_64 |
| Supported Bootloaders | Limine |
| Supported Boot Protocols | Limine |
| Kernel Language | C, Assembly |
| Assembly | x86_64 Assembly |
| Kernel Type | Monolithic |
| Dependency | Version | Description |
|---|---|---|
| x86_64-elf-binutils | 2.47-1 | Utilities and programs to assemble and manipulate the binaries for the OS |
| x86_64-elf-gcc | 16.2.0-1 | GCC cross compiler for x86_64-elf |
| nasm | 3.02-1 | Used to assemble .asm files |
| make | 4.4.1-3 | Run the necessary commands to build the OS in the makefile |
| qemu (qemu-system-x86_64) | 11.1.3-1 | (Optional) Used to run the OS in a virtual machine without running it on a physical machine |
| edk2-ovmf | 202608-1 | (Optional) UEFI Firmware for running OS in QEMU or other vm's |
Version specified is the version used in development, other program versions may work.
To compile the kernel and OS, run make clean && make all in the project's directory. This will automatically build all the necessary file and assemble them all. This also creates a bootable ISO automatically.
If you plan on running the OS in QEMU or in a virtual machine, you need to locate your OVMF firmware that was installed with edk2-ovmf. The file should look like /usr/share/edk2/x64/OVMF.4m.fd. Replace that line in the Makefile with your file path to run UEFI properly.
To run in QEMU, run make run or make run-bios. To run headless, run make run-headless and access the display through vnc at port 5900 (display 0).
LumaOS documentation is available in the docs directory.
| Document | Description |
|---|---|
| Bootloader | Bootloader configuration and supported flags |
Any requests, tips, or recommendations can be submitted via the GitHub issues page.
The code for this project is licensed under the GNU AGPL-3.0 License. To view this license, visit https://www.gnu.org/licenses/agpl-3.0.en.html or the LICENSE.md file