A virtualized environment allows a user to test drive an operating
system without overwriting the current operating system. This is an
excellent way to practice installation, determine whether the hardware
is supported, or to try multiple versions of different operating
systems. Virtualization software effectively creates windows (known as
virtual machines) to install and use an operating system. The only
limitation to virtualization is the hardware, as each virtual machine
uses CPU and RAM. Depending upon the amount of CPU and RAM in the
computer, the installed operating system using virtualization software
may run slowly. If the computer slows down, try closing other
applications running on the computer to free up some RAM.
If the computer is running another operating system, download the binary
for the specific operating system from the
VirtualBox Downloads page.
VirtualBox runs on Windows, Linux, Macintosh, and OpenSolaris. It
supports a large number of virtual machine installable operating
1.3.1. Creating a Virtual Machine for an ISO File
Once the TrueOS® ISO is downloaded and VirtualBox installed on the
current system, create a virtual machine and use the ISO to install
TrueOS® into the virtual machine. The virtual machine must meet several
minimum requirements and this section will demonstrate how to configure
- 1024 MB base memory size.
- A virtual disk at least 20 GB in size for a server installation or
at least 50 GB in size for a desktop installation.
- A bridged adapter.
To create the virtual machine, start VirtualBox to see the screen shown
in Figure 1.3.1.
Fig. 1.3.1 VirtualBox Menu
Click New to start the new virtual machine wizard and
display the screen in Figure 1.3.2.
Fig. 1.3.2 Create Virtual Machine - Name, Type, and Version
Enter a name for the virtual machine; it can be anything which makes
sense to you. Click the Operating System drop-down menu and
select BSD. In the Version drop-down menu,
select FreeBSD (64 bit). Click Next to see the
screen in Figure 1.3.3.
Fig. 1.3.3 Virtual Machine Reserved Memory
The base memory size must be changed to at least 1024 MB. If the
system has a lot of RAM, use more. Any number within the green area is
considered a safe value by VirtualBox, meaning it should not slow down
the computer too much. When finished, click Next to see the
screen in Figure 1.3.4.
Fig. 1.3.4 Virtual Hard Drive - New or Existing
This screen is used to create the virtual hard drive, or the amount of
disk space available to the virtual machine. If this is your first
virtual machine, keep the default of
Create a virtual hard drive now and click
Create to go to the screen shown in
Figure 1.3.5. If you have created a virtual machine in
the past and wish to reuse its disk space, select
Use an existing virtual hard drive file from the drop-down
menu. Create as many virtual machines as desired. However, if the
computer is getting low on disk space, consider reusing existing virtual
hard drives to prevent the physical hard drive from being used up by old
Fig. 1.3.5 Hard Drive Type
Select VDI and click Next to see the screen in
Fig. 1.3.6 Storage Type
Now choose whether to have Dynamically allocated or
Fixed size storage. The first option uses disk space as
needed until it reaches the maximum size set in the next screen. The
second option creates a disk the same size as that specified amount of
disk space, whether it is used or not. Choose the first option if disk
space is a concern; otherwise choose the second option as it allows
VirtualBox to run slightly faster. Once Next is selected,
the screen in Figure 1.3.7 displays.
Fig. 1.3.7 Virtual Disk - File Name and Size
This screen is used to set the size (or upper limit) of the virtual
machine. If planning to install TrueOS® into the virtual machine,
increase the size to at least 20 GB or an error will display during
the TrueOS® installation. If planning to install KDE, GNOME, multiple
desktop managers, or applications within the virtual machine, choose at
least 50 GB. Whatever size is set, be sure the computer has enough
free disk space to support it. Use the folder icon to browse
to a directory on disk with sufficient space to hold the virtual
Once the selections are made, press Create to finish using
the wizard. The virtual machine will now show up in the left box, as
seen in the example in Figure 1.3.8.
Fig. 1.3.8 New Virtual Machine “test”
In order to use the network card, configure bridging on the virtual
machine. To do this, go to . In the
Attached to drop-down menu select
Bridged Adapter, then select the name of the physical
interface from the Name drop-down menu. In the example shown
in Figure 1.3.9, the Intel Pro/1000 Ethernet card is
attached to the network and has a device name of
Fig. 1.3.9 VirtualBox Bridged Adapter Configuration
Before starting the virtual machine, configure it to use the
installation media. Click the Storage hyperlink in the right
frame to access the storage screen seen in Figure 1.3.10.
Fig. 1.3.10 Virtual Machine Storage Settings
Double-click the word Empty, which represents the DVD
reader. To access the TrueOS® installer from the DVD reader,
double-check the Slot is pointing to the correct location
(e.g. IDE Secondary Master) and use the drop-down menu to
change it if the location is incorrect.
If using an ISO stored on the hard disk is preferred, click the
DVD icon then Choose a virtual CD/DVD disk file
to open a browser menu to navigate to the location of the ISO. Highlight
the desired ISO and click Open. The name of the ISO will now
appear in the Storage Tree section.
TrueOS® is now ready to be installed into the virtual machine.
Highlight the virtual machine and click on the green Start
icon. A window opens, indicating the virtual machine is starting. If a
DVD is inserted, it should audibly spin and the machine will start to
boot into the installation program. If it does not or if using an ISO
stored on the hard disk, press
F12 to select the boot device
when the message to do so appears, then press
c to boot from
CD-ROM. Proceed through the installation as described in the
If the installer GUI doesn’t appear to load after configuring
your virtual machine, you may need to enable EFI in Virtualbox by
checking Enable EFI (special OSes only).