Getting
Started:
1A.
configuring your virtual hard drive
-
Examine
the bochsrc file for examples of configuring a virtual hard drive. Try
using one of the sample configurations. For example, you want to create
a 112 M drive. The configuration would be: cylinders=900 heads=15 and sectors
per track=17.
-
Configure
your bochsrc file to use the new hard drive. Add an entry to the file that
reflects your virtual file name and location, and cylinders, heads, and
sectors per track. When BOCHS2 is executed, it will create the disk.
-
Set the
floppya configuration to direct access in the bochsrc file (if changed).
-
Put a
bootable DOS floppy in the floppy drive.
-
Start
up BOCHS2.
-
After
DOS has started, run FDISK to configure your partitions.
-
Exit FDISK,
which will want to "restart your system".
-
Restart
BOCHS2.
-
Run FORMAT
C: to make the partition usable.
-- or
--
1B.
configuring your zip or secondary hard drive drive for direct access
-
Configure
your bochsrc file to use the zip or hard drive. Add an entry to the file
that reflects the drive number, but ignore the cylinders, heads, and sectors
per track values. For Example: #diskc: file=2:, cyl=0, heads=0,
spt=0 would indicate the second drive unit, in my case, a zip drive.
-
If you
need to reconfigure your hard drive...
-
Set the
floppya configuration to direct access in the bochsrc file (if changed).
-
Put a
bootable DOS floppy in the floppy drive.
-
Start
up BOCHS2.
-
After
DOS has started, run FDISK to configure your partitions.
-
Exit FDISK,
which will want to "restart your system".
-
Restart
BOCHS2.
-
Run FORMAT
C: to make the partition usable.
2A. installing
Windows 9x from backup floppies
-
Put a
copy of pkunzip.exe onto a floppy
-
Insert
your Windows 9x CD
-
Use zip.exe
to backup the Windows 9x installation directory onto floppies.
-
Start
up BOCHS2 with your DOS floppy in the floppy drive.
-
After
DOS has started, press the A: icon in the upper left hand corner.
-
Remove
the DOS floppy, and insert the floppy with pkunzip.exe
-
Press
the A: icon in the upper left hand
-
Change
current drive to C:
-
Make an
install directory
-
Change
to the install directory
-
Copy a:pkunzip.exe
-
Press
the A: icon in the upper left hand
-
Put the
last zipped floppy into the floppy drive
-
Press
the A: icon in the upper left hand
-
Start
unzipping....
-
After
unzip is complete, start your Windows 9x installtion using "setup /C"
-
Please,
please, please read the documentation in docs-html directory about installing
Windows 9x - start with BOCHS.HTML.
-- or
--
2B.
installing Windows 9x using MTOOLS
-
Download
MTOOLS
for OS/2
-
create
your virtual image as described above
-
add the
following line into the mtools.conf: drive h: file="bochs_hd_drive:/bochs_hd_path/harddrive.img"
partition=1
-
set MTOOLSRC=mtools_drive:/mtools_path/mtools.conf
-
change
directory to mtools_path
-
change
to cd rom drive
-
change
directory to win95
-
mtools_drive:mmd
h:/install
-
for %a
in (*.*) do mcopy %a h:/install
-
Start
up BOCHS2 with your DOS floppy in the floppy drive.
-
Start
your Windows 9x installtion using "setup /C"
-
Please,
please, please read the documentation in docs-html directory about installing
Windows 9x - start with BOCHS.HTML.
3. Prepare
to be amazed to see Windows 9x running in a virtual session on your OS/2
machine!
OS/2
Specific parameters in the "bochsrc" file:
Parameter |
Description |
Possible Values |
lpt1 |
Device or file that the
virtual printer is to write to. |
file=prn, file=lpt1, file=lpt2,
file=lpt3, or file=filename |
videmode |
Method of display, direct
to screen, emulated, or text mode |
direct, emulated, or text |
Runtime
requirements:
Launch and Configuration
Utility:
Bochs
Launch and Configuration Utility