OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Nov 22, 2017 1:59 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Bochs does not work
PostPosted: Sun Oct 15, 2017 3:33 am 
Offline

Joined: Thu Oct 12, 2017 6:21 am
Posts: 5
I just installed bochs over commandline in Ubuntu 16.04

Code:
sudo apt-get update
sudo apt-get install bochs


Then I tried to execute my OS

Code:
bochs <img file>


But I got nothing but errors
The errors are in the attached picture
How can I solve this. I also tried to build it from source but that didn't work because of errors while making. It works under QEMU


Attachments:
bochs_error.jpg
bochs_error.jpg [ 115.18 KiB | Viewed 285 times ]
Top
 Profile  
 
 Post subject: Re: Bochs does not work
PostPosted: Sun Oct 15, 2017 3:55 am 
Offline
Member
Member
User avatar

Joined: Tue Dec 25, 2007 6:03 am
Posts: 702
Location: Perth, Western Australia
Bochs is nowhere near as simple to start up as qemu is - It needs a configuration file that specifies all of the hardware to emulate. If you start it with no arguments, it should provide an interface to create/edit this configuration file (including specifying your disk images)

_________________
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc


Top
 Profile  
 
 Post subject: Re: Bochs does not work
PostPosted: Sun Oct 15, 2017 4:03 am 
Offline

Joined: Thu Oct 12, 2017 6:21 am
Posts: 5
I chose the default configuration but I got the same error


Top
 Profile  
 
 Post subject: Re: Bochs does not work
PostPosted: Sun Oct 15, 2017 4:47 am 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 373
You could just RTFM to solve this problem. This forum is not meant to teach you how to use your tools.


Top
 Profile  
 
 Post subject: Re: Bochs does not work
PostPosted: Sun Oct 15, 2017 5:54 am 
Offline

Joined: Thu Oct 12, 2017 6:21 am
Posts: 5
I made bochs working by reading bochsrc sample file and configure it right


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group