This section is divided up by platform, since installing a binary package is different on different platforms.
unzip into some directory. Look for DOC-win32.html for more instructions. Quick start: find dlxlinux/start.bat and double click
Someone needs to write this.
RPM stands for "RedHat Package Manager." An RPM is a compressed file containing files to be installed on your system. Many Linux distributions, not just RedHat ones, can install files from an RPM. Debian packages are available for Bochs as well, but this section talks deals with RPMs. First, download the Bochs RPM for your architecture to your computer. For example, if you have an Intel-compatible computer, be sure to get the RPM that says "for Linux x86 distributions." Once you have the package on your local disk, you should be able to install it as follows[1]:
Figure 3-2. Installing an RPM in Linux
user$ su Password: root# ls -l bochs-1.2.1.i386.rpm -rw-rw-r-- 1 user user 1877515 Sep 14 09:02 bochs-1.2.1.i386.rpm root# rpm -i bochs-1.2.1.i386.rpm Looking for fonts to install... /usr/local/bochs/latest/ Looking for X11 Font Path... /usr/lib/X11/fonts Installing vga.pcf... ok (it was already there) Running mkfontdir... Done installing Bochs fonts for X11. root# exit user$ _
Note: All RPM installations are done as the root user because they require permission to update system files and directories. If you do not have root access you need to compile Bochs in your home directory.
Tip: If RPM installation fails, try running rpm -e bochs first to erase any old bochs RPMs. VGA Font failure? For now, look at old bochs docs for now for instructions on installing the VGA font by hand.
Missing RPM dependencies? Try --nodeps option.
The Bochs RPM installs three new commands and associated manual pages: bochs, bochs-dlx, and bximage. First, let's try out the DLX Linux demo by typing bochs-dlx. This command is installed into /usr/local/bin, so you might need to add that directory to your PATH variable.
user$ bochs-dlx Checking for bochs binary...ok Checking for DLX linux directory...ok Entering /usr/local/bochs/dlxlinux Running bochs ======================================================================== Bochs x86 Emulator 1.2.1 June 12, 2001 ======================================================================== 00000000000 [ ] looking for configuration in .bochsrc 00000000000 [ ] looking for configuration in bochsrc 00000000000 [ ] looking for configuration in bochsrc.txt 00000000000 [ ] reading configuration from bochsrc.txt 00000000000 [ ] using log file bochsout.txtThen you get a new X11 window containing the VGA display of the simulated machine. First you see the VGA BIOS screen, then Linux uncompresses and boots, and you get a login prompt. Type "root" and ENTER to log in to DLX linux.
If you get the DLX Linux screen, your Bochs installation is working correctly. This documentation will assume that everything is working as expected, then there are some tips at the end in case any step goes wrong.
Point to all the files that get installed with the RPM: binaries,
BIOSes, DLX linux, HTML docs and man pages, etc.
[1] | Many distributions have their own RPM installer program, often graphical, and they should work as well. It is helpful to be able to see the text output from RPM, so if you use a fancy RPM installer, be sure to find the text output and check that it looks correct. |