Difference between revisions of "VirtualBox"
Reorganization and general clean-up
imported>Dalto (Add instructions to load modules and start the guest services) |
imported>Dalto (Reorganization and general clean-up) |
||
Line 1: | Line 1: | ||
__TOC__ | |||
= Overview = | = Overview = | ||
[[file:vbox.png|left]] | [[file:vbox.png|left]] | ||
Line 21: | Line 22: | ||
==Enabling Virtualisation== | ==Enabling Virtualisation== | ||
Before installing VirtualBox, it is important to first ensure that '''virtualization''' has been enabled in your BIOS. The exact instructions for doing this vary based on your hardware. Please review the manual provided by your computer or motherboard manufacturer for specific instructions. | |||
==Install VirtualBox== | ==Install VirtualBox== | ||
Line 39: | Line 40: | ||
==Install the Extension Pack== | ==Install the Extension Pack(Optional)== | ||
The virtualbox extension pack is available from [[Arch_User_Repository|Arch User Repositoty(AUR)]]. You can install it with: | The virtualbox extension pack is available from [[Arch_User_Repository|Arch User Repositoty(AUR)]]. You can install it with: | ||
pamac | pamac build virtualbox-ext-oracle | ||
= Adding Your Account to the vbox User Group = | == Adding Your Account to the vbox User Group == | ||
The final step is to now add your personal user account to the | The final step is to now add your personal user account to the {{ic|vbox}} 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. | ||
Line 57: | Line 58: | ||
= | =Running Manjaro under VirtualBox= | ||
For those intending to use Manjaro under VirtualBox, you can install Manjaro as usual. | |||
Once it is installed run the following command to ensure the kernel modules are installed and install the guest utils: | |||
pamac install virtualbox-guest-utils $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-virtualbox-guest-modules"}' ORS=' ') | |||
You will need to load the modules if you don't want to reboot: | |||
sudo modprobe vboxguest vboxvideo vboxsf | |||
The guest utils than need to be started and enabled: | |||
sudo systemctl enable --now vboxservice.service | |||
= Advice, Tips, and Tricks = | |||
Advice on using Virtualbox effectively, as well as some tips and tricks learned along the way, have been provided for the benefit of new users. | Advice on using Virtualbox effectively, as well as some tips and tricks learned along the way, have been provided for the benefit of new users. | ||
Line 67: | Line 82: | ||
==Guest Installation== | ==Guest Installation== | ||
* Virtualbox can run installation files (ISOs) directly as | * Virtualbox can run installation files (ISOs) directly as virtual discs, so there is no need to burn them to an installation medium such as a disc or USB data stick. | ||
* The process to install any Guest operating system | * The process to install any Guest operating system, [[Installation_Guides|including Manjaro]], is exactly the same as if actually installing for real on your computer. | ||
Line 76: | Line 91: | ||
Guest Additions are special software packages designed to improve the performance and usability of guest operating systems. | Guest Additions are special software packages designed to improve the performance and usability of guest operating systems. | ||
They are installed | |||
They are installed within the Guest operating system itself, and most notably result in enhancing the display resolution, as well as enabling much better control over the mouse. As such, two tell-tale signs that Guest Additions have not been installed in a Guest are that the display will not scale to the size of the display window (i.e. it will be necessary to scroll around to see the whole screen), and the mouse may be quite hard to control. | |||
Instructions for installing the guest additions in Manjaro are provided above. For other operating systems please review the VirtualBox instructions [[#See Also|linked below]] | |||
==Guest Display== | ==Guest Display== | ||
It will be necessary to activate the '''Enable 3D acceleration''' box in order to allow for some desktop effects (such as transparency) to be shown. This can be undertaken by going into the settings menu, and then selecting the '''Display''' section. | |||
Line 97: | Line 116: | ||
==General== | ==General Troubleshooting== | ||
* 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. | * 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. | ||
Line 105: | Line 124: | ||
* Don't be afraid to take risks, to experiment, and to have fun with Guest operating systems. The worst that can happen is that they will have to be re-installed! | * Don't be afraid to take risks, to experiment, and to have fun with Guest operating systems. The worst that can happen is that they will have to be re-installed! | ||
=See Also= | =See Also= | ||
* [https://forum.manjaro.org/t/how-to-install-virtualbox/22183 How to install VirtualBox Forum Topic] | |||
* The [http://www.virtualbox.org/manual/ VirtualBox Manual] | |||
[[Category:Contents Page]] | [[Category:Contents Page]] | ||