VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel Uncompressing VirtualBox 6.1.38 Guest Additions for Linux. You need to run it with root privileges because it shall install guest addition driver as kernel modules on the system. Now start the compilation process by running the script with root privileges. r-r-r- 1 silver silver 259 are lots of installation files for various systems like Windows, Solaris and Linux. r-xr-xr-x 1 silver silver 10940328 Sep 1 19:32 VBoxWindowsAdditions-x86.exe r-xr-xr-x 1 silver silver 272736 Sep 1 19:15 VBoxWindowsAdditions.exe r-xr-xr-x 1 silver silver 18283432 Sep 1 19:53 VBoxWindowsAdditions-amd64.exe r-r-r- 1 silver silver 9559552 Sep 1 19:10 VBoxSolarisAdditions.pkg r-xr-xr-x 1 silver silver 3949 Sep 1 19:12 VBoxDarwinAdditionsUninstall.tool r-r-r- 1 silver silver 4114801 Sep 1 19:16 VBoxDarwinAdditions.pkg r-r-r- 1 silver silver 592 Sep 1 19:53 TRANS.TBL r-xr-xr-x 1 silver silver 4821 Sep 1 19:13 runasroot.sh View the files with the ls -la command ls -laĭr-xr-xr-x 5 silver silver 2570 Sep 1 19:53. Now open a terminal and switch to that folder: cd /media/silver/VBox_GAs_6.1.38/ For instance on my system the path is: /media/silver/VBox_GAs_6.1.38/ Now open any file browser like Nautilus (Gnome) or Dolphin (KDE) and navigate to the mounted disk and note the full path. On the Virtual Machine window click the menu option on the top: Click Devices > Insert Guest Additions CD Image Its always best to install the virtualbox provided guest additions for maximum compatiblity. All features would be available and work fine out of the box, provided that the version of virtualbox is compatible with the guest additions in that distro. You do not have to compile or install guest additions on such distros. Some distros like Fedora have guest addition package pre-installed. The above command will install linux headers for your current kernel which is needed to compile and build virtualbox source code. sudo apt-get install build-essential module-assistant dkms linux-headers-generic On Linux guest additions are always compiled from source for proper compatibility. These are needed in order to compile virtualbox guest additions for your particular linux system and ubuntu version. Next you have to install important packages like linux headers and build files. sudo apt-get update & sudo apt-get dist-upgrade 2. Update UbuntuĪs a first step its always better to upgrade all the packages on the system. Once there, you can follow the next steps as shown below. Make sure that Ubuntu is fully installed inside VirtualBox and that you can boot properly to the desktop. Installing guest additions inside ubuntu and many popular linux distros is actually quite easy and requires a few clicks and commands only. These details have been explained on virtualbox website. Without it, you would probably have to work with a standard resolution like 1024x768 as the default virtual machine does not support every possible video resolution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |