Bochs does not work

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
Xorda
Posts: 5
Joined: Thu Oct 12, 2017 6:21 am
Libera.chat IRC: Xorda

Bochs does not work

Post by Xorda »

I just installed bochs over commandline in Ubuntu 16.04

Code: Select all

sudo apt-get update
sudo apt-get install bochs
Then I tried to execute my OS

Code: Select all

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
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: Bochs does not work

Post by thepowersgang »

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
Xorda
Posts: 5
Joined: Thu Oct 12, 2017 6:21 am
Libera.chat IRC: Xorda

Re: Bochs does not work

Post by Xorda »

I chose the default configuration but I got the same error
Korona
Member
Member
Posts: 1000
Joined: Thu May 17, 2007 1:27 pm
Contact:

Re: Bochs does not work

Post by Korona »

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].
Xorda
Posts: 5
Joined: Thu Oct 12, 2017 6:21 am
Libera.chat IRC: Xorda

Re: Bochs does not work

Post by Xorda »

I made bochs working by reading bochsrc sample file and configure it right
Post Reply