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 creates a virtual machine, which is
essentially a computer environment created entirely in software that
allows the installation and use of an operating system. The only
limitation to virtualization is the hardware, as each virtual machine
uses real resources, the CPU and RAM. Depending on the amount of CPU and
RAM available on the host computer, the operating system installed as a
guest in the virtual environment may run slowly. If the host computer
slows down, closing other non-essential applications to free up CPU/RAM
1.3.3. Creating a Virtual Machine for a TrueOS® install
How to prepare VirtualBox for an installation of TrueOS® using an
Once a TrueOS® ISO is
VirtualBox installed on the host system, create a new virtual machine to
install TrueOS® as a guest OS. The virtual machine must meet several
minimum requirements in order to be useable. This section will
demonstrate how to configure the virtual machine for a TrueOS® guest.
- A minimum of 1024MB of memory.
- A virtual disk of 10-15 GB for a server installation or 20-30 GB for
a desktop installation should be a useable starting point. The actual
size of a virtual disk depends on the virtual machine’s intended use,
and what applications need to be installed for example but these sizes
should suit the average user’s needs.
- 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; anything can be entered but
something descriptive is recommended. 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
host 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 affect
the performance of the host 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 section is used to create the virtual hard drive, or the amount of
disk space available to the guest OS installed in the virtual machine.
If this is the first virtual machine, the default offered by the
Create a virtual hard drive now utility should be fine, then
click Create to go to the screen shown in
Figure 1.3.5. If there are existing virtual machines
already on the host system, reusing an existing virtual disk by
selecting Use an existing virtual hard drive file from the
drop-down menu. Create as many virtual machines as desired. If the host
system is getting low on disk space, consider reusing existing virtual
hard drives to prevent wasting space on the physical hard drive by old
unsed virtual machines.
Fig. 1.3.5 Hard Drive Type
Select VDI and click Next to see the screen in
Fig. 1.3.6 Storage Type
Next, choose whether to have Dynamically allocated or
Fixed size storage. Dynamically allocated uses disk space as
needed until it reaches the maximum size set in the next screen. The
Fixed size option creates a virtual 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® as the guest OS on 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 accommodate the size chosen. Use
the folder icon to browse to a directory on disk with
sufficient space to hold the virtual machine.
Once the selections are made, click 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 bridged network on the
virtual machine. To do this, go to
drop-down menu select Bridged Adapter, then select the name
of the physical network 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
. In the
Fig. 1.3.9 VirtualBox Bridged Adapter Configuration
Before starting the virtual machine, configure it to use the ISO
installation media downloaded previously. Click the Storage
hyperlink in the right frame to access the Storage screen seen in
Fig. 1.3.10 Virtual Machine Storage Settings
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
the location if 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 as a
guest OS. Highlight the virtual machine and click on the green
Start icon. A new 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
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 Install section.
If the installer GUI doesn’t appear to load after configuring
the virtual machine, EFI may need to be enabled in Virtualbox by
checking Enable EFI (special OSes only).