Second stage bootlaoder

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Nerd-Pit

Re:Second stage bootlaoder

Post by Nerd-Pit »

i am having problems getting it to copy onto a disk now i have used dd and partcopy and the error i get is can't write to offset 0. I got the code to compile for me now i jsut need to test it to see if i can get it to work
jrfritz

Re:Second stage bootlaoder

Post by jrfritz »

wow...a linux/windows user like me! I didn't know that would exist other than me!

Your floppy could be bad... ???
jrfritz

Re:Second stage bootlaoder

Post by jrfritz »

There is a way to avoid a floppy...use BOCHS 2.0 to boot your boot.bin file.
Nerd-Pit

Re:Second stage bootlaoder

Post by Nerd-Pit »

I am a certified linux admin. But for my 3d animations and all i use windows
jrfritz

Re:Second stage bootlaoder

Post by jrfritz »

Wow...you know more linux than me!

I just know some terminal stuff like cat, cp, sh, bash, and a little more...other than that I use KDE...but anyway...BOCHS emulator 2.0 is good for booting your OS for testing...
Nerd-Pit

Re:Second stage bootlaoder

Post by Nerd-Pit »

How would i go about using bochs to test. i have never used bochs yet it is new to me still.
Nerd-Pit

Re:Second stage bootlaoder

Post by Nerd-Pit »

Well i got bochs to work for me . One more question now i can't get it to laod my second stage loader. I will post my code when i get my dev. machine back up and running.
jrfritz

Re:Second stage bootlaoder

Post by jrfritz »

You load sectors 1->whatever you need...like at first 10 sectors like 2->10....load PM/GDT stuff...and jump to the location you loaded your kernel to from sector 2.....using the BIOS...
Post Reply