https://github.com/hannahfluch/mbr-loader
small legacy BIOS bootloader
https://github.com/hannahfluch/mbr-loader
bios bootloader mbr
Last synced: about 2 months ago
JSON representation
small legacy BIOS bootloader
- Host: GitHub
- URL: https://github.com/hannahfluch/mbr-loader
- Owner: hannahfluch
- Created: 2024-09-05T12:39:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-24T18:40:06.000Z (8 months ago)
- Last Synced: 2025-04-23T21:13:26.619Z (5 months ago)
- Topics: bios, bootloader, mbr
- Language: Assembly
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mbr-loader
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.
## Setup and Requirements
### Prerequisites
To compile and run the bootloader, you need the following tools installed:
1. **NASM**: The Netwide Assembler, used to assemble the bootloader code.
2. **QEMU**: A hardware emulator used to test the bootloader.### Installation
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](https://www.rust-lang.org/).
1. Clone the repository:
```sh
git clone https://github.com/hannahfluch/mbr-loader.git
cd mbr-loader
```2. Build the bootloader:
```sh
make all
```3. Run the mbr-loader in QEMU:
```sh
make run
```