Instructions on using Bochs 2.0 for your ECS 150 programming assignments

Similar documents
Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

USB FLASH DRIVE. User s Manual. USB 2.0 Compliant. Version A Version A10

AccXES Account Management Tool Administrator s Guide Version 10.0

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Parallels Desktop for Mac

1. Scope of Service. 1.1 About Boxcryptor Classic

IBM Rapid Restore PC powered by Xpoint - v2.02 (build 6015a)

USB 2.0 Flash Drive User Manual

GAUSS 9.0. Quick-Start Guide

4 Backing Up and Restoring System Software

Understanding the Boot Process and Command Line Chapter #3

Keystone 600N5 SERVER and STAND-ALONE INSTALLATION INSTRUCTIONS

How to Install Microsoft Windows Server 2008 R2 in VMware ESXi

FortiClient SSL VPN Client User s Guide

Configuring Virtual Blades

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

Setup and Configuration Setup Assistant Migration Assistant System Preferences Configuration Profiles System Information

Getting Started with VMware Fusion

Using GIGABYTE Notebook for the First Time

User Manual. 2 ) PNY Flash drive 2.0 Series Specification Page 3

EasySuite. User Guide V1.0

User Manual. Copyright Rogev LTD

VMware Horizon FLEX User Guide

Installing the Operating System or Hypervisor

vtcommander Installing and Starting vtcommander

Matisse Installation Guide for MS Windows. 10th Edition

Driver Upgrade Instructions

MY WORLD GIS. Installation Instructions

VOICE IMPROVEMENT PROCESSOR (VIP) BACKUP AND RECOVERY PROCEDURES - Draft Version 1.0

Overview Customer Login Main Page VM Management Creation... 4 Editing a Virtual Machine... 6

Dual-boot Windows 10 alongside Windows 8

ROUNDTABLE TSMS v9.1c - MS-Windows. Install Notes

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

Korosi Monitoring System (KMS) Software Manual

Signiant Agent installation

This CD-ROM includes the following online guides;

MULTIFUNCTIONAL DIGITAL SYSTEMS. Network Fax Guide

NAS 249 Virtual Machine Configuration with VirtualBox

D i g i g r a m. sound card range. Professional stereo and multichannel sound cards. Installation and set-up

Out n About! for Outlook Electronic In/Out Status Board. Administrators Guide. Version 3.x

USB. 16MB~2GB JetFlash. User s Manual

Bitten by The NAS Bug

EZblue BusinessServer The All - In - One Server For Your Home And Business

Oracle Change Management Pack Installation

ACS CLIENT SOFTWARE USER MANUAL

The 2013 Experimental Warning Program (EWP) Virtual Weather Event Simulator (WES) Windows & Linux Installation Documentation

Setting up FileMaker 10 Server

Click to begin. Maitre'D Full System Backup & Restore

ECT362 Installing Linux Virtual Machine in KL322

«Disaster Recovery» A DOM Restore Guide for Thecus NAS

VERSION 9.02 INSTALLATION GUIDE.

VIVIDESK Desktops can be accessed with a Macintosh Computer by one of two methods:

Operating System Installation Guidelines

Chapter 3 Create an EasyBuilder Project... 2

ADMINISTRATOR S GUIDE

The IDL Virtual Machine

Imaging License Server User Guide

Remote Desktop Connection Setup at King s College in Wilkes-Barre, PA

DEPARTMENT OF BUDGET AND MANAGEMENT. Enhanced Public Financial Management Assessment Tool for Local Government Units (PFMAT for LGUs) Software

SecureVault Online Backup Service FAQ

Cloning Utility for Rockwell Automation Industrial Computers

5nine Hyper-V Commander

Using VMware Player. VMware Player. What Is VMware Player?

Enterprise Reporting Server v3.5

Using the IPMI interface

CafePilot has 3 components: the Client, Server and Service Request Monitor (or SRM for short).

Overview of ServerView Windows Agent This chapter explains overview of ServerView Windows Agent, and system requirements.

Using ESXi with PowerChute Business Edition

Lexia Network Installation Instructions

OFFICE KEYBOARD (MT1210 & MT1405) OFFICE FEATURES

VERITAS Backup Exec TM 10.0 for Windows Servers

Cincom Smalltalk. Installation Guide P SIMPLIFICATION THROUGH INNOVATION

