Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Sep 2014, 15:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Bochs-2.4.5
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
KusaNoKaito


Joined: 19 Feb 2010
Posts: 99
Location: Florida

PostPosted: Sat 22 May 2010, 03:51    Post subject:  Bochs-2.4.5  

Bochs (pronounced "box") is a portable x86 and x86-64 IBM PC compatible emulator and debugger mostly written in C++ and distributed as free software under GNU Lesser General Public License. It supports emulation of the processor(s) (including protected mode), memory, disks, display, Ethernet, BIOS and common hardware peripherals of PCs.

Many guest operating systems can be run using the emulator including DOS, several versions of Microsoft Windows, BSDs, Linux, Xenix, AmigaOS, Rhapsody and MorphOS. Bochs can run on many host operating systems, like Windows, Windows Mobile, Linux and Mac OS X

DOWNLOAD LINK
bochsinpuppy.png
Description  Just a little screencap to prove that it works in puppy. :)
png

 Download 
Filename  bochsinpuppy.png 
Filesize  209.57 KB 
Downloaded  1179 Time(s) 

_________________
Puppy Packages
My Website
Back to top
View user's profile Send private message Visit poster's website 
mahaju


Joined: 11 Oct 2010
Posts: 493
Location: between the keyboard and the chair

PostPosted: Thu 13 Jan 2011, 06:30    Post subject: Hi
Subject description: Hi
 

I am new to this and this looks interesting
could you please post details on how to use this?
I tried to run puppy (Version lupu-511.iso) in Boschs but can't get it to work
I have tried editing the "bochsrc.bxrc" of the supplied dlxlinux OS, but can't seem to get it to work

Specifically, when I right click on "bochsrc.bxrc" --> Debugger --> Edit the properties of Disk & Boot --> ATA Channel 0 --> First HD/CD on Channel 0 and browse for the "lupu-511.iso" under Path or physical device name, I get the message on the PANIC dialogue box "ata0-0 disk size doesn't match specified geometry" while in the Device field it shows [HD ]

I am completely new to this and have no idea how this works so I need detailed steps of configuring this software. Please post them if you have them or direct me to some helpful webpage

Thanks in advance
Smile
Back to top
View user's profile Send private message 
KusaNoKaito


Joined: 19 Feb 2010
Posts: 99
Location: Florida

PostPosted: Sat 15 Jan 2011, 20:47    Post subject:  

There is this helpful tutorial on the project's website.

Bochs is a tricky one, the best way to learn it is just to play around with the examples.

Also it does not work with all iso,s and boot images and it doesn't seem to work the same way in every computer.

