Difference between revisions of "Installing 386BSD on BOCHS"

From Computer History Wiki
Jump to: navigation, search
(New page: {{newpage}})
 
Line 1: Line 1:
 
{{newpage}}
 
{{newpage}}
 +
This is the procedure that I have used to install [[386BSD]] onto a patched version of the Bochs IA-32 emulator. This is based on ancient FAQs and trial & error. It is assumed you use a modern Linux with a kernel that features the ip_tables packet filter and TUN/TAP as host OS. If you want to use a different platform you can still follow the tutorial as a guideline but you are on your own figuring out how to get the emulator networked. A good starting point is http://bochs.sourceforge.net/doc/docbook/user/bochsrc.html#AEN1831
 +
 +
Special attention has been given to the ability to run the emulator in the background.
 +
 +
== Requirements ==
 +
 +
You will need the following to get a 386BSD system patched and installed:
 +
 +
*A modern linux system with iptables
 +
*A working copy of gunzip
 +
*An http/ftp client like wget
 +
*An acceptable C compiler like gcc to compile Bochs
 +
*The curses/ncurses library for Bochs to simulate a monitor in a terminal
 +
*An ftp server for the distribution files
 +
 +
On a stock Basic Fedora Core 8 box you have these in no time with
 +
<pre>
 +
yum -y install wget
 +
yum -y install gcc
 +
yum -y install gcc-c++
 +
yum -y install ncurses-devel
 +
yum -y install vsftpd
 +
</per>
 +
 +
You also need
 +
*The bochs 2.4.2 sources
 +
*A patched pic.cc
 +
*The 386BSD distribution and patchkits
 +
but we will get to that later in the tutorial.
 +
 +
For those attempting to install on a different platform:
 +
 +
<br>You can download the Bochs sources from sourceforge
 +
*http://downloads.sourceforge.net/project/bochs/bochs/2.4.2/bochs-2.4.2.tar.gz
 +
 +
<br>A patched pic.cc can be found at http://www.xs4all.nl/~dugo/pic.cc
 +
*http://sourceforge.net/projects/bsd42/files/Install%20tapes/32v/32v.tap.bz2/download
 +
 +
<br>The 386BSD 1.0 distribution and patchkits can be found at
 +
*ftp://minnie.tuhs.org/BSD/
 +
*http://www.oldlinux.org/Linux.old/distributions/386BSD/
 +
 +
 +
== Preparing for installation ==
 +
 +
==  Boot 1. ==

Revision as of 20:25, 8 April 2010

Template:Newpage This is the procedure that I have used to install 386BSD onto a patched version of the Bochs IA-32 emulator. This is based on ancient FAQs and trial & error. It is assumed you use a modern Linux with a kernel that features the ip_tables packet filter and TUN/TAP as host OS. If you want to use a different platform you can still follow the tutorial as a guideline but you are on your own figuring out how to get the emulator networked. A good starting point is http://bochs.sourceforge.net/doc/docbook/user/bochsrc.html#AEN1831

Special attention has been given to the ability to run the emulator in the background.

Requirements

You will need the following to get a 386BSD system patched and installed:

  • A modern linux system with iptables
  • A working copy of gunzip
  • An http/ftp client like wget
  • An acceptable C compiler like gcc to compile Bochs
  • The curses/ncurses library for Bochs to simulate a monitor in a terminal
  • An ftp server for the distribution files

On a stock Basic Fedora Core 8 box you have these in no time with

yum -y install wget
yum -y install gcc
yum -y install gcc-c++
yum -y install ncurses-devel
yum -y install vsftpd
</per>

You also need
*The bochs 2.4.2 sources
*A patched pic.cc
*The 386BSD distribution and patchkits
but we will get to that later in the tutorial.

For those attempting to install on a different platform:


You can download the Bochs sources from sourceforge *http://downloads.sourceforge.net/project/bochs/bochs/2.4.2/bochs-2.4.2.tar.gz
A patched pic.cc can be found at http://www.xs4all.nl/~dugo/pic.cc *http://sourceforge.net/projects/bsd42/files/Install%20tapes/32v/32v.tap.bz2/download
The 386BSD 1.0 distribution and patchkits can be found at *ftp://minnie.tuhs.org/BSD/ *http://www.oldlinux.org/Linux.old/distributions/386BSD/

Preparing for installation

== Boot 1. ==