Difference between revisions of "VirtualBox"
Views
Actions
Namespaces
Variants
Tools
Adding virtualisation category, also changing Virtualbox->VirtualBox
imported>Brenton m (Brenton moved page Virtualbox to VirtualBox: This is the correct, case-sensitive, name for this program.) |
imported>Brenton (Adding virtualisation category, also changing Virtualbox->VirtualBox) |
||
Line 23: | Line 23: | ||
Before even ''thinking'' about installing | Before even ''thinking'' about installing VirtualBox, it is <u>'''absolutely essential'''</U> to first ensure that '''virtualisation''' has been enabled on your computer. Otherwise - if virtualisation has not been enabled - then assuming VirtualBox can even be run at all, its features and capabilities will be severely limited. For example, where VirtualBox has been installed on a 64-bit system, it will only be able to run 32-bit operating systems as Guests. As virtualisation is usually disabled by default, it will therefore be necessary to go into your computer's BIOS settings in order to activate it. | ||
Below is an example of enabling virtualisation for a HP G62 Laptop using an Intel chip-set (it may be a slightly different process for your own computer): | Below is an example of enabling virtualisation for a HP G62 Laptop using an Intel chip-set (it may be a slightly different process for your own computer): | ||
Line 43: | Line 43: | ||
= Installing | = Installing VirtualBox and its Extension Pack= | ||
Although a basic | Although a basic VirtualBox Installation may suffice for some users, it is also recommended to download and install the optional '''Extension Pack''' for it. This provides several new features, including the ability to use USB devices such as data sticks and printers in virtual machine environments. | ||
==Install | ==Install VirtualBox== | ||
{{tip|You will need to know what kernel version is being run when installing | {{tip|You will need to know what kernel version is being run when installing VirtualBox. To acquire this information, enter the command '''uname -r''' into the terminal.}} | ||
To install | To install VirtualBox, enter the following command in the terminal: | ||
sudo pacman -S virtualbox | sudo pacman -S virtualbox | ||
It will then be necessary to select the appropriate ''' | It will then be necessary to select the appropriate '''VirtualBox Host Module''' to install, depending on the kernel version currently being run. Rather like installing a driver, doing so will ensure that VirtualBox is able to run properly. For example, where running kernel 3.7, the appropriate number would be entered to install the following module: | ||
uname -r | uname -r | ||
Line 69: | Line 69: | ||
Once the installation has completed, it will then be necessary to add the '' | Once the installation has completed, it will then be necessary to add the ''VirtualBox Module'' to your kernel. '''The easy way is to simply reboot your system'''. Otherwise, to start using VirtualBox immediately, enter the following command: | ||
sudo modprobe vboxdrv | sudo modprobe vboxdrv | ||
Line 75: | Line 75: | ||
== Where Using Multiple Kernels == | == Where Using Multiple Kernels == | ||
'''Should a new kernel be installed at a later time''', there will be no need to add the | '''Should a new kernel be installed at a later time''', there will be no need to add the VirtualBox module again to it. This is because the '''[[Manjaro_Kernels|Manjaro Hardware Detection tool for Kernels]]''' (mwhd-kernel) will automatically update new kernels with all existing modules being used during the installation process. | ||
'''However, should multiple kernels already be installed''' - and the intention is to use | '''However, should multiple kernels already be installed''' - and the intention is to use VirtualBox with them as well - then it will be necessary to add the VirtualBox module to them in addition. In order to add the VirtualBox module to another existing kernel: | ||
1. Select the appropriate kernel at the bootup screen | 1. Select the appropriate kernel at the bootup screen | ||
2. Download the ''' | 2. Download the '''VirtualBox Host Utilities''' for that particular kernel, as this provides the necessary ''vboxdrv'' VirtualBox module to add. The syntax of the command to do so is: | ||
sudo pacman -S [kernel version]-virtualbox-host-modules | sudo pacman -S [kernel version]-virtualbox-host-modules | ||
When listing the kernel version currently being used in the command, it is not necessary to write the entire version number. Any version of Kernel 3.5 can be listed simply as 'linux35', and any version of Kernel 3.6 can be listed as 'linux36', and so on. As an example, the following command will install the '' | When listing the kernel version currently being used in the command, it is not necessary to write the entire version number. Any version of Kernel 3.5 can be listed simply as 'linux35', and any version of Kernel 3.6 can be listed as 'linux36', and so on. As an example, the following command will install the ''VirtualBox Host Utilities'' specifically for kernel version 3.5: | ||
sudo pacman -S linux35-virtualbox-host-modules | sudo pacman -S linux35-virtualbox-host-modules | ||
3. Once the '' | 3. Once the ''VirtualBox Host Utilities'' have been downloaded, enter the following command to add the VirtualBox module to the kernel: | ||
sudo modprobe vboxdrv | sudo modprobe vboxdrv | ||
Line 105: | Line 105: | ||
[[file:vxextpackb.png|thumb|left|375px]] | [[file:vxextpackb.png|thumb|left|375px]] | ||
If it is obtained directly from Oracle, '''[http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html Virtualbox Downloads Section of Oracle's website]''', be aware that you will have to give personal details to Oracle. Again, the Extension pack provides a number of additional and advanced features not otherwise available. Even if there is no immediate intention to use the features provided, it is still worthwhile installing in order to have a complete installation. Once at the downloads section of Oracle's website, to obtain the | If it is obtained directly from Oracle, '''[http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html Virtualbox Downloads Section of Oracle's website]''', be aware that you will have to give personal details to Oracle. Again, the Extension pack provides a number of additional and advanced features not otherwise available. Even if there is no immediate intention to use the features provided, it is still worthwhile installing in order to have a complete installation. Once at the downloads section of Oracle's website, to obtain the VirtualBox Extension Pack: | ||
<br clear="all" /> | <br clear="all" /> | ||
1. Scroll down towards the bottom of the page to find the '''Oracle VM | 1. Scroll down towards the bottom of the page to find the '''Oracle VM VirtualBox Extension Pack''' section | ||
2. Click on the appropriate link for the | 2. Click on the appropriate link for the VirtualBox version installed to download the Extension Pack | ||
3. After the Extension Pack has downloaded, start the | 3. After the Extension Pack has downloaded, start the VirtualBox application | ||
4. Once | 4. Once VirtualBox has started, select '''File''' from the top menu, and then '''Preferences''' | ||
5. Select the '''Extensions''' tab to view that section, and then click a icon called '''Add Package''' located on the far right | 5. Select the '''Extensions''' tab to view that section, and then click a icon called '''Add Package''' located on the far right | ||
Line 125: | Line 125: | ||
The final step is to now add your personal user account to the '''vbox User Group'''. This is necessary in order to fully access the features provided by | The final step is to now add your personal user account to the '''vbox User Group'''. This is necessary in order to fully access the features provided by VirtualBox, including the ability to use USB devices in a Guest operating system. | ||
= Adding Your Account to the vbox User Group = | = Adding Your Account to the vbox User Group = | ||
Line 144: | Line 144: | ||
= Advice, Tips, and Tricks = | = Advice, Tips, and Tricks = | ||
{{tip|The '''[http://www.virtualbox.org/manual/ | {{tip|The '''[http://www.virtualbox.org/manual/ VirtualBox Manual]''' will be of immense use to new users.}} | ||
Line 150: | Line 150: | ||
==Running Manjaro in | ==Running Manjaro in VirtualBox== | ||
For those intending to use | For those intending to use VirtualBox in Ubuntu or an Ubuntu-based distribution (e.g. Mint, Zorin, Kubuntu, etc) - in order to run Manjaro in it, of course! - the author has provided a comprehensive YouTube VirtualBox video guide: | ||
* Part 1: '''[http://www.youtube.com/watch?v=a9PusQjgzPU | * Part 1: '''[http://www.youtube.com/watch?v=a9PusQjgzPU VirtualBox Introduction]''' | ||
* Part 2: '''[http://www.youtube.com/watch?v=Wh9-WtRb6LQV BIOS Settings and Installation]''' | * Part 2: '''[http://www.youtube.com/watch?v=Wh9-WtRb6LQV BIOS Settings and Installation]''' | ||
* Part 3: '''[http://www.youtube.com/watch?v=3TGNfmhoSts Virtual Machine Setup and vbox User Group]''' | * Part 3: '''[http://www.youtube.com/watch?v=3TGNfmhoSts Virtual Machine Setup and vbox User Group]''' | ||
Line 160: | Line 160: | ||
Existing Manjaro users may still find Part 3 of particular interest if they are unfamiliar with using | Existing Manjaro users may still find Part 3 of particular interest if they are unfamiliar with using VirtualBox. '''However, please note that the Guest Additions section in the fourth video does not apply to Manjaro or <u>any</u> Arch-based distribution'''. In respect to Manjaro, this is because Guest Additions - special software designed to enhance and improve VirtualBox installations - will already have been pre-installed for you. More importantly, using the method shown to install Guest Additions in Manjaro (or any Arch-based distribution) will break the system permanently, rendering it unusable. | ||
Line 183: | Line 183: | ||
==Guest Internet Connection== | ==Guest Internet Connection== | ||
Some users have encountered problems when attempting to connect their virtual machine to the internet using the default | Some users have encountered problems when attempting to connect their virtual machine to the internet using the default VirtualBox settings. Where this is the case, try the following solution (covered in the fourth VirtualBox YouTube Tutorial from the 4:28 mark): | ||
1. Click the '''Settings Button''' and then select the '''Network''' tab | 1. Click the '''Settings Button''' and then select the '''Network''' tab | ||
Line 196: | Line 196: | ||
==General== | ==General== | ||
* A | * A VirtualBox installation may not automatically detect when USB device has been connected. As such, it may therefore be necessary to click the USB icon located at the bottom of the VirtualBox window in order to select and activate it. | ||
* It is possible to enable the (very useful) ability to copy and paste text between the Guest and Host systems. This is undertaken by clicking '''Settings''' button and then going to the '''General''' Section. | * It is possible to enable the (very useful) ability to copy and paste text between the Guest and Host systems. This is undertaken by clicking '''Settings''' button and then going to the '''General''' Section. | ||
Line 205: | Line 205: | ||
[[Category:Contents Page]] | [[Category:Contents Page]] | ||
[[Category:Virtualisation]] |