Running Minix 3 on VMware

This page describes the process of installing MINIX 3 on VMWare.

1. Preliminaries

Please install VMWare. VMWare binaries can be downloaded from their webpage.

2. Virtual Machine Setup

Before you install Minix 3, you will need to create a new virtual machine configuration. The VM configuration specifies the parameters of your Virtual machine, e.g., how much memory you want the VM to use, how big you want the virtual hard disk to be, etc.

2.1. Create a Virtual Machine -- VMware Server

In the main menu of VMware, select New Virtual Machine.

  1. Press Next in the Welcoming Screen.

  2. At the Virtual machine configuration menu, we select Typical.

  3. At the Select a Guest Operating System, select Other and Version Other.

  4. For Virtual Machine Name, write Minix3 (anything would work).

  5. At the Network Type screen, select Use bridged networking.

  6. For Disk Capacity, enter something around 2GBs, although even smaller values would work. That is the size of the virtual partition where Minix will be installed. Tick the Allocate all disk space now.

  7. Pressing Finish will create the Disk Image and the Virtual Machine that we will run.

2.2. Create a Virtual Machine -- VMware Workstation

In the main menu of VMware, select New Virtual Machine.

  1. At the Wizard, select Typical; and then, press Next.

  2. For the Guest Operating System Installation, select I will install the operating system later; and then, press Next.

  3. At the Select a Guest Operating System, select Other and Version Other.

  4. For Virtual Machine Name, enter Minix3 or some other meaningful name.

  5. At the Specify Disk Capacity, enter 2GBs, which is enough for all packages and sources. You can make it larger if you need to add more source files.

  6. At the Ready to Create Virtual Machine, ensure that Power on this virtual machine after creation is not checked; and then, press Finish.

You will need to edit the memory settings according to your needs. In the Devices section, select the Memory, and adjust the memory accordingly. Note that, in order to run the X Window System on Minix, you need at least 384MB.

2.3. Create a Virtual Machine -- VMware Player

If you are using the free VMware Player, you do not have the ability to create new virtual machines. The simplest way around that is to use EasyVMX to create your new (empty) virtual machines.

  1. Choose the Super Simple virtual machine creator at http://www.easyvmx.com/.

  2. Name the machine whatever you want.
  3. Operating System: Other OS (Note: choose the one that is NOT 64-bit).

  4. Choose appropriate memory and storage sizes (e.g., 512 MB Memory and 2GB storage).
  5. Don't worry about the LiveCD ISO, leave that blank (it will be dealt with, later).

  6. Press Create Virtual Machine.

  7. Download the compressed file, and unpack it. It should contain a directory with a bunch of VMware files.
  8. Start VMware Player, choose Open an existing virtual machine, and select the .vmx file in the directory you just unpacked.

  9. Once the virtual machine starts, go to the Devices Menu; and, in the CD/DVD item, choose Connect to Disk Image File (iso). Select the Minix3 ISO that you downloaded from the Minix 3 web-site.

  10. If necessary, reset the machine with Ctrl+R; and, it will boot from the ISO.

2.4. Installation

Assuming you have downloaded and decompressed a MINIX 3 ISO image from the download page, you can mount the ISO file:

  1. Select Minix3 in the Inventory List on the left.

  2. In the Devices section, double-click on CD-ROM.

  3. Select Use ISO Image.

  4. Browse, and select the .iso Minix image that you downloaded earlier.

Then you can follow the normal installation instructions.

When the installation is over, type

shutdown

When you get the d0p0s0> prompt, enter off to shutdown the Virtual Machine.

3. Booting Minix 3

Now, you have installed Minix 3 on the virtual machine. First thing that needs to be sorted is that, next time you boot, you want to boot from the operating system, and not from the CD image.

  1. In the Devices section, double-click on CD-ROM.

  2. Select Use Physical Drive.

Great, now you can boot into the newly installed operating system.

  1. Select Minix3 on the Inventory List on the left.

  2. In the Commands menu, Press Start this Virtual Machine.

4. Post-install Configuration

You should read Post Installation for some configuration tips.

5. Workarounds

5.1. Lance workaround

In Minix 3.1.5, after working correctly for a period of time, the lance driver may stop working silently, causing all network traffic to be dropped for some period of time. Workaround: when this happens, run "service refresh lance" as root to restart the lance driver. This issue has been fixed in the Minix trunk available from Subversion.

In Minix 3.1.3, the Lance driver set-up is broken, resulting in no network support for Minix3 in VMware.

You can use this set of instructions to get the Lance driver to work.

5.2. VMWare Hardware version 6.x workaround

For Minix versions below 3.1.4, you may see the following error when running newer versions of VMWare: *** vcpu-0:ASSERT vmcore/private/iospace_shared.h:558 bugNr=64440.

You will need to edit the .vmx file corresponding to your virtual machine. It can likely be found in ~/Documents/Virtual Machines/<VM name> or ~/vmware/<VM name>.

You will need to remove the line:

pciBridge0.present = "TRUE"

and any similar lines for pciBridge, pciBridge2, etc. from the .vmx file.

5.3. Unable to partition hard disk

VMWare Server, by default, installs SCSI hard disks.

In Minix3.1.3a, with this default configuration, the disk partitioning step would not run automatically. In 'expert mode', I couldn't partition my disk.

I removed the SCSI hard disk and installed an IDE disk instead.

MinixWiki: UsersGuide/RunningMinixOnVmware (last edited 2009-12-19 12:28:47 by ErikVanDerKouwe)