https://github.com/egormkn/mbr-boot-manager
💾 Master Boot Record with a boot menu written in Assembly
https://github.com/egormkn/mbr-boot-manager
assembler bios boot boot-manager boot-menu bootloader master-boot-record mbr nasm operating-systems x86
Last synced: 25 days ago
JSON representation
💾 Master Boot Record with a boot menu written in Assembly
- Host: GitHub
- URL: https://github.com/egormkn/mbr-boot-manager
- Owner: egormkn
- License: unlicense
- Created: 2017-03-01T18:25:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T07:16:28.000Z (over 7 years ago)
- Last Synced: 2025-03-30T06:03:49.744Z (12 months ago)
- Topics: assembler, bios, boot, boot-manager, boot-menu, bootloader, master-boot-record, mbr, nasm, operating-systems, x86
- Language: Assembly
- Homepage:
- Size: 934 KB
- Stars: 96
- Watchers: 7
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MBR Boot Manager
Simple yet powerful Master Boot Record Boot manager that allows to select one of four primary partitions during the boot.
Got tired with reinstalling Grub or other boot manager, that was overwritten by Windows?
Now you can choose one of four primary partitions to boot with this tiny (512 bytes only) custom MBR.

## Features
* Windows, Linux, FreeDOS and any other bootable partitions are supported
* Speeds up the boot process for your main OS
* Supports multiple active partitions
* Boot first active partition by default
* If Shift is pressed during boot, a boot menu will appear
* Use UP and DOWN arrows to choose partition in boot menu
* Use Enter to select the partition you want to boot from
* Use Esc to reboot your computer
* Easy to install
* Uses only the first sector of disk (512 bytes)
* Absolutely free and open-source
* Well-documented and optimised code
* DIY: compile your own version with NASM
## Installation
#### Windows
Download BootIce and run as Administrator. Select the disk, then Process MBR -> Restore MBR. Choose [mbr.bin](https://github.com/egormkn/bootloader/releases) as restore file, make sure that "Keep signature and partition table untouched" is selected and choose "Restore".
#### Linux/Unix
Create a backup of your current MBR with `dd if=/dev/sdX of=mbr_backup.bin bs=512 count=1`.
Then run `dd if=mbr.bin of=/dev/sdX bs=446 count=1` where X is a letter of the disk
## Credits
* [Egor Makarenko](https://github.com/egormkn)
* [Andrew Plotnikov](https://github.com/shemplo)
* [Vladislav Zemtsov](https://github.com/Zem4ik)
## License
This is free and unencumbered software released into the public domain. See our [LICENSE](LICENSE) file for more information.