bios panic message

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.
Post Reply
shahzad

bios panic message

Post 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]
Curufir

Re:bios panic message

Post 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).
Slasher

Re:bios panic message

Post by Slasher »

your bootcode has to end with

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

Re:bios panic message

Post 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.
Post Reply