Page 1 of 1

bios panic message

Posted: Wed Dec 24, 2003 5:30 pm
by shahzad
i'm getting error "bochs panic at rombios.c"

whats causing the error.Can u please explain the attached bochs output file as its my first attempt to use bochs.

my bochsscr.txt file is given below

Code: Select all


# how much memory the emulated machine will have
# if you have less than 64MB of memory in your actuall computer, set this lower(16 is good)
megs: 32

# filename of ROM images
# note that if before a filename we put "../" then the file is looked
# for in the directory above that the current directory(the one the configuration
# file is in).
romimage: file=BIOS-bochs-latest, address=0xf0000
vgaromimage: VGABIOS-elpin-2.40

# we want a floppy drive(called a), the disk image that we are using is called "floppy.img"
floppya: 1_44=floppy.img, status=inserted

# choose the boot disk.
boot: a

# where do we send log/error messages?
log: bochsout.txt

# disable the mouse unless your OS uses it
mouse: enabled=0



[attachment deleted by admin]

Re:bios panic message

Posted: Wed Dec 24, 2003 8:03 pm
by Curufir
[pre]
00002394592i[BIOS ] Boot from Floppy 0 failed
00002400451i[BIOS ] FATAL: Not a bootable disk
[/pre]

Seems fairly self-explanatory.

Either the path to the image is wrong, or you forgot to use the bootsector signature (And have told Bochs to check for one).

Re:bios panic message

Posted: Wed Dec 24, 2003 8:12 pm
by Slasher
your bootcode has to end with

times 510 - ($ - $$) db 0
dw 0xAA55

Re:bios panic message

Posted: Thu Dec 25, 2003 2:09 am
by shahzad
here is my boot loader.
i copy this to floppy using biosdisk function

Code: Select all

[BITS 16]  
[ORG 0x7C00] 

main:       
jmp main

times 510-($-$$) db 0
dw 0xAA55 

i'm making img file using bochsimg utility and placing this in same directory of bochs.