Page 1 of 1

Bochs problem (again :D)

Posted: Thu Oct 28, 2004 9:31 am
by Platon
Hello,
I'm having a problem with bochs too...
I've written my bootloader which switches to protected mode, and loads my C kernel (it justs display a message). It works perfectly on 2 real PCs, but when I try to boot from bochs, it says 'Booting from floppy' ... and nothing happens.

My bochs configuration should be OK : boot is defined on floppy...

Any idea ?

Thanks...

Re:Bochs problem (again :D)

Posted: Mon Nov 01, 2004 3:15 pm
by Pype.Clicker
That may be any of the "common mistakes in bootsectors": wrong CS:IP assumption, wrong A20 status assumption, etc. I suggest you get a look at the TroubleShooting category in the WikiFAQ ...

If you can also set up a break point at 7c00 in a debugger-enabled bochs and proceed step by step, you might figure out what's wrong in a better way ...