Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 5742ef9e5e2ff37b444d9fb1d08bdcf8 > files > 195

bochs-2.4.2-1.fc13.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Setup</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Bochs User Manual"
HREF="book1.html"><LINK
REL="PREVIOUS"
TITLE="Compiling Bochs"
HREF="x815.html"><LINK
REL="NEXT"
TITLE="bochsrc"
HREF="x1387.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Bochs User Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x815.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1387.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="SETUP"
></A
>Setup</H1
><DIV
CLASS="SECTION"
><H1
CLASS="SECTION"
><A
NAME="AEN1346"
>What does Bochs need?</A
></H1
><P
>These are the minimum requirements for running an OS inside of Bochs:
<P
></P
><UL
><LI
><P
>the Bochs executable</P
></LI
><LI
><P
>the BIOS image (usually called <TT
CLASS="FILENAME"
>BIOS-bochs-latest</TT
>)</P
></LI
><LI
><P
>the VGA BIOS image (e.g. <TT
CLASS="FILENAME"
>VGABIOS-lgpl-latest</TT
> or <TT
CLASS="FILENAME"
>VGABIOS-elpin-2.40</TT
>)</P
></LI
><LI
><P
>at least one bootable media, either as disk image (floppy, hard disk or CD-ROM) or physical disk (floppy or CD-ROM)</P
></LI
></UL
></P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Both VGA BIOS versions as well as the ROM BIOS are part of Bochs. No separate download is necessary.</P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>If you want to use the Cirrus SVGA adapter instead of VGA + Bochs VBE, you should
have a look at <A
HREF="x3345.html"
>the Section called <I
>Notes about Cirrus SVGA usage</I
> in the Chapter called <I
>Tips and Techniques</I
></A
>.</P
></TD
></TR
></TABLE
></DIV
><P
>In that case you have to pass the configuration options on the command
line or to use the configuration interface to set up Bochs for the simulation.
Running Bochs is easier if you use a configuration file (we call it
<TT
CLASS="FILENAME"
>bochsrc</TT
>). See <A
HREF="x1387.html"
>the Section called <I
>bochsrc</I
></A
> for all supported options.</P
><P
>The easiest way to setup Bochs for the first time is to use the example configuration
file called <TT
CLASS="FILENAME"
>bochsrc-sample.txt</TT
>. Locate that file (location depends
on the (host) OS and on the installation facility used) and copy it to a location where
Bochs looks for that file, see <A
HREF="x2479.html"
>the Section called <I
>Search order for the configuration file</I
> in the Chapter called <I
>Using Bochs</I
></A
>.</P
><P
>The next step is to change the configuration so that it fits your needs: You most
likely want to setup a hard disk (see <A
HREF="x3685.html"
>the Section called <I
>Using the bximage tool</I
> in the Chapter called <I
>Tips and Techniques</I
></A
> and
<A
HREF="x1387.html#BOCHSOPT-ATA-MASTER-SLAVE"
>the Section called <I
>ata0-master, ata0-slave, ata1-*, ata2-*, ata3-*</I
></A
>), and install some OS on it using either
a set of floppy disks (see <A
HREF="x1387.html#BOCHSOPT-FLOPPYAB"
>the Section called <I
>floppya/floppyb</I
></A
>) or a CD-ROM
(see <A
HREF="x1387.html#BOCHSOPT-ATA-MASTER-SLAVE"
>the Section called <I
>ata0-master, ata0-slave, ata1-*, ata2-*, ata3-*</I
></A
> again) as installation media.
Make sure you boot the emulation from the media you want, using the right setting
as <A
HREF="x1387.html#BOCHSOPT-BOOT"
>boot option</A
>.</P
><P
>If your keyboard output inside of Bochs is wrong, you may also need a keymap file
to remap your keyboard layout to the U.S. layout. A set of keymap files for the
X window system and SDL (Linux port) is distributed with Bochs. If your
keyboard layout is not supported yet, you can create your own one by following the
instructions given in <A
HREF="x2052.html"
>the Section called <I
>How to write your own keymap table</I
></A
>.</P
><P
>A collection of disk images  of different operating systems can be found at
<A
HREF="http://bochs.sourceforge.net/diskimages.html"
TARGET="_top"
>http://bochs.sourceforge.net/diskimages.html</A
>. Some disk
images are the size of a floppy disk (1 meg compressed) and others are gigantic
(160 meg compressed). If you want to create a disk image yourself, please see
<A
HREF="c2694.html#DISKIMAGEHOWTO"
>the Section called <I
>How to make a simple disk image</I
> in the Chapter called <I
>Tips and Techniques</I
></A
>.</P
><P
> <IMG
SRC="../images/undercon.png"> This should be completed </P
><P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
>  - BIOS/VGABIOS, what do they do?</PRE
></TD
></TR
></TABLE
></P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x815.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x1387.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Compiling Bochs</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>bochsrc</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>