This article is the second part in a Windows P6 VirtualBox Install series. The purpose of this series is help P6 schedulers setup P6 on a Virtual Machine. In previous articles I discussed why Virtual Machines and Primavera P6 are an Ideal combination, how to install a Virtual Machine on you Windows System, and creating a virtual disk to host your P6 client system. Here are the links to those articles:
- P6 Scheduling: Why VM’s are Ideal for Scheduling in P6: This tutorial discusses why you should install P6 on a Virtual Machine.
- VirtualBox Installation: P6 VM Scheduling Tutorial Part 1: The first article in this series, it walks you through the installation of VirtualBox.
- P6 VirtualBox Virtual Disk: P6 VM Scheduling Tutorial Part 2: The second article in this series, it walks you through creating VirtualBox Virtual Disk.
The Situation Thus Far
If you are reading this tutorial, you should have completed the 2 previous tutorials VirtualBox Installation: P6 VM Scheduling Tutorial Part 1, and P6 VirtualBox Virtual Disk: P6 VM Scheduling Tutorial Part 2. You should have VirtualBox installed and have created a virtual disk. Now you are ready to install Microsoft Windows in a VirtualBox VM.
Requirements for a P6 VirtualBox Install
For this tutorial I am going to be using VirtualBox, because it’s freely available allowing us to get started up quicker. For this tutorial you’re going to need the following:
- 3 hours minimum: 1.5 hours for the installation and set-up of VirtualBox. 1.5 hours for the installation of the Microsoft Windows client system. This does not include the installation of Primavera P6 and the P6 database
- A basic understanding of how to navigate Microsoft Windows you will need this to download and install the program.
- A PC with the Windows Operating System. This isn’t a hard requirement, but the directions I’ll be supplying will be for Windows.
- 128 gigabytes of free hard drive space. This will be used to hold the entire virtual machine. This includes P6, Microsoft SQL Server, or Oracle’s SQL Server.
- 8GB of RAM: The more RAM the better, but 8GB of system memory is enough.
- VirtualBox Installed: This was done in the previous tutorial.
- A Virtual Hard Disk: This was done in the previous tutorial.
- VirtualBox 5.1.8 Oracle VM VirtualBox Extension Pack Installed: This was done in the previous tutorial.
- An Unused Microsoft Windows Licence and Install Media: You will need this to create a Windows Virtual Machine.
- Know How to Install Primavera P6: This is not needed for this tutorial, but you will need to do this to get Primavera P6 up and running within the VM. If you need help doing this I will post a tutorial on how to do so.
This tutorial requires you download software off of the internet and install it. While this is a common everyday occurrence the process is not without risk. You should always make sure to completely and verifiable back-up your system before downloading and installing anything from the internet, and this tutorial is no the exception. Before actually perform Step 1 you should have read through all the steps in this tutorial first and have decided if this is for you. Once you are ready to start the installation process please close down all open programs. As a rule you should not be installing this on a production system if this is you first attempt.
You are following this tutorial at your own risk. I have no idea if this will work without issue. All I can say is that these are the steps that I took and it worked fine for me. That is no guarantee that this will work for you. Proceed at your own risk. As with the installation of any software you should be prepared for things to go wrong, and should have a full system back ready to go if any issues arise.
Adding the Windows Install Disk
We will be adding the Windows install media to the virtual disk we created previously. Your first step is to open VirtualBox (fig. 1), once it’s opened select the virtual machine you created in part 2 and click settings.
In the VirtualBox settings window click “Storage” tab in the menu to the left. This will bring up the storage options, here you should click the CD icon: . More than likely it will be labeled “Empty” (fig. 2).
In the storage tab click CD icon: to the right of the “Optical Drive:” menu in the “Attributes” section (fig. 3).
As you can see from the image above there are two options available to you:
- Choose Virtual Optical Disk File: Choose this option if you have an .iso, .dmg, or .cdr file. If you are installing Windows from a disk file click the “Choose Virtual Optical Disk File” skip to the step titled “Windows P6 VirtualBox Install: .iso, .dmg, .cdr file“.
- Host Drive ‘x:’ : Choose this option if you have a physical windows install disk. You can see on my system the CD drive is the ‘E’ drive, yours may be different. If you are using a Windows CD to install your client system skip to the step titled “Windows P6 VirtualBox Install: Optical Disk“.
Installing Windows on VirtualBox: .iso, .dmg, .cdr file
DropBox allows you to install an OS from an optical disk. It creates a virtual DVD Drive using an .iso, .dmg. or /cdr file. Installing from an .iso, .dmg, or .cdr files is easy. Just browse to where the file is located select it and click open. Figure 4 below is the window you will need to use to choose the virtual optical disk file (fig. 4).
Once you’ve opened the optical disk file go to the section titled “VirtualBox Networking Setup“.
Installing Windows on VirtualBox: Optical Disk
DropBox allows you to install an OS from an optical disk. It creates a virtual DVD Drive using an .iso, .dmg. or /cdr file. Installing from an .iso, .dmg, or .cdr files is easy. Just browse to where the file is located select it and click open. Figure 4 below is the window you will need to use to choose the virtual optical disk file (fig. 5).
VirtualBox Networking Setup
To setup networking on your new system you will need to go to the Network tab (fig. 5). Then you should select the Adapter 1 tab and attach it to the Bridged Adapter. In the Name section you should select the network adapter that you will be using regularly. You can add information for other adapters, this may be helpful if you will use a WiFi connection sometimes and a wired connection others (fig. 6).
Once you have completed the network adapter setup click OK. We will then proceed with the starting up your new virtual machine.
Windows P6 VirtualBox Install: Opening Your Virtual Machine
Now that the Virtual Machine is set-up go ahead and select it from the list and click the Start button.(fig. 7).
As expected this will start the Virtual Machine, the first screen you will see is the VirtualBox BIOS screen (fig. 8)
If everything is set-up correctly you should be taken to the Windows installation screen. I’m using Windows 7 so it looks like Figure 8 below (fig. 9).
Windows P6 VirtualBox Install: Installing Microsoft Windows
Installing Windows is outside the scope of this article, but there are numerous resources online that go over this in great detail below are some I found with a quick Google:
I’m not sure how well these are made, and my linking to them is not an endorsement, so proceed at your own risk. This almost goes without saying, but please be careful and ensure that you are installing Windows on the Virtual Machine and not your main system. This would be difficult to do, but I’ve done IT helpdesk and for some users difficult is nothing.
Windows P6 VirtualBox Install: Installing VirtualBox “Guest Additions” After Installing Windows
The VirtualBox Guest Additions are a set of tools and drivers that get installed on the client system which makes working within the system smoother. To install the Guest Additions on you Windows P6 VirtualBox system open the Devices menu and select “Insert Guest Additions CD image“. This will insert the virtual CD to your system (fig. 10).
Inserting the Guest Additions CD image behaves as if you inserted a CD into a CD-ROM drive. You can open the CD by opening the CD drive like you normally would in Windows. Open the Virtual Machine’s CD drive (fig. 11).
Once you’ve opened the CD drive on the guest system one of two things will happen:
1. If Windows opens the AutoPlay dialogue select the “Run VBoxWindowsAssitions.exe” option (fig. 12):
2. If Windows will opens the CD ROM in Windows Explorer, open the “VBoxWindowsAssitions” file (fig. 13):
This will start the Oracle VirtualBox Guest Additions installation, click the “Next” button to continue (fig. 14).
The next dialogue to appear is the “Choose Components” dialogue. It is important that the Direct 3D Support option is unchecked. As you can see it’s labeled “Experimental”, therefore we are not interested in using it (fig. 15).
At this point the installer will start installing the VirtualBox Guest Additions to the client system the window will look like the one below. This process will take a while and eventually (fig. 16).
There will be a number of Windows Security dialogues that pop up during the installation asking if you want to install individual various device drivers. You should install all of them (fig. 17).
After a couple of minutes and a number of hardware installation dialogues the installer will ask you if you want to reboot the system now. You should do so (fig. 18).
A Good Place to Stop
Here is a good place to stop, at this moment we have installed VirtualBox, installed Windows on VirtualBox, and installed the VirtualBox Guest Additions. Your virtual machine is now ready to install P6 on it. At this point the machine will behave like any regular Windows installation. You can go ahead and use it as you would use any other computer. Go ahead and leave comments below if you have any questions and happy scheduling!