VirtualBox guest additions is a great way to enhance the performance and improve your experience using VirtualBox, there were two easy ways to install guest addition, follow what you are comfortable with. Now reboot your virtual machine because there were some changes in the kernel. sudo mkdir /mnt/my_cdīe sure to cd into the / mnt/my_cd directory, and execute guest additions installation script using as root. Open a terminal, create a new directory to be a mount point for the CD image we just attached, and mount /dev/cdrom in that directory. SO Install & Configure Get Ubuntu Get VirtualBox and VirtualBox Guest Additions Create a new VM in VirtualBox for Ubuntu Create a port-forwarding. Update your apt package list and upgrade all of your software (run these commands in a terminal): sudo apt updateĪttach Guest additions CD image from the Devices menu. Install VirtualBox Guest Additions Using the Command-Line Now reboot your machine again for changes to take effect. Wait for installation to complete and hit enter. You just need to open devices menu within VirtualBox, and then select insert guest addition CD image.Īfter that Ubuntu will automatically mount the CD, and it will ask you whether you want to execute an automatic software, select run. Login to the Ubuntu guest as a sudo user and install the packages required for building external kernel modules: sudo apt update sudo apt install build-essential dkms linux-headers- (uname -r) (uname -r) prints the running Kernel version. If you installed VirtualBox the standard way, then you have an empty virtual optical drive. Sudo apt install build-essential dkms linux-headers-$(uname -r) First, start your Ubuntu VirtualBox VM, open a Terminal and update the APT package repository cache with the following command: sudo apt update The APT package repository cache should be updated. Then install some packages that are necessary for installing guest additions. In order to install VirtualBox Guest Additions on Ubuntu, you will have to install all the required build tools. You need to update your apt package list and upgrade all the software installed on your machine: sudo apt update Open a terminal either graphically or by pressing t while holding both Ctrl and Alt keys. Install VirtualBox Guest Additions Using the GUI Install VirtualBox Guest Additions Using the Command-Line In the Window containing the running virtual machine, select Install Guest Additions from the Devices menu, as shown in Figure 6.11.Install VirtualBox Guest Additions Using the GUI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |