This respository holds all the source code for this YouTube tutorial series.
You can find the revision for a specific episode on this page.
You can find pre-built ISO files for this kernel at this repository.
Considering supporting this work via my Patreon page.
Build an image for our build-environment:
docker build buildenv -t myos-buildenv
Enter build environment:
docker run --rm -it -v "$(pwd)":/root/env myos-buildenv
docker run --rm -it -v "%cd%":/root/env myos-buildenv
docker run --rm -it -v "${pwd}:/root/env" myos-buildenv
WSL
, msys2
or git bash
Build for x86 (other architectures may come in the future):
make build-x86_64
To leave the build environment, enter exit
.
You can emulate your operating system using Qemu: (Don't forget to add qemu to your path!)
qemu-system-x86_64 -cdrom dist/x86_64/kernel.iso
kernel.iso
for future builds.If the above command fails, try one of the following:
qemu-system-x86_64 -cdrom dist/x86_64/kernel.iso -L "C:\Program Files\qemu"
qemu-system-x86_64 -cdrom dist/x86_64/kernel.iso -L /usr/share/qemu/
-L
option.Alternatively, you should be able to load the operating system on a USB drive and boot into it when you turn on your computer. (I haven't actually tested this yet.)
Remove the build-evironment image:
docker rmi myos-buildenv -f