Installing the Linux Guest Additions

The Guest Additions for Linux are provided on the same virtual CD-ROM file as the Guest Additions for Windows. See . They also come with an installation program that guides you through the setup process. However, due to the significant differences between Linux distributions, installation may be slightly more complex when compared to Windows.

Installation generally involves the following steps:

  1. Before installing the Guest Additions, you prepare your guest system for building external kernel modules. This works as described in , except that this step must be performed in your Linux guest instead of on a Linux host system.

    If you suspect that something has gone wrong, check that your guest is set up correctly and run the following command as root:

    rcvboxadd setup
  2. Insert the VBoxGuestAdditions.iso CD file into your Linux guest's virtual CD-ROM drive, as described for a Windows guest in .

  3. Change to the directory where your CD-ROM drive is mounted and run the following command as root:

    sh ./VBoxLinuxAdditions.run