bochs error

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
firas981

bochs error

Post by firas981 »

bochs log file reported that it couldn't find floppy drive image , however the file is existant with bochs.exe in the same directory , I think that configuration file and log file will explain the situation accurately .

# -------------------------------------------configuration file ------------------------------------------------------------------
floppya: 1_44="my.img", status=inserted
romimage: file=BIOS-bochs-latest, address=0xf0000
vgaromimage: VGABIOS-elpin-2.40
#The previous two files are also with bochs.exe with the same directory
megs: 16
boot: a
vga_update_interval: 300000
keyboard_serial_delay: 200
floppy_command_delay: 60000
ips: 950000
mouse: enabled=0
private_colormap: enabled=0
i440fxsupport: enabled=0
time0: 0
newharddrivesupport: enabled=1
log: bochs-log.txt
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
#-------------------------------------log file-------------------------------------------------------------------------------
00000000000i[MEM0 ] 0.00MB
00000000000i[MEM0 ] rom at 0xf0000/65536 ('BIOS-bochs-latest')
00000000000i[MEM0 ] rom at 0xc0000/32769 ('VGABIOS-elpin-2.40')
00000000000i[CMOS ] Setting initial clock to: Tue Feb 24 10:22:50 2004
00000000000i[FDD ] tried to open my.img read/write: No such file or directory
00000000000i[FDD ] tried to open my.img read only: No such file or directory
00000000000i[FDD ] fd0: 'my.img' ro=1, h=0,t=0,spt=0
00000000000i[SB16 ] midi=0, wave=0, log=0, dmatimer=0
00000000000i[VGA ] interval=300000
00000000000i[SER ] com0 at 0x3f8/8 irq 4
00000143281i[BIOS ] BIOS Version is $Id: rombios.c,v 1.13 2001/06/07 18:03:29 bdenney Exp $
00000201295i[FDD ] attempt to read/write sector 1, sectors/track=0
00000204133i[BIOS ] Boot Failure! I could not read floppy drive 0.
00000204175p[BIOS ] >>PANIC<< BIOS panic at rombios.c, line 3417
00000204175i[SYS ] Last time is 1077646970
00000204175i[CPU ] real mode
00000204175i[CPU ] CS.d_b = 16 bit
00000204175i[CPU ] SS.d_b = 16 bit
00000204175i[CPU ] | EAX=000a0d59 EBX=0000d732 ECX=000a0001 EDX=00000400
00000204175i[CPU ] | ESP=0000fff0 EBP=0000fffa ESI=00000000 EDI=00000500
00000204175i[CPU ] | IOPL=0 NV UP DI PL ZR NA PE NC
00000204175i[CPU ] | SEG selector base limit G D
00000204175i[CPU ] | SEG sltr(index|ti|rpl) base limit G D
00000204175i[CPU ] | DS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000204175i[CPU ] | ES:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000204175i[CPU ] | FS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000204175i[CPU ] | GS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000204175i[CPU ] | SS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000204175i[CPU ] | CS:f000( 0000| 0| 0) 000f0000 0000ffff 0 0
00000204175i[CPU ] | EIP=000038eb (000038ea)
beyondsociety

Re:bochs error

Post by beyondsociety »

Your getting that error because bochs cant detect your image. Can you boot off a floppy using bochs?
Try: floppya: 1_44="a:", status=inserted

Does it work?
Tim

Re:bochs error

Post by Tim »

The image file might well be in the same directory as bochs.exe, but is the working directory set to the same directory as bochs.exe?

Try this:

Code: Select all

C:\>cd the\directory\where\bochs\is\installed

C:\THE\DIRECTORY\WHERE\BOCHS\IS\INSTALLED>bochs
Post Reply