Files
2025-02-25 01:14:52 +00:00

17 lines
257 B
Bash
Executable File

#!/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"