Carbon is an x86 operating system in early development.
Note: this section was written for Linux systems. Please submit an issue if you have problems building Carbon.
git clone https://github.com/davidaylaian/carbon.git
cd carbon- Make:
sudo apt-get install make - NASM:
sudo apt-get install nasm - GCC Cross-Compiler:
http://wiki.osdev.org/GCC_Cross-Compiler - Xorriso:
sudo apt-get install xorriso
To build the kernel, run make inside of the kernel directory.
cd kernel
make
cd ..Additional information can be found in kernel/doc/building.md.
To build Carbon-x86.iso, copy kernel/kernel.bin to sysroot/boot, and use grub-mkrescue to build the disk image.
cp kernel/kernel.bin sysroot/boot
grub-mkrescue -o Carbon-x86.iso sysrootAny emulator should work, but we reccomend qemu.
To install qemu: sudo apt-get install qemu
To use qemu: qemu-system-i386 -cdrom Carbon-x86.iso