Repository navigation
Building and Running
Dr edited this page Oct 23, 2026
·
1 revision
LimonOS is a 64-bit x86_64 operating system. To compile and run it, you will need a Linux-based environment.
To build the OS, you will need:
- A Linux environment (or WSL on Windows).
-
x86_64-elf-gcccross-compiler (or a standard GCC toolchain with multilib support). -
nasmassembler. -
makeandxorriso(for creating the ISO image). - QEMU for testing the OS in a virtual machine.
(Note: The repository includes setup scripts to help install these dependencies).
If you are on Windows, the easiest way to build LimonOS is using WSL (Windows Subsystem for Linux).
- Make sure WSL is installed and set up on your machine.
- Clone the repository:
git clone https://github.com/AnonimusShamshiAlex/LimonOS.git - Run the provided batch file (
build.bat). - The batch file will automatically invoke the WSL Linux environment, compile the C and Assembly source code, and use the Limine bootloader to generate a bootable ISO file.
If you are already on a Linux system:
- Clone the repository.
- Run the build script:
make(or execute the build script provided in the root directory). - This will compile the kernel and generate an ISO image using Limine.
Once the build is complete, you will have a bootable ISO image.
- Open your virtualization software (e.g., QEMU, VirtualBox, or VMware).
- Create a new virtual machine (x86_64 architecture).
- Mount the generated ISO file as a CD-ROM.
- Boot the VM. You should see the LimonOS interface load.
For QEMU, you can typically run it directly from the terminal:
qemu-system-x86_64 -cdrom limonos.iso -m 512M -serial stdio