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 7190571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:32:41+00:00 2026-05-28T19:32:41+00:00

I recently wrote a simple bootloader in assembly for floppy disk booting. I used

  • 0

I recently wrote a simple bootloader in assembly for floppy disk booting. I used ‘debug’ command on my Windows XP virtual machine, to write on the first sector of floppy disk image. It works, which is good. Now, I am trying to load the second stage bootloader (or kernel) into the memory by reading sectors: I wrote the second stage bootloader to be read as well as modified first stage bootloader.

To make this happen, I need to copy the second stage bootloader into the floppy disk. I clicked the A: icon on the windows explorer, trying to copy it, but the message I got was “The disk in drive A: is not formatted. Do you want to format it now?” At this stage, I got some questions in a row.

My questions are:

  1. How do I make windows acknowledge the bootloader I wrote, so that I can copy other files in? (Or is it even possible?)

  2. If this is not an option, do I always need to use either “debug” or “partcopy” to copy all other files into the disk?

  3. Can I copy the second stage and/or other files into any empty sectors?

  4. Debug command is gone in Windows 7 and partcopy windows version didn’t allow me to write on the first sector of the disk. What are the alternatives? (Trying to avoid working on VM.)

I am sorry for asking so many question on one thread. I thought it was easy to ask in one, cause they are all related.

  • 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-28T19:32:42+00:00Added an answer on May 28, 2026 at 7:32 pm
    1. Does your boot sector have a partition table at byte 446? It is needed to have, well.. partitions. A valid file system is also needed.

    2. If there isn’t any valid supported file system, then yes, you will need to use specialized tools to write the data directly to sectors.

    3. If you don’t employ a file system, the entire disk is free to use as you see fit. If you want to use a file system, it will need some sectors to work. Ideally you should also go through the file system to find sector(s) of your second stage.

    4. You could use a specialized tool made specifically for writing boot sectors or disk images, or you could use dd:

      dd of=/dev/fd0 if=bootsector.img bs=512 count=1
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently wrote a program that used a simple producer/consumer pattern. It initially had
I've been playing with OpenCL recently, and I'm able to write simple kernels that
I've recently been given a chance to write a simple tcp-client for a project
Hey, I recently wrote this fairly simple game of life in JavaScript. Within this
I have been looking at Reflection.Emit recently. I wrote a simple program that generates
I recently wrote a simple utility in Perl to count words in a file
I recently wrote up a simple Twitter app for Android to learn the ropes
Recently, I'm trying to write a simple OS. This is a big project. when
My wife recently bought a nano, and I wanted to write a simple program
I recently needed to debug a program at assembly level. I don't have a

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.