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 2: Line 2:
  
 
A virtualized environment allows you to test drive an operating system without overwriting your current operating system. This is an excellent way to practice installation, determine whether all of your hardware is supported, or to try multiple versions of different operating systems. Virtualization software effectively creates windows (known as virtual machines) into which you can install and use an operating system. The only limitation to virtualization is your hardware as each virtual machine uses CPU and RAM. Depending upon the amount of CPU and RAM in your computer, you may find that the operating system you install using virtualization software runs slowly. If your computer slows down greatly, try closing other applications running on your computer to free up some RAM.
 
A virtualized environment allows you to test drive an operating system without overwriting your current operating system. This is an excellent way to practice installation, determine whether all of your hardware is supported, or to try multiple versions of different operating systems. Virtualization software effectively creates windows (known as virtual machines) into which you can install and use an operating system. The only limitation to virtualization is your hardware as each virtual machine uses CPU and RAM. Depending upon the amount of CPU and RAM in your computer, you may find that the operating system you install using virtualization software runs slowly. If your computer slows down greatly, try closing other applications running on your computer to free up some RAM.
 +
 +
[[File:VirtualBox-Welcome.png|thumb|360px|'''Figure 2.7a: Initial VirtualBox Screen''']]
  
 
GhostBSD provides ways to install [http://www.virtualbox.org/ VirtualBox], an open source virtualization program.  VirtualBox also runs on Windows, Linux, Macintosh, and OpenSolaris and supports a large number of operating systems that can be installed into a virtual machine. If your computer is already running a version of GhostBSD, you can use Bxpkg, pkg_add or FreeBSD ports to install VirtualBox. If your computer is running another operating system, download the binary for your operating system from the [http://www.virtualbox.org/wiki/Downloads VirtualBox Downloads page].
 
GhostBSD provides ways to install [http://www.virtualbox.org/ VirtualBox], an open source virtualization program.  VirtualBox also runs on Windows, Linux, Macintosh, and OpenSolaris and supports a large number of operating systems that can be installed into a virtual machine. If your computer is already running a version of GhostBSD, you can use Bxpkg, pkg_add or FreeBSD ports to install VirtualBox. If your computer is running another operating system, download the binary for your operating system from the [http://www.virtualbox.org/wiki/Downloads VirtualBox Downloads page].
Line 7: Line 9:
 
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
+
* 1 GB base memory size
 
* a virtual disk ''' ''at least 15 GB in size'' ''' to hold the operating system and swap  
 
* a virtual disk ''' ''at least 15 GB in size'' ''' to hold the operating system and swap  
 
* a bridged adapter
 
* a bridged adapter
Line 16: Line 20:
  
 
Once VirtualBox is installed, launch VirtualBox. There will be an initial screen as depicted in Figure 2.7a.  
 
Once VirtualBox is installed, launch VirtualBox. There will be an initial screen as depicted in Figure 2.7a.  
 
[[File:VirtualBox-Welcome.png|thumb|360px|'''Figure 2.7a: Initial VirtualBox Screen''']]
 
  
 
[[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''']]
 
[[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''']]
Line 30: Line 32:
 
[[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|360px|'''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 1024 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."
  
 
==== Select Virtual Hard Disk ====
 
==== Select Virtual Hard Disk ====
Line 94: Line 96:
 
While using a virtual environment allows you to test an operating system without affecting what else is currently installed on the system, there are some things to be aware of when using VirtualBox.
 
While using a virtual environment allows you to test an operating system without affecting what else is currently installed on the system, there are some things to be aware of when using VirtualBox.
  
[https://forums.ghostbsd.org/viewtopic.php?f=76&t=2000 Avoiding kernel panics when booting in VirtualBox]
+
If the installer program fails to load, try increasing the amount of RAM in the virtual machine. The bare minimum is 1024 MB, but increasing this value to 2048 MB or higher will sometimes allow an unbootable ISO to boot into the installer.
  
If the installation fails, and you would like to review the installation log, right-click the virtual machine window and select xterm from the menu. You can now type <code>more /tmp/pc-sysinstall.log</code> to review the log.
+
If the installation fails and you would like to review the installation log, right-click the virtual machine window and select xterm from the menu. You can now type <code>more /tmp/pc-sysinstall.log</code> to review the log.
  
Ctrl-f (right Ctrl key only) will toggle the virtual machine window in and out of full-screen mode.
+
Ctrl-f (right ctrl key only) will toggle the virtual machine window in and out of full-screen mode.
  
 
[[Category:Handbook]]
 
[[Category:Handbook]]
 
[[Category:Installing GhostBSD]]
 
[[Category:Installing GhostBSD]]

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)