Setting up Bochs (win32 version) to run Windows 95 (updated 28 aug. 2001)
In this tutorial I will try to describe how to set up Windows 95 in the Windows version of the Bochs x86 emulator. There are many ways to install it but I describe one of them. You will need the Windows 95 install CD in order to fully use this tutorial. Also this was tested on a Windows 2000 machine, and in the current (1.2.1) version (when this was written) does not support physical CD-ROM or floppy access under Windows 9x/ME, so if you're using one of those systems you'll have to find another solution like making a diskimage of the CD (which isn't covered in this tutorial).
Windows 10 Img File For Bochs Thousands of brand ratings, articles and expertise on ethical and sustainable fashion. Know the impact of brands on people and planet, and discover better fashion. Windows Download and run the pre-built installer. This will install bochs and bochsdbg, under C: Program Files. The first does not support debugging and the latter, bochsdbg, has an internal debugger. You may be able to run bochs and select the bochsrc file to read (provided with the project code template) immediately. If this does not work.
1. Download Bochs for Windows from bochs.sourceforge.net and unzip it. I also used the Rawwrite, which is often used to make bootdisks for linux installations. You can get the utils here. You will also need the Windows 95 cd.
- Bochs is a highly portable open source IA-32 (x86) PC emulator written in C, that runs on most popular platforms. It includes emulation of the Intel x86 CPU, common I/O devices, and a custom BIOS. Bochs can be compiled to emulate many different x86 CPUs, from early 386 to the most recent x86-64 Intel and AMD processors which may even not reached the market yet.
- « Windows ME Floppy Boot Disk Image Windows XP Professional Floppy Boot Disk Image Windows 98 Floppy Boot Disk Image » Comment Rules & Etiquette - We welcome all comments from our readers, but any comment section requires some moderation.
- Description: Bochs is a highly portable open source IA-32 (x86) PC emulator written in C, that runs on most popular platforms. It includes emulation of the Intel x86 CPU, common I/O.
2. Make a subdirectory (it doesn't have to be a subdir, it can probably be anywhere) in the bochs directory, for example 'win95'.
3. Making the images. Now you can use the program called bximage.exe to make a hard-drive image. The normal install of windows 95 is about 80Mb and you probably want some room for apps too.
Windows Xp Img/iso File Download(for Limbo Pc Emulator Or Bochs)
The cyl, heads and sectors per track are important so you'd better write 'em down somewhere. When the image is ready, move the file to the subfolder.
Now for the bootdisk. You can use a physical bootdisk with bochs (easier), or you can use an image. You can use any bootdisk that boots into dos and loads the CD-ROM drivers, I used the win98 bootdisk, and it worked very good. If you are going to use a physical disk you can go to number 4 now. If you want to use a floppy disk image (for some odd reason), you can now use the rawwritewin.exe util that came in the dosutils zip file.
Put a bootdisk into the floppydrive, name the image (example: a.img) and push the 'read' button. Move the created floppy image to the subfolder you created earlier.
4. Now for the bochsrc file. I have uploaded a zip file here, containing my bochsrc and a bat file that I'm going to talk about further on in this tutorial.
The bochsrc file have to be in the same subdir as the images. The version I included is a modified version of the bochsrc file for the small linux distro that came along in your bochs version. I haven't modified the file much so if you want to modify it yourself, the file bochsrc-sample.txt in your bochs directory is an excellent model.
You must change the 'h:' in the line 'cdromd: dev=.h: , status=inserted' to the drive letter of your CD-ROM drive.
Then you have to change the cyl, heads and spt (sectors per track) values in the 'diskc: file=c.img, cyl=xxx, heads=xx, spt=xx' line to the correct ones for your image (you wrote it down when you made the image, hopefully :-P ) and change the c.img if you named your hard-disk image otherwise.
Also, if you're going to boot from a floppyimage instead of a physical floppy, you should change the line: 'floppya: 1_44=.a:, status=inserted' to 'floppya: 1_44=a.img, status=inserted' (if your floppyimage's name is a.img).
You should also put the file included in this file on a floppy and use rawwritewin to make it a floppyimage, put the image in the usual subdirectory. Edit the 'b.img' in the line '#floppyb: 1_44=b.img, status=inserted' in the bochsrc file to the name of the image of the disk with the mouse.com on it, so that you get a second floppy drive inside the emulator (B:) from where you can load the mouse drivers.
5. Now you have to make (or take the one from the bochsrc.zip file) a bat file that points to the bochs.exe in your bochs directory. If you created a subdir, the file just need to loke like this: ..bochs , place the bat file in the same subdir as the images and bochsrc file.
6. Make sure you have the win95 cd in the cd-rom drive and the bootdisk (if you're using a physical one) in the floppy drive and then run the bat file. If everything goes right you should be booted into DOS.
When you've successfully booted to dos, you could run fdisk to partition the HD-image and then format it using format c:
Now you just run setup.exe from the win95 cd and if everything goes right you should soon have a working windows 95 in the emulator.
When you have finished installing Win95, you could do the following changes to the bochsrc file:
- Put the #-sign in this row: '#floppyb: 1_44=b.img, status=inserted', because you will probably not need the mouse drivers anymore now.
- change 'boot: a' to 'boot: c', so it will boot straight to windows when you start the emulator.
Enjoy!!!
Any comments can be sent to me!
Stefan 'MZGuy' Grönroos
This was contributed by Greg Alexander in October 2001 and updated byVolker Ruppert in October 2013.
What you need:
An executable version of Bochs. See Downloading Bochs and Compiling Bochs.
The bximage program, included with Bochs.
A FreeDOS boot disk, or a boot disk from another OS capable ofproducing DOS partitions (e.g. a Linux install disk).
(Optional) mtools, a program for manipulating DOS disks/images.
Option 1: Using the Unix
You will need to know the geometry of the disk you want tocreate. You have to compute the disk sector count:
Use the dd command to create your file:(replace 'sectors' with the number you computed at theprevious step).
When you'll update your configuration file, pleasefill in the same cylinders, heads and sector pertrack values.
Option 2: Run
Since we want to create a new image, we have to type '1'and then
Since we are creating a hard disk image, accept the default of hd bypressing
We want to create a simple flat image, so accept the defaultby pressing
Enter the size of the hard disk you want to create, and press
Windows Xp Img File Download(for Bochs)
At this point, type in the filename you want to use for the image. Thedefault of 'c.img' is appropriate if this will be your only hard diskimage. After you have typed in the name of the filename you want touse, press
The following line should appear in your
At this point, a file called 'teaching.img' was created in my currentdirectory and is ready to be used as an image file for a Bochs session.
Tip: You may want to name your image
Option 1: Using FreeDOS (Advantage: Creates a MBR on the partition.)
First, you need to edit the
Also, you need to download or create a FreeDOS (or DOS, or Windows, orLinux) disk image. Modify the 'floppya:' line in your
Save and close your
Use the standard FreeDOS commands
Option 2: Using mtools (Disadvantage: Cannot create bootable imageswithout a MBR image.)
Use a text editor to add the following line to the file
Save and close
For example, for my 10 meg drive, I used:
Next, format the partition you just created using the mformat command:
And you now have a formatted disk image containing a single DOSpartition.
Note: The mpartition command doesn't handle images larger than 1024 cylinders properly.The partition size reported by fdisk is okay, but mformat reports only 504 MB(tested with mtools 3.9.9).