Skip to content

Zikithezikit/rust-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to compile the kernel

Firstly build the docker image. This might take a while at the first time.

cd ~/my-kernel/buildenv && docker build -t my-kernel-env .

Now run the container.

cd ~/my-kernel/buildenv && docker run --rm -it -v ~/my-kernel:/root/env my-kernel-env bash

In the container run the build command.

make build

And that's it now you should have both the kernel.iso and the kernel.bin files.




How to run the kernel

In your shell: (Outside the container)

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

About

This is a x64 kernel that I am implementing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published