OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:19 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 1241 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: 734
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: 999
You could just RTFM to solve this problem. This forum is not meant to teach you how to use your tools.

_________________
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].


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: rdos and 103 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