LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2006, 05:26 PM   #1
Tux
Member
 
Registered: Jan 2006
Distribution: Slackware and Blag
Posts: 36

Rep: Reputation: 15
Question Why won't bochs work?


I downloaded bochs, but it doesn't seem to work. No matter what boot image i use it tells me that it cannot read the hard drive image and with the right config it can get the bios to starts, but then it cannot use the boot image. This error came up with both DLX Linux and FreeDos. Any help would be great. (I was using the bochsrc files that came with the images)

thanks in advance!
 
Old 05-28-2006, 07:50 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
have never tried those images but I have got box to work with this text file saved to my home folder as .bochsrc

####file starts here copy and paste if you wish to test
# configuration file generated by Bochs
config_interface: textconfig
display_library: x
megs: 128
romimage: file="/usr/share/bochs/BIOS-bochs-latest", address=0xf0000
vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest"
boot: cdrom, floppy
floppya: 1_44=/dev/fd0, status=inserted
# no floppyb

ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f6, irq=14


ata1: enabled=0
##
ata2: enabled=0
ata3: enabled=0
ata0-master: type=cdrom, path="/dev/hda", status=inserted

parport1: enabled=0
parport2: enabled=0
com1: enabled=0
com2: enabled=0
com3: enabled=0
com4: enabled=0
i440fxsupport: enabled=0
usb1: enabled=0
sb16: enabled=0
floppy_bootsig_check: disabled=0

vga_update_interval: 25000
vga: extension=vbe
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
floppy_command_delay: 500
ips: 1000000

text_snapshot_check: 0
mouse: enabled=0
private_colormap: enabled=0

clock: sync=none, time0=local

ne2k: enabled=0
pnic: enabled=0
# no loader

log: /home/g/bochslog.txt
logprefix: %t%e%d
debugger_log: /home/g/bochsdebug.txt

panic: action=fatal
error: action=report
info: action=ignore
debug: action=ignore
pass: action=fatal

keyboard_mapping: enabled=0, map=
keyboard_type: mf
user_shortcut: keys=none
# no cmosimage

#file ends
 
Old 05-28-2006, 10:41 AM   #3
Tux
Member
 
Registered: Jan 2006
Distribution: Slackware and Blag
Posts: 36

Original Poster
Rep: Reputation: 15
I want to boot from an .img file though...

I'm using this to test an OS i'm building for fun, and I'm using dos and a bootloader. I need to boot freedos from an .img file and use a .img file as the hd, heres the config file provided.

megs: 32
romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
vga: extension=vbe
floppya: 1_44=a.img, status=inserted
floppyb: 1_44=b.img, status=inserted
ata0-master: type=disk, path=c.img, cylinders=306, heads=4, spt=17
boot: c
log: bochsout.txt
mouse: enabled=0
ips: 15000000
vga_update_interval: 150000

All the image files are in the same directory, but not the same as the ROM images.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bochs Four Linux - Newbie 1 01-14-2006 12:21 AM
Bochs mtecknology Linux - Software 1 07-03-2005 04:54 PM
any have a bochs how to? paul_mat Linux - Newbie 2 05-29-2005 06:17 PM
OS/2 in bochs Tinkster Linux - Software 0 01-08-2004 02:56 PM
getting bochs to work bmike1 Linux - Software 0 08-12-2003 01:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration