Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6779811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:25:55+00:00 2026-05-26T16:25:55+00:00

I have an interesting question, I was trying to make a simple bootloader that

  • 0

I have an interesting question, I was trying to make a simple bootloader that would boot and display text. As I did further research, I discovered that the bootloader needed to reserve memory for something. Here are my questions:

  1. How do you reserve memory for the bootloader?
  2. Why do you need to reserve memory?
  3. What other functions does a bootloader need to preform.
  4. How do I pass control to the kernel?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:25:55+00:00Added an answer on May 26, 2026 at 4:25 pm

    You don’t really need to “reserve” memory, rather just use it.

    Really though, you need this because your kernel expects to be at the start of addressable memory. For that reason, the first thing you should do is to copy the bootloader, which will probably be running from the MBR at this point, into high memory (way past where the kernel will be), then jump to it. You then need to load the kernel into the start of memory, set up the rest of the environment for the kernel (again, it will expect certain things, like the Linux kernel command line, to be at specific places in memory), then jump to its entry point.

    When you have gotten here, you don’t care about the bootloader any more, it’s purpose in life is done. Control has been passed to the kernel, and it will probably overwrite the section of RAM used for your loader at some point.

    This might also help to get your head around the early stages of the boot process: IBM

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

An interesting question arose today. Let's say I have a .NET object that implements
Here's an interesting question. I have a system that attempts to run some initialization
I have a very interesting LINQ question. I have a document, that I am
I have a question that I've been trying to answer for some time now
I have an interesting question. Imagine I have a lot of data changing in
I have a interesting question: I want to split the year into 4 quarters.
I have recently come across an interesting question on strings. Suppose you are given
I have an interesting problem and would appreciate your thoughts for the best solution.
I have an interesting query to do and am trying to find the best
So I have an interesting design question regarding an app I'm developing for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.