Skip to content

Latest commit

 

History

118 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TetanOS

An attempt at building an operating system, make sure you're vaccinated.

Build dependencies

  • mise — pins the Rust toolchain and runs the build tasks
  • nasm
  • GNU ld
  • grub-mkrescue
  • xorriso
mise install

Build

mise run build

The bootable image is written to obj/tetanos.iso.

Build from Docker

The docker image used is available here.

docker run --rm -v "$PWD":/build tetanos/builder

Run with qemu

qemu-system-x86_64 is required to run this command.

mise run qemu

Flash a usb drive

Be careful with this command, it will format your usb drive.

dd if=obj/tetanos.iso of=/dev/diskX && sync

Note for macOS dev

GNU ld doesn't produce the ELF kernel binary on macOS, so build from Docker instead.

License

TetanOS is MIT licensed.

About

x86 operating system kernel written from scratch

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages