Editing VirtualBox Configuration

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 7: Line 7:
 
In order to use BSD within VirtualBox, you will need to download the GhostBSD ISO, create your own virtual machine, and use the ISO to install GhostBSD into it.
 
In order to use BSD within VirtualBox, you will need to download the GhostBSD ISO, create your own virtual machine, and use the ISO to install GhostBSD into it.
  
=== Minimum Sizing Requirements===
+
{{note|width=48.5%|VirtualBox does not automatically support USB as a boot device. The [https://www.virtualbox.org/wiki/Downloads Oracle VM VirtualBox Extension Pack] can be used to convert an .img file to a VMDK. However, there is no BSD Extension Pack at this time. This means that you should not download a GhostBSD USB image if you plan to use it within VirtualBox on a BSD system.}}
 +
 
 +
 
 
If you have downloaded the ISO file, you will need to first create a virtual machine that meets the following minimum requirements:
 
If you have downloaded the ISO file, you will need to first create a virtual machine that meets the following minimum requirements:
 
* 4 GB base memory size
 
* 4 GB base memory size
Line 15: Line 17:
 
=== Creating a Virtual Machine ===
 
=== Creating a Virtual Machine ===
  
Once VirtualBox is installed, launch VirtualBox. There will be an initial screen as depicted in Figure 2.7a.
+
[[File:VirtualBox-Welcome.png|thumb|393px|'''Figure 2.7a: Initial VirtualBox Screen''']]
  
[[File:VirtualBox-Welcome.png|thumb|360px|'''Figure 2.7a: Initial VirtualBox Screen''']]
+
Once installed, start VirtualBox to see the screen shown in Figure 2.7a.
  
[[File:VirtualBox-Select-Name-Type-Version.png|thumb|360px|'''Figure 2.7b: Type in a Name and Select the Operating System for the New Virtual Machine''']]
 
 
==== Set Name and Operating System ====
 
==== Set Name and Operating System ====
  
 
To create the virtual machine, click the "New" button to start the new virtual machine wizard. Click the "Next" button to see the screen in Figure 2.7b.
 
To create the virtual machine, click the "New" button to start the new virtual machine wizard. Click the "Next" button to see the screen in Figure 2.7b.
 +
 +
[[File:VirtualBox-Select-Name-Type-Version.png|thumb|393px|'''Figure 2.7b: Type in a Name and Select the Operating System for the New Virtual Machine''']]
  
 
Enter a name for your virtual machine, which can be anything that makes sense to you. Click the "Operating System" drop-down menu and select BSD which will automatically change the "Version" menu item to FreeBSD, change FreeBSD to FreeBSD (64 bit). Click Next to see the screen in Figure 2.7c:
 
Enter a name for your virtual machine, which can be anything that makes sense to you. Click the "Operating System" drop-down menu and select BSD which will automatically change the "Version" menu item to FreeBSD, change FreeBSD to FreeBSD (64 bit). Click Next to see the screen in Figure 2.7c:
Line 28: Line 31:
 
==== Set Memory Size ====
 
==== Set Memory Size ====
  
[[File:VirtualBox-Memory-Size.png|thumb|360px|'''Figure 2.7c: Select the Amount of Memory Reserved for the Virtual Machine''']]
+
[[File:VirtualBox-Memory-Size.png|thumb|393px|'''Figure 2.7c: Select the Amount of Memory Reserved for the Virtual Machine''']]
  
 
The base memory size must be changed to '''''at least 4096 MB. If you wish to use ZFS, it will need to be at least 2048 MB.'' ''' If your system has more RAM, use more. Any number within the green area is considered a safe value by VirtualBox, meaning it should not slow down your computer too much. When finished, click "Next."
 
The base memory size must be changed to '''''at least 4096 MB. If you wish to use ZFS, it will need to be at least 2048 MB.'' ''' If your system has more RAM, use more. Any number within the green area is considered a safe value by VirtualBox, meaning it should not slow down your computer too much. When finished, click "Next."
Line 34: Line 37:
 
==== Select Virtual Hard Disk ====
 
==== Select Virtual Hard Disk ====
  
[[File:VirtualBox-Hard-Disk.png|thumb|360px|'''Figure 2.7d: Select Whether to Use an Existing or Create a New Virtual Disk''']]
+
[[File:VirtualBox-Hard-Disk.png|thumb|393px|'''Figure 2.7d: Select Whether to Use an Existing or Create a New Virtual Disk''']]
  
 
As depicted in Figure 2.7d, this screen is used to create the virtual hard disk--in other words, the amount of disk space that will be available to the virtual machine. If this is your first virtual machine, keep the default of "Start-up disk" and click "Next". If you have created a virtual machine in the past and wish to reuse its disk space, select "Use existing hard disk" from the drop-down menu. You can create as many virtual machines as you wish. However, if your computer is getting low on disk space, you should consider reusing existing virtual hard disks to prevent your hard drive from being used up by old virtual machines.
 
As depicted in Figure 2.7d, this screen is used to create the virtual hard disk--in other words, the amount of disk space that will be available to the virtual machine. If this is your first virtual machine, keep the default of "Start-up disk" and click "Next". If you have created a virtual machine in the past and wish to reuse its disk space, select "Use existing hard disk" from the drop-down menu. You can create as many virtual machines as you wish. However, if your computer is getting low on disk space, you should consider reusing existing virtual hard disks to prevent your hard drive from being used up by old virtual machines.
Line 40: Line 43:
 
If you choose to create a new hard disk, the "Create New Virtual Disk Wizard", seen in Figure 2.7e, will launch when you click "Next".  
 
If you choose to create a new hard disk, the "Create New Virtual Disk Wizard", seen in Figure 2.7e, will launch when you click "Next".  
  
[[File:VirtualBox-Hard-Disk-File-Type.png|thumb|360px|'''Figure 2.7e: Create New Virtual Disk Wizard]]
+
[[File:VirtualBox-Hard-Disk-File-Type.png|thumb|393px|'''Figure 2.7e: Create New Virtual Disk Wizard]]
  
 
The wizard can be used to create the following types of virtual disk formats:
 
The wizard can be used to create the following types of virtual disk formats:
Line 50: Line 53:
 
Once you make a selection, click the "Next" button to see the screen in Figure 2.7f:
 
Once you make a selection, click the "Next" button to see the screen in Figure 2.7f:
  
[[File:VirtualBox-Storage-Type.png|thumb|360px|'''Figure 2.7f: Select the Storage Type for the Virtual Disk''']]
+
[[File:VirtualBox-Storage-Type.png|thumb|393px|'''Figure 2.7f: Select the Storage Type for the Virtual Disk''']]
  
 
You can now choose whether you want "Dynamically allocated" or "Fixed size" storage. The first option uses disk space as needed until it reaches the maximum size that you will 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 you are worried about disk space; otherwise, choose the second option as it allows VirtualBox to run slightly faster. Once you select "Next", you will see the screen in Figure 2.7g:
 
You can now choose whether you want "Dynamically allocated" or "Fixed size" storage. The first option uses disk space as needed until it reaches the maximum size that you will 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 you are worried about disk space; otherwise, choose the second option as it allows VirtualBox to run slightly faster. Once you select "Next", you will see the screen in Figure 2.7g:
  
[[File:Virtualbox-File-Location-Size.png|thumb|360px|'''Figure 2.7g: Select the File Name and Size of the Virtual Disk''']]
+
[[File:Virtualbox-File-Location-Size.png|thumb|393px|'''Figure 2.7g: Select the File Name and Size of the Virtual Disk''']]
  
 
This screen is used to set the size (or upper limit) of the virtual machine. If you plan to install GhostBSD into the virtual machine, ''' ''increase the size to at least 15 GB'' ''' or you will receive an error during the GhostBSD installation. If you plan to install application within the virtual machine, you will probably want to choose at least 30GB. Whatever size you set, make sure that your 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 your virtual machine.
 
This screen is used to set the size (or upper limit) of the virtual machine. If you plan to install GhostBSD into the virtual machine, ''' ''increase the size to at least 15 GB'' ''' or you will receive an error during the GhostBSD installation. If you plan to install application within the virtual machine, you will probably want to choose at least 30GB. Whatever size you set, make sure that your 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 your virtual machine.
Line 62: Line 65:
 
=== Configuring a Virtual Machine ===
 
=== Configuring a Virtual Machine ===
  
[[File:VirtualBox-New-Virtual-Machine.png|thumb|360px|'''Figure 2.7h: The New Virtual Machine''']]
+
[[File:VirtualBox-New-Virtual-Machine.png|thumb|393px|'''Figure 2.7h: The New Virtual Machine''']]
  
 
==== Set Network Adapter ====
 
==== Set Network Adapter ====
Line 68: Line 71:
 
If you wish to use your network card, you will need to configure bridging on your virtual machine. To do this, go to ''Settings'' ➜ ''Network''. 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 2.7i, the Intel Pro/1000 Ethernet card is attached to the network and has a device name of ''re0''.
 
If you wish to use your network card, you will need to configure bridging on your virtual machine. To do this, go to ''Settings'' ➜ ''Network''. 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 2.7i, the Intel Pro/1000 Ethernet card is attached to the network and has a device name of ''re0''.
  
[[File:VirtualBox-Configure-Bridge-Adapter.png|thumb|360px|'''Figure 2.7i: Configuring a Bridged Adapter in VirtualBox''']]
+
[[File:VirtualBox-Configure-Bridge-Adapter.png|thumb|393px|'''Figure 2.7i: Configuring a Bridged Adapter in VirtualBox''']]
  
 
==== Set Storage Device ====
 
==== Set Storage Device ====
Line 74: Line 77:
 
Before starting your virtual machine, you will want to configure it to use your installation media. Click the Storage hyperlink in the right frame to access the storage screen seen in Figure 2.7j:
 
Before starting your virtual machine, you will want to configure it to use your installation media. Click the Storage hyperlink in the right frame to access the storage screen seen in Figure 2.7j:
  
[[File:VirtualBox-Set-Storage-Device.png|thumb|360px|'''Figure 2.7j: The Storage Settings of the Virtual Machine''']]
+
[[File:VirtualBox-Set-Storage-Device.png|thumb|393px|'''Figure 2.7j: The Storage Settings of the Virtual Machine''']]
  
 
Double-click the word ''Empty'', which represents your DVD reader. If you wish to access the GhostBSD installer from your DVD reader, double-check that 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. Click the "CD/DVD Device" drop-down menu to change it from empty to the Host Drive value.
 
Double-click the word ''Empty'', which represents your DVD reader. If you wish to access the GhostBSD installer from your DVD reader, double-check that 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. Click the "CD/DVD Device" drop-down menu to change it from empty to the Host Drive value.

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)