How to install VirtualBox Guest Additions on Fedora 26

Installing Virtualbox Guest Additions enables seamless mouse integrations and allows to set higher desktop resolutions. Other features include shared folders, accelerated 3D graphics and 2D video, seamless windows, exchange data bit between guest and host, time sync., shared clipboards and automated logins.

Follow the steps to install VirtualBox Guest Additions on Fedora 26:

  1. Activate the root user
    ya
  2. Update to the latest kernel then restart
    dnf update kernel*
    
    reboot
  3. Select Install Guest Additions CD image… from the device drop down menu
    Install VirtualBox Guest Additions Menu
    Install VirtualBox Guest Additions CD image… Menu
  4. Mount the Guest Additions CD image
    mkdir /media/vbga
    
    mount -r /dev/cdrom /media/vbga
  5. Install the required dependencies
    dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl
  6. Ƙara canjin yanayi na KERN_DIR
    1. Kewaya zuwa kundin adireshi na kernels
      cd /usr/src/kernels
    2. Jera abubuwan da ke cikin kundin adireshin kernels
      LS
    3. Kewaya zuwa kundin adireshi tare da sabon sigar kernel
      cd 4.12.13-300.fc26.x86_64
    4. Sami kundin adireshin aiki na yanzu
      pwd
    5. Ƙirƙirar hanyar canjin yanayi ta amfani da hanyar daga mataki na 6D
       fitarwa KERN_DIR={hanyar pwd ta tafi nan}

      misali

      fitarwa KERN_DIR=/usr/src/kernels/4.12.13-300.fc26.x86_64
  7. Gudun shigarwar Ƙarfafa Bako na VirtualBox
    /media/vbga/VBoxLinuxAdditions.run
  8. Da zarar an gama shigarwa sai a sake yin tsarin
    sake yi

Ya kamata a shigar da Ƙarin Baƙi na VirtualBox kuma a yi aiki.