wrote a basic bootloader

This commit is contained in:
2025-02-25 01:14:52 +00:00
commit 012b0454ed
36 changed files with 1667 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
set -e
# Build the bootloader
nasm -f bin mbr.asm -o mbr.bin
# Build the kernel
cargo build --release
# Create disk image
./create_image.sh
# Write MBR
dd if=mbr.bin of=disk.img conv=notrunc
echo "Build complete! You can now boot disk.img"