Page 1 of 1

Bochs problem

Posted: Sun Jan 17, 2010 6:31 am
by Payn3
Configuration file
# You many now use double quotes around pathnames, in case
# your pathname includes spaces.

romimage: file=BIOS-bochs-latest, address=0xf0000
vgaromimage: VGABIOS-elpin-2.40
megs: 32

floppya: 1_44="/home/payn3/Desktop/Proiecte/ASM/a.img", status=inserted
boot: a

log: bochsout.txt
panic: action=ask
error: action=report
info: action=report
debug: action=ignore

vga_update_interval: 300000
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
floppy_command_delay: 500
ips: 1000000
mouse: enabled=0
private_colormap: enabled=0
fullscreen: enabled=0
screenmode: name="sample"
keyboard_mapping: enabled=0, map=

#keyboard_type: at
The error
Please choose one: [6] 6
00000000000i[ ] lt_dlhandle is (nil)
00000000000p[ ] >>PANIC<< dlopen failed for module 'x': file not found
========================================================================
Event type: PANIC
Device: [ ]
Message: dlopen failed for module 'x': file not found

A PANIC has occurred. Do you want to:
cont - continue execution
alwayscont - continue execution, and don't ask again.
This affects only PANIC events from device [ ]
die - stop execution now
abort - dump core
debug - hand control to gdb

Re: Bochs problem

Posted: Sun Jan 17, 2010 6:41 am
by StephanvanSchaik
It appears that you're missing bochs-x which is one of the GUI packages that can be used by Bochs. You should either get bochs-x from your package repository or you should get another GUI package and configure Bochs to use that.


Regards,
Stephan J.R. van Schaik.

Re: Bochs problem

Posted: Sun Jan 17, 2010 6:44 am
by gravaera
Hi:

If you used package management to get the binaries, do:

Code: Select all

sudo apt-get install bochs-x
If you compiled from source, try enabling X in the configure script. The bochs online documentation is pretty useful, too. You may find it useful to give it a read.

--good luck
gravaera

Re: Bochs problem

Posted: Sun Jan 17, 2010 6:52 am
by Payn3
It works, but now i have another problem.
FATAL: No bootable device
The img was created through wineconsole with makeboot.exe.

Re: Bochs problem

Posted: Sun Jan 17, 2010 9:32 am
by thepowersgang
Well, double check the boot signature on the disk.

Re: Bochs problem

Posted: Sun Jan 17, 2010 10:03 am
by Payn3
I'm pretty sure that the signature is fine.
dw 0xAA55 right?

It's there any posibility to pass the bootsect+kernel to usb drive and boot it from there?
I mean the bootsect i know how to pass it to usb and works,but i don't know how to do the same thing with the kernel.

The code

Code: Select all

sudo dd if=bootsect.bin of=/dev/sdf1  bs=512 count=1 

Re: Bochs problem

Posted: Tue Jan 19, 2010 2:23 pm
by jal
Payn3 wrote:I'm pretty sure that the signature is fine.
dw 0xAA55 right?
These are byte 510 and 511 I presume? And is the bochs configuration ok, i.e. does it even list the floppy drive or hard disk you want to boot from?


JAL