Skip to content

Repository files navigation

OS

Setup

1. Install QEMU

2. setup the docker image

docker build buildenv -t my-os

3. Run the docker image

# Windows
# PowerShell
docker run --rm -it -v ${PWD}:/root/env my-os
# CMD
docker run --rm -it -v %cd%:/root/env my-os

# Linux
docker run --rm -it -v $(pwd):/root/env my-os

# MacOS
docker run --rm -it -v $(pwd):/root/env my-os

#nushell
let path = (pwd); docker run --rm -it -v $"($path):/root/env" my-os

4. Run Makefile IN THE CONTAINER

make build-x86_64

5. Run the iso OUSIDE THE CONTAINER (File will be created in dist/x86_64 in the root of the project)

qemu-system-x86_64 -cdrom dist/x86_64/kernel.iso

About

for fun

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages