Installing OpenBSD3.7 as a guest OS on a VMware Server

If you have tried installing any OS on VMware before and if you have tried installing OpenBSD on a real box, AND, you need to install OpenBSD on VMware, then read on...

There are a couple of important things to note/consider during installation. Let's just say that I ran into a some of "gotchas" while doing the install. I hope that this would prevent you or me (in case I need to do this again in the future) from the hassle of running into these simple but pesky problems.


[ONE: Prepare a new virtual machine]

When you're prompted to choose the "Guest OS", click on "Other". And then, on the drop down menu, choose "FreeBSD" for an i386 target platform or "FreeBSD 64-bit" for... well, I don't have to state the obvious. This allows you to maximize theoptimizations made by VMware for your taget OS (I'm just saying this because it sounds good but I honestly don't have any basis for that particular claim).

That's it for the first part. All the remaining options are yours to decide.


[TWO: OpenBSD3.7 Installation]

Installing Packages:

OpenBSD doesn't distribute official ISOs. However, there are available ISOs made by certain individuals which you can download and safely install. The problem with these ISOs is that they don't really follow a standard directory structure.

During installation, you will be prompted to specify the directory where the packages are located. Therefore, before you start installing OpenBSD, you need to know where the packages are located.

To do this you need to mount the ISO. On linux I issued the command:

`mount -o loop /path/to/ISO/file /path/to/mount/directory`


Making Partitions:

By default, the "a" partition is already created. This does not happen when you install OpenBSD on a real box. On a real box install, you only get the "c" partition (assuming you don't have any other OS installed) at first.

As a work around, you need to remove the "a" partition then add it again using your intended settings (it's retarded, I know). If you don't, then your installation will surely break.

After that, you can add the other remaining partitions.

No comments: