Install VirtulBox GuestAddition through command line in CentOS

  1. Install VM VirtualBox Extension Pack from (make sure to select the extension pack having the version number that matches your VirtualBox version number)
  2. Run the following command in your CentOS console
    wget[version number]/VBoxGuestAdditions_[version number].iso
    sudo mkdir /media/VBoxGuestAdditions
    sudo mount -o loop,ro VBoxGuestAdditions_[version number].iso /media/VBoxGuestAdditions
    sudo /media/VBoxGuestAdditions/
    rm VBoxGuestAdditions_[version number].iso
    sudo umount /media/VBoxGuestAdditions
    sudo rmdir /media/VBoxGuestAdditions

    You can find the supported version number at


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s