Commit 8cfc2af9 authored by Dario's avatar Dario
Browse files

Completed vbox guest additions installation (15)

parent 8f39b61c
# Installing Parrot Security On VirtualBox # # Installing Parrot Security on VirtualBox #
## This guide will cover the following steps: ## ## This guide will cover the following steps: ##
......
# Introduction To Virtualbox Guest Additions # # Introduction to Virtualbox Guest Additions #
The Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. \ The Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. They consist of device drivers and system applications that optimize the guest operating system for better performance and usability.
They consist of device drivers and system applications that optimize the guest operating system for better performance and usability.
## Features Of Virtualbox Guest Additions ## ## Features of Virtualbox Guest Additions ##
* **Mouse pointer integration** * **Mouse pointer integration**
* Pressing the Host key is no longer required to "free" the mouse from being captured by the guest OS. * Pressing the Host key is no longer required to "free" the mouse from being captured by the guest OS.
...@@ -13,7 +12,7 @@ They consist of device drivers and system applications that optimize the guest o ...@@ -13,7 +12,7 @@ They consist of device drivers and system applications that optimize the guest o
* **Better video support** * **Better video support**
* While the virtual graphics card which VirtualBox emulates for any guest operating system provides all the basic features, the custom video drivers that are installed with the Guest Additions provide you with extra high and non-standard video modes as well as accelerated video performance. * While the virtual graphics card which VirtualBox emulates for any guest operating system provides all the basic features, the custom video drivers that are installed with the Guest Additions provide you with extra high and non-standard video modes as well as accelerated video performance.
\ \
__(Generally used for changing monitor resolution)__ **(Generally used for changing monitor resolution)**
* **Seamless windows** * **Seamless windows**
* With this feature, the individual windows that are displayed on the desktop of the virtual machine can be mapped on the host's desktop, as if the underlying application was actually running on the host. * With this feature, the individual windows that are displayed on the desktop of the virtual machine can be mapped on the host's desktop, as if the underlying application was actually running on the host.
...@@ -26,53 +25,80 @@ They consist of device drivers and system applications that optimize the guest o ...@@ -26,53 +25,80 @@ They consist of device drivers and system applications that optimize the guest o
* **Shared clipboard** * **Shared clipboard**
* Shared clipboard from host to Parrot. * Shared clipboard from host to Parrot.
For more infomations, check the [VirtualBox manual](https://www.virtualbox.org/manual/ch04.html).
\
\
# Guest Additions Installation(s) #
## Method 1 (Easiest) ##
**1.** Open a terminal and update your packages list from the repository with
## Guest Additions Installation(s) ## sudo apt update
\
**2.** Install the Guest Additions from Parrot OS repository with
sudo apt install -y virtualbox-guest-utils
\
**3.** And install the last package with
sudo apt install virtualbox-guest-x11
\
**4.** When the installation is completed, you can reboot your machine with
sudo reboot
\
**5.** Check if Guest Additions are correctly installed by running
sudo /usr/sbin/VBoxService -V
## Method 2 (From ISO) ##
**1.** On Virtual Machine menu bar, select `Devices > Insert Guest Additions CD image...`.
<img src="./images/vbox/guest_additions1.png" width="85%"/>
\
**2.** VirtualBox will not find the Guest Additions and for this it will ask you to download them, click on *Download*. We recommend adding an additional secondary optical drive, because once the guest additions are downloaded, they will be mounted on a second drive.
### Method 1 (Easiest) ### <img src="./images/vbox/guest_additions2.png" width="85%"/>
**1.** Open a terminal and update your packages list from the repository with ''sudo apt-get update'' \\ \
\\ {{:virtualbox-guest-additions_1.png|}} \\
\\ **2.** Install the Guest Additions from ParrotOS repository with ''sudo apt-get install virtualbox-guest-utils'' <img src="./images/vbox/guest_additions3.png" width="50%"/>
\\ If requested to continue write ''Y'' then hit ''Enter'' on your keyboard. \\
\\ {{:virtualbox-guest-additions_2.png|}} \\
\\ **3.** And install the last package with ''sudo apt-get install virtualbox-guest-x11'' \\ \
\\ {{:virtualbox-guest-additions_3.png|}} \\
\\ **4.** When installation is completed, you can reboot your machine with ''sudo reboot'' \\ <img src="./images/vbox/guest_additions4.png" width="45%"/>
\\ {{:virtualbox-guest-additions_4.png|}} \\
\\ **5.** Check if Guest Additions are correctly installed by running ''sudo /usr/sbin/VBoxService -V'' \\ \
\\ {{::virtualbox-guest-additions_5.png|}} \\
### Method 2 (From ISO) ### Click on "**insert**". If it returns an error (maybe it can't mount the iso you just downloaded, then turn off the virtual machine, and return to the main VirtualBox screen, go to *Setting > Storage*, here add another optical drive (make sure it is secondary so as not to give problems in booting the distro).
**1.** On Virtual Machine menu bar, select ''Devices > Insert Guest Additions CD image...'' \\ <img src="./images/vbox/guest_additions5.png"/>
\\ {{:virtualbox-guest-additions-m2_1.png|}} \\
\\ **2.** Login as root by using ''sudo su'', and insert your current user password \\ **3.** Then go to the Guest Addition ISO folder, and here open a terminal and give
\\ {{::virtualbox-guest-additions-m2_2.png|}} \\
\\ **3.** Enter the CDROM directory by using ''cd /media/cdrom0/'' \\ sudo chmod +x VBoxLinuxAdditions.run
\\ {{::virtualbox-guest-additions-m2_3.png|}} \\
\\ **4.** Copy the Guest Additions file to "/root" directory with ''cp VBoxLinuxAdditions.run ~'' \\ Once done it, execute
\\ {{::virtualbox-guest-additions-m2_4.png|}} \\
\\ **5.** Enter the "/root" directory with ''cd ~'' \\ sudo ./VBoxLinuxAdditions.run
\\ {{::virtualbox-guest-additions-m2_5.png|}} \\
\\ **6.** Give the permission for execute "+x" to "VBoxLinuxAdditions.run" by using ''chmod +x VBoxLinuxAdditions.run'' \\
\\ {{::virtualbox-guest-additions-m2_6.png|}} \\
\\ **7.** Execute "VBoxLinuxAdditions.run" with ''./VBoxLinuxAdditions.run'' \\ **4.** Wait for the installation process. At installation completed, reboot the virtual machine with
\\ {{::virtualbox-guest-additions-m2_7.png|}} \\
\\ **8.** At installation completed, reboot the virtual machine with ''reboot'' \\ <img src="./images/vbox/guest_additions6.png" width="80%"/>
\\ {{::virtualbox-guest-additions-m2_8.png|}} \\
<WRAP center round todo 60%> sudo reboot
Unistalling VirtualBox Guest Additions will be added soon! \ No newline at end of file
</WRAP>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment