rust-osdev / rust-osdev/bootloader
[Question] How do you make the MBR not have ELF headers?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
First I just want to say this is a great project and thanks for putting this out here.
I have a question regarding the BIOS bootloader. If I am undestanding properly, the BIOS bootloader is a unique ELF mixing Rust and assembly code, split into 4 stages. I wonder how you do to make Rust (or the LLVM backend inside it) not to generate ELF headers at the beginning of the file, so MBR code is first. I appreciate the help in advance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the BIOS bootloader implementation and its four stages, then trace how Rust and LLVM output is transformed into the MBR image. Document the existing build or linking process that places MBR code before any ELF headers, if the repository provides enough detail to establish it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100