(you don't have to add the ".bxrc" at the end of your bochrc)

To boot most iso,s I use a bochrc like the example below, if you want to try it just change the "c.iso" to the name of the iso you are trying to boot.

Code:
ata0-master: type=cdrom, path="c.iso", status=inserted
boot: cdrom

_________________
Puppy Packages
My Website
Back to top
View user's profile Send private message Visit poster's website 
mahaju


Joined: 11 Oct 2010
Posts: 493
Location: between the keyboard and the chair

PostPosted: Mon 17 Jan 2011, 00:24    Post subject: Hi
Subject description: Thank you for the code
 

Hello
I deleted everything in the boschrc file and copied your two lines of code and it seems to work (at least puppy image tries to boot). But I have some questions. The simulations seems to stop (actually, perhaps it is in some sort of internal infinite loop, as the IPS count keeps increasing and a small section labeled CD-0:M in the status bar keeps blinking green) but nothing seems to happen after this screen (I have attached a screenshot). Moreover, after a while the simulation screen seems to get cleared as the message pair

unknown register 0x179
unknown register 0x17a

continues to appear repeatedly after long gaps
What should I do? Should I download some older puppy image files or is there any other configuration changes that I may make?

Also, in the second line of the simulation screen it says Searching for puppy files on disk and it says "Done". Is it actually detecting the .sfs file that I have in another drive from a frugal install? I don't think that's possible but I'm asking you just to be sure. By the way, which puppy image do you use?

Thanks for your help
Very Happy
bosch messages 2.JPG
 Description   
 Filesize   129.6 KB
 Viewed   1075 Time(s)

bosch messages 2.JPG

Back to top
View user's profile Send private message 
mahaju


Joined: 11 Oct 2010
Posts: 493
Location: between the keyboard and the chair

PostPosted: Mon 17 Jan 2011, 01:29    Post subject: Hi  

Sorry to post another message so soon, but I have been trying this with ReactOS, Slax and dsl (Damn Small Linux), and non of them seem to work. Each one seems to exhibit a problem of it's own type. What should I do?
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Mon 17 Jan 2011, 13:36    Post subject:  

I'd use qemu instead -it is more reliable, easier and will run faster as well.
My first experience with linux was with it running inside MacBochs, but I wouldn't fool with it now that there is qemu.
Back to top
View user's profile Send private message 
mahaju


Joined: 11 Oct 2010
Posts: 493
Location: between the keyboard and the chair

PostPosted: Tue 18 Jan 2011, 00:41    Post subject: Hi  

Hi thanks for your replys
I found another software called VMWare Player
The link is somewhere in the puppy forums but I can't quite remember where
However I think a Google search for "VMWare Player" should bring it forward
I have found it works quite well and fast on my computer (3.2GHz P4 with 1.49GB RAM) running Win XP Profession Version 2002 and SP2. I have successfully run Puppy (lupu-511), ReactOS, Slax, Damn Small Linux and an Ubuntu version. However, I think the Ubuntu version is somewhat optimized for VMWare and I'm not sure what would be the performance level on the real Ubuntu or other bigger distros such as Fedora or Red Hat, or any version of Windows. However like I said above, it very comfortably runs less resource hungry distros like Puppy.
I would also like to try qemu. If you have any information about it then please share it here

Thanks
Back to top
View user's profile Send private message 
KusaNoKaito


Joined: 19 Feb 2010
Posts: 99
Location: Florida

PostPosted: Tue 18 Jan 2011, 19:31    Post subject:  

mahaju wrote:
Hello
I deleted everything in the boschrc file and copied your two lines of code and it seems to work (at least puppy image tries to boot). But I have some questions. The simulations seems to stop (actually, perhaps it is in some sort of internal infinite loop, as the IPS count keeps increasing and a small section labeled CD-0:M in the status bar keeps blinking green) but nothing seems to happen after this screen (I have attached a screenshot). Moreover, after a while the simulation screen seems to get cleared as the message pair

unknown register 0x179
unknown register 0x17a

continues to appear repeatedly after long gaps
What should I do? Should I download some older puppy image files or is there any other configuration changes that I may make?

Also, in the second line of the simulation screen it says Searching for puppy files on disk and it says "Done". Is it actually detecting the .sfs file that I have in another drive from a frugal install? I don't think that's possible but I'm asking you just to be sure. By the way, which puppy image do you use?

Thanks for your help
Very Happy


I've never tried to boot puppy with any kind of virtualisation program, with a frugal install already on my hard drive, so I don't really know if it's trying to use the .sfs on your drive. (that probably would not happen if you where using virtual box)

I have however had problems with puppy live CDs using the sfs files on my hard drive, there is a easy solution: before the CD or ISO begins to load the OS type "puppy pfix=ram" and that should stop it from searching for any .sfs on your HDD.

mahaju wrote:
Hi thanks for your replys
I found another software called VMWare Player
The link is somewhere in the puppy forums but I can't quite remember where
However I think a Google search for "VMWare Player" should bring it forward
I have found it works quite well and fast on my computer (3.2GHz P4 with 1.49GB RAM) running Win XP Profession Version 2002 and SP2. I have successfully run Puppy (lupu-511), ReactOS, Slax, Damn Small Linux and an Ubuntu version. However, I think the Ubuntu version is somewhat optimized for VMWare and I'm not sure what would be the performance level on the real Ubuntu or other bigger distros such as Fedora or Red Hat, or any version of Windows. However like I said above, it very comfortably runs less resource hungry distros like Puppy.
I would also like to try qemu. If you have any information about it then please share it here

Thanks


I personally have never used qemu, but it can be found here. (I'm gonna try to compile it, if I succeed, I'll post a .pet)

_________________
Puppy Packages
My Website
Back to top
View user's profile Send private message Visit poster's website 
mahaju


Joined: 11 Oct 2010
Posts: 493
Location: between the keyboard and the chair

PostPosted: Sun 30 Jan 2011, 06:30    Post subject:  

KusaNoKaito wrote:


I have however had problems with puppy live CDs using the sfs files on my hard drive, there is a easy solution: before the CD or ISO begins to load the OS type "puppy pfix=ram" and that should stop it from searching for any .sfs on your HDD.



Also, Puppy can be made to look for the sfs file in specific locations using the parameter pmedia
The details can be found here
http://pupweb.org/wikka/BootParms?show_comments=1

Hope this helps someone
Smile
Back to top
View user's profile Send private message 
linuxcbon

Joined: 09 Aug 2007
Posts: 762

PostPosted: Sat 16 Feb 2013, 19:55    Post subject:  

I tried Bochs 2.6 on windows with
Code:
boot: cdrom
ata0-master: type=cdrom, path="C:\LINUX\precise-5.4.90.iso", status=inserted
It boots puppy then it stops at "Making the filesystem usable... depmod". Bochs errors are
Code:
[CPU0 ] RDMSR: Unknown register 0x179
[CPU0 ] RDMSR: Unknown register 0x17a
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0758s ][ Queries: 13 (0.0045s) ][ GZIP on ]