To install VirtualBox Guest Additions on a Fedora guest system, follow these steps:
To install VirtualBox Guest Additions on a Fedora guest system, follow these steps:
Steps to Install VirtualBox Guest Additions on Fedora:
1. Update the System
- Open a terminal in your Fedora guest and ensure your system is up to date:
sudo dnf update
2. Install Required Packages
- Install the necessary packages for building kernel modules:
sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl
3. Insert the Guest Additions CD
- In the VirtualBox window for your Fedora guest, go to the Devices menu and select Insert Guest Additions CD Image.
- If prompted to download the Guest Additions image, confirm and let it download.
4. Mount the CD Image
- If the CD image does not automatically mount, manually mount it:
sudo mount /dev/cdrom /mnt
5. Run the Installer
- Navigate to the mounted directory and run the Guest Additions installer:
cd /mnt
sudo ./VBoxLinuxAdditions.run
6. Reboot the System
- After the installation is complete, reboot your Fedora guest system:
sudo reboot
7. Verify Installation
- After rebooting, verify that the Guest Additions are working. Features like shared folders, clipboard sharing, and improved display resolution should now be available.
Troubleshooting:
- If you encounter any issues, ensure that your kernel is up to date and matches the version of
kernel-devel. - Reinstall the
kernel-develpackage if there are mismatches:
sudo dnf reinstall kernel-devel
This process will enable features like better screen resolution, shared clipboard, and shared folders in your Fedora VirtualBox guest.