Page 2 of 2
Re:Second stage bootlaoder
Posted: Tue Jan 07, 2003 7:12 pm
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
Re:Second stage bootlaoder
Posted: Tue Jan 07, 2003 7:16 pm
by jrfritz
wow...a linux/windows user like me! I didn't know that would exist other than me!
Your floppy could be bad... ???
Re:Second stage bootlaoder
Posted: Tue Jan 07, 2003 7:20 pm
by jrfritz
There is a way to avoid a floppy...use BOCHS 2.0 to boot your boot.bin file.
Re:Second stage bootlaoder
Posted: Tue Jan 07, 2003 7:20 pm
by Nerd-Pit
I am a certified linux admin. But for my 3d animations and all i use windows
Re:Second stage bootlaoder
Posted: Tue Jan 07, 2003 7:26 pm
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...
Re:Second stage bootlaoder
Posted: Tue Jan 07, 2003 9:18 pm
by Nerd-Pit
How would i go about using bochs to test. i have never used bochs yet it is new to me still.
Re:Second stage bootlaoder
Posted: Wed Jan 08, 2003 5:07 pm
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.
Re:Second stage bootlaoder
Posted: Wed Jan 08, 2003 5:13 pm
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...