rust-osdev / rust-osdev/bootloader

Basic instructions for FileSystem

Open
#120 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.7k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

The current bootloader generates a ".bin" file at the end which is a hard disk image. Is it possible to provide some instructions to generate a simple FAT disk with that bin file of ELF file?

Because the bootloader is completely customized, i am struggling to understand how to put the bin file or some part of the kernel in an actual file system.
For example, using GRUB one can follow these to generate disks

Or alternatively, can we make GRUB boot this bootloader (not chainloading because it works on different disks)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining how the customized bootloader produces its .bin hard disk image and how its ELF kernel is placed. Compare the requested FAT-disk workflow with the linked GRUB disk image instructions, and determine whether GRUB can boot this bootloader without chainloading. Done means documented, reproducible instructions for the supported approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.