Type Message Description Probable Cause Suggested Action. Fan in the system is not functioning or room temperature

Active Directory Integration for Greentree

User s Guide for version 5 Page

Installing Microsoft Outlook on a Macintosh. This document explains how to download, install and configure Microsoft Outlook on a Macintosh.

ArCycle vmbackup. for VMware/Hyper-V. User Guide

About Parallels Desktop 10 for Mac

How To Backup Your Computer With A Remote Drive Client On A Pc Or Macbook Or Macintosh (For Macintosh) On A Macbook (For Pc Or Ipa) On An Uniden (For Ipa Or Mac Macbook) On

REMOTELY ACCESS YOUR FILES WITH THE FLAGLER FILECONNECT SYSTEM

FileMaker Server 7. Administrator s Guide. For Windows and Mac OS

Windows 10. What is Windows 10? How to Get Windows 10?

System Area Manager. Remote Management

Download and Install the Citrix Receiver for Mac/Linux

Windows 7 USB/DVD download tool

Guide: Using Citrix for Home/ Office

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

2-Bay Raid Sub-System Smart Removable 3.5" SATA Multiple Bay Data Storage Device User's Manual

Land Information New Zealand (LINZ) SALT Database. Migration from original hardware to virtualised hardware: Process Documentation

Yosemite Server Backup Installation Guide

Installation Instructions

Acronis Disk Director Server User s guide

VMware vsphere 5 Quick Start Guide

mypro Installation and Handling Manual Version: 7

Cloud Catcher TM Software

Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v Steps to Developing a QNX Program Quickstart Guide

User Guide Software Version 2.1.0

NOTE: You may want to choose the Word Wrap option from Notepad Edit menu to make this text more readable.

Symantec Backup Exec 12.5 for Windows Servers. Quick Installation Guide

Transcription:

Instructions on using Bochs 2.0 for your ECS 150 programming assignments - What is Bochs? Bochs is an IA-32 (x86) PC emulator. It includes emulation of the Intel x86 CPU, common I/O devices, and custom BIOS. Currently, Bochs can be compiled to emulate a 386, 486 or Pentium CPU. Bochs is capable of running most Operating Systems inside the emulation including Linux, Windows 95, DOS, and recently Windows NT 4. For more information, you can visit the official website at: http://bochs.sourceforge.net/ - Getting started Create a directory called ecs150 in your home directory (or something else, it is your choice really). Download the Minix setup file from the link below, and save it to the directory you just created. (Caution: You will need about 50MB of disk space to setup Minix) http://wwwcsif.cs.ucdavis.edu/downloads/minix.tar.gz After you have downloaded the file, uncompress the file by typing the following command: > tar zxf minix.tar.gz You should now have 2 new files in your directory: bochsrc.txt: This file contains the parameters for Bochs to setup and initialize the emulation. minix203.img: This file contains the Minix 2.03 OS - Using Bochs In the ecs150 directory that contains the bochsrc.txt and minix203.img, type: > bochs q The emulator will launch in a new window, like the one shown below:

Fig. 1 Initial Startup Screen Press the equal key (=) to start Minix. You should then see the following screen:

Fig. 2 Login Prompts Type root at the login prompt, there is no password required. You are now inside Minix! Layout of the Bochs window On the top portion of window is the Bochs toolbar. The buttons on the toolbar are explained in follows: Floppy drive A and B: When an X is over the floppy drive icon, it means the drive is unmounted under Bochs. Click on the drive icon to mount/unmount the drive in Bochs CD-ROM drive:

Click on the CD icon to mount/unmount the CD-ROM in Bochs. Mouse emulation: Click on the mouse icon to turn on/off mouse emulation in Bochs. User button shortcut: Setup the user button shortcut. Please refer to the official documentation for details. Copy/Paste: Copy/Paste text to and from Bochs. Snapshot: Take a snapshot of the Bochs screen, and save it in a file called snapshot.txt in the same directory you launched Bochs. Config: Configure the Bochs runtime options. You will need to switch to the terminal to configure the settings. Reset: Reset the emulator. Power: Shutdown the emulator.

Using the floppy drive under Bochs in Minix In Bochs, the two floppy drives are configured as follows: Floppy drive A: /dev/fd0 in Minix, the physical floppy drive on the machine Floppy drive B: /dev/fd1 in Minix, a file called floppy.img in the same directory as bochsrc.txt The floppy.img file mentioned above can be downloaded in the link below. Be sure to save the file into the same directory as bochsrc.txt (the same directory you launch Bochs) http://wwwcsif.cs.ucdavis.edu/downloads/floppy.tar.gz After you have downloaded the file, uncompress the file by typing the following command: > tar zxf floppy.tar.gz Using floppy drive A (You will need a floppy disk) Before you can use the floppy drive A, you will need to have Minix-formatted floppy. To create a Minix-formatted floppy disk: 1. Start up the emulator and log on to Minix as usual. 2. Insert a floppy disk into the floppy drive on the machine. 3. Make sure the Floppy Drive A icon is not crossed. If it is, click once on the icon to mount the floppy under Bochs. 4. In Minix, type mkfs /dev/fd0 1440 Mounting the floppy drive A: 1. Insert a Minix-formatted disk into the floppy drive, and make sure it is mounted under Bochs. 2. In Minix, type mount /dev/fd0 /fd0 3. The floppy is now mounted under /fd0. You can now save files into that directory. Unmounting the floppy drive A: 1. In Minix, type umount /dev/fd0 2. Click on the Floppy Drive A icon on the Bochs toolbar to unmount the floppy under Bochs. 3. Remove the disk from the drive. Using floppy drive B (A floppy disk is not required) The floppy.img you have downloaded is already formatted as a Minix floppy disk. You can start using it immediately. Mounting the floppy drive B: 1. Make sure the disk is mounted under Bochs.

2. In Minix, type mount /dev/fd1 /fd1 3. The floppy is now mounted under /fd1. You can now save files into that directory. Unmounting the floppy drive B: 1. In Minix, type umount /dev/fd1 2. Click on the Floppy Drive B icon on the Bochs toolbar to unmount the floppy under Bochs. Treat the floppy.img as if it is a real floppy disk. Make backup copies of the file in case you accidentally deleted the file or the file becomes corrupted. When you are done using Minix Type shutdown at the Minix command prompt, and then click the Power Button on the Bochs toolbar to quit the emulator. - Problems and troubleshooting Q: I have inserted a Minix-formatted floppy into the floppy drive in the machine. However when I try to mount the floppy, it gives me an error. A: Make sure the floppy is mounted under Bochs. If the floppy icon on the Bochs toolbar is crossed, click on it to mount the floppy. If it is not crossed, click on the floppy icon once to unmount it, and then click on it again to mount the drive. If that still doesn t work, you may want to reset the emulator by clicking on the reset button on the Bochs toolbar. Q: Sometimes I have to switch to another application from Bochs. However when I switch back to Bochs, whatever I typed in Bochs showed up as garbage in the emulator. Is there anyway to fix it? A: Unfortunately no, you will have to reset the emulator by clicking on the reset button on the Bochs toolbar. Q: I think I have done something wrong to the Minix system and now it won t work correctly. What can I do? A: Replace the minix203.img from the archive you have downloaded during the Getting Started phase. You may also need to replace bochsrc.txt if you have modified it. Q: I want to install Bochs on my home computer. What can I do? A: If you are using Linux, you can download the following file: http://wwwcsif.cs.ucdavis.edu/downloads/minix.tar.gz

After you have downloaded the file, uncompress the file by typing the following command: > tar zxf bochs.tar.gz You should now have 3 new files in your directory: o bochs-2.0.2.i386.rpm: This file contains the Bochs 2.0.2 installer in RPM format. o svgalib-devel-1.9.17-1.i386.rpm: This file contains library files required by Bochs. o wxgtk-2.3.3-1cl.i386.rpm: This file contains the library files required by Bochs. How to install: You have to install the two library RPMs first. You can do this by using the following command: > rpm i svgalib-devel-1.9.17-1.i386.rpm > rpm i wxgtk-2.3.3-1cl.i386.rpm After you have installed the two library files, you can install Bochs by typing: > rpm i bochs-2.0.2.i386.rpm Bochs is now installed on your machine. It should be installed under /usr/bin/bochs If you are using some other operating systems, such as Microsoft Windows or Apple Mac OS 9 / OS X, you can download the installers from the official Bochs website: http://bochs.sourceforge.net/