


Navigate to the directory and run the n script to install the Guest Additions.Sudo mkdir -p /mnt/cdrom sudo mount /dev/cdrom /mnt/cdrom Open the Ubuntu guest terminal, create a new directory as the mount point for the CD drive and mount the ISO file.If you get an error saying the guest system has no CD-ROM, stop the virtual machine, open the virtual machine settings and from the “Storage” tab, add a new CD-ROM device to the machine by clicking on the plus sign (Adds optical device). The -nox11 option will tell the installer not to spawn an xterm window:Ĭd /mnt/cdrom sudo sh. The output will look like below: Verifying archive integrity. Uncompressing VirtualBox 5.2.32 Guest Additions for Linux. Reboot the Ubuntu guest for changes to take effect.
