This project is a simple legacy MBR BIOS bootloader. It consists of a boot sector program written in assembly using NASM and a minimal kernel entry written in Rust. The bootloader follows the legacy Master Boot Record (MBR) format and can be run using QEMU for testing.
To compile and run the bootloader, you need the following tools installed:
- NASM: The Netwide Assembler, used to assemble the bootloader code.
- QEMU: A hardware emulator used to test the bootloader.
To build and run mbr-loader, you need to have Rust installed. You can install Rust by following the instructions on the official Rust website.
- Clone the repository:
git clone https://github.com/Hqnnqh/mbr-loader.git
cd mbr-loader
- Build the bootloader:
make all
- Run the mbr-loader in QEMU:
make run