Difference between revisions of "Using VirtualBox/9.2"
|Line 108:||Line 108:|
If you prefer to use an ISO that is stored on your hard disk, click the DVD icon ➜ ''Choose a virtual CD/DVD disk file'' to open a browser menu where you can 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.
If you prefer to use an ISO that is stored on your hard disk, click the DVD icon ➜ ''Choose a virtual CD/DVD disk file''to open a browser menu where you can 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.
Revision as of 01:10, 2 November 2013
(Sorry for the inconvenience)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.
PC-BSD® 10.0 automatically installs theopen source virtualization program and the with the operating system. The guest additions add mouse pointer integration, shared folders between the host and guest, better video support, and a shared clipboard.
If your computer is running another operating system, download the binary for your operating system from the. VirtualBox runs on Windows, Linux, Macintosh, and OpenSolaris and supports a large number of operating systems that can be installed into a virtual machine.
In order to use PC-BSD® within VirtualBox, you will need to download the PC-BSD® ISO, create your own virtual machine, and use the ISO to install PC-BSD® into the virtual machine. You will also need to first create a virtual machine that meets the following minimum requirements:
- 1024 MB base memory size
- a virtual disk at least 20 GB in size for a TrueOS® installation or at least 50 GB in size for a PC-BSD® installation
- a bridged adapter
Creating a Virtual Machine
The base memory size must be changed to at least 1024 MB. If your 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 your computer too much. When finished, click "Next" to see the screen in Figure 2.7d:
The wizard can be used to create the following types of virtual disk formats:
- VDI: Virtual Disk Image is the format used by VirtualBox. Select this option if you downloaded a PC-BSD® ISO file.
- VMDK: Virtual Machine Disk is the format used by .
- VHD: Virtual Hard Disk is the format used by .
- HDD: is the format used by .
Once you make a selection, click the "Next" button to see the screen in Figure 2.7f:
This screen is used to set the size (or upper limit) of the virtual machine. If you plan to install PC-BSD® into the virtual machine, increase the size to at least 20 GB or you will receive an error during the PC-BSD® installation. If you plan to install KDE, GNOME, multiple desktop managers, or PBIs within the virtual machine, you will probably want to choose at least 50 GB. 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.
Configuring the Network Adapter
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.
Configuring the Storage Device
Double-click the word Empty, which represents your DVD reader. If you wish to access the PC-BSD® 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.
If you prefer to use an ISO that is stored on your hard disk, click the DVD icon ➜ Choose a virtual CD/DVD disk file to open a browser menu where you can 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.
You are now ready to install PC-BSD® into your virtual machine. Simply highlight the virtual machine and click on the green "Start" icon. A window will open indicating that the virtual machine is starting. If you have a DVD inserted, you should hear it spin and it should start to boot into the installation program. If it does not or if you are using an ISO stored on the hard disk, press F12 to select the boot device when you see the message to do so, then press "c" to boot from CD-ROM. You can then proceed through the installation as described in the Installation section.
If the installer program fails to load, try increasing the amount of RAM in the virtual machine.
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 more /tmp/pc-sysinstall.log to review the log.
Thecontains additional information that may assist you in troubleshooting VirtualBox issues.