{"id":31582942,"url":"https://github.com/pastelgradient-x/virtualbox-ga-guide-on-fedora-42","last_synced_at":"2025-10-05T23:56:13.107Z","repository":{"id":316331430,"uuid":"1062926935","full_name":"pastelgradient-x/virtualbox-ga-guide-on-fedora-42","owner":"pastelgradient-x","description":"This guide explains how to properly remove Fedora 42’s pre-installed VirtualBox Guest Additions and reinstall them using the official ISO for optimal compatibility. ","archived":false,"fork":false,"pushed_at":"2025-09-24T00:33:29.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-24T02:22:38.926Z","etag":null,"topics":["fedora-workstation","virtualbox","virtualbox-guest-additions","virtualbox-vm"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pastelgradient-x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T23:45:11.000Z","updated_at":"2025-09-24T00:40:12.000Z","dependencies_parsed_at":"2025-09-24T02:22:44.122Z","dependency_job_id":"dfcd360e-51e4-4c52-9d24-4b3731c2e9ec","html_url":"https://github.com/pastelgradient-x/virtualbox-ga-guide-on-fedora-42","commit_stats":null,"previous_names":["pastelgradient-x/virtualbox-ga-guide-on-fedora-42"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pastelgradient-x/virtualbox-ga-guide-on-fedora-42","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pastelgradient-x","download_url":"https://codeload.github.com/pastelgradient-x/virtualbox-ga-guide-on-fedora-42/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278537766,"owners_count":26003250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fedora-workstation","virtualbox","virtualbox-guest-additions","virtualbox-vm"],"created_at":"2025-10-05T23:56:10.589Z","updated_at":"2025-10-05T23:56:13.101Z","avatar_url":"https://github.com/pastelgradient-x.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# virtualbox-ga-guide-on-fedora-42\n**pastelgradient's** Guide — How To Remove Fedora’s Default VirtualBox Guest Additions \u0026 Reinstall Them from ISO on Fedora 42 Workstation. \n\nIntroduction :  \nFedora Workstation 42 comes with the default \"virtualbox-guest-additions\" package pre-installed. For better compatibility (clipboard integration, auto-resize, seamless mode, etc.), it is recommended to use the latest version by removing the default package and reinstalling the Guest Additions from the official VirtualBox ISO.  \nWith the following commands, it is possible to ensure that everything related to VirtualBox—including default Guest Additions packages and any other VirtualBox components—is removed, which helps prevent potential conflicts during the ISO-based reinstallation.\n\n# Commands\n```bash\n# 1. Remove Fedora's Default Guest Additions Packages (and possible leftovers)\nsudo dnf remove virtualbox-guest-additions*\n\n# 2. Install Required Build Tools \u0026 Libraries (needed to build kernel modules)\nsudo dnf install gcc make perl dkms kernel-devel kernel-headers elfutils-libelf-devel bzip2\n\n# 3. Ensure ISO is mounted, otherwise remount\n#    (Via VirtualBox Menu: Devices \u003e Insert Guest Additions CD image)\n#    (Also possible by adding it before booting the VM, i recommand this step over the first one)\ncd /run/media/$(whoami)/VBox_GAs_7.2.2\n\n# 4. Uninstall Any Existing Guest Additions (from previous installs)\nsudo sh ./VBoxLinuxAdditions.run uninstall\n\n# 5. Delete Residual Files and Directories (for a clean slate)\nsudo rm -rf /var/lib/VBoxGuestAdditions\nsudo rm -rf /opt/VBoxGuestAdditions-*\nsudo rm -rf /usr/share/distribution-gpg-keys/virtualbox\n\n# 6. Clean Up Repository and Keys (if present)\nrpm -q gpg-pubkey --qf \"%{NAME}-%{VERSION}-%{RELEASE}\\t%{SUMMARY}\\n\"   # List registered GPG keys\nsudo rm /etc/yum.repos.d/virtualbox.repo                              # Remove VirtualBox repo if exists\n\n# 7. Remove User from Shared Folders Group (if previously added)\nsudo gpasswd -d $(whoami) vboxsf\n\n# 8. Verify Removal (optional but recommended)\nrpm -qa | grep -i virtualbox   # Output should be empty, or only unrelated VirtualBox packages\n\n# 9. Reboot to Complete Removal \u0026 Unload Modules\nsudo reboot -f\n\n# -------- Post-Reboot Steps --------\n\n# 10. Ensure ISO is still mounted, otherwise remount\ncd /run/media/$(whoami)/VBox_GAs_7.2.2\n\n# 11. Install Official Guest Additions from ISO\nsudo sh ./VBoxLinuxAdditions.run\n\n# 12. Add User to vboxsf Group (to enable shared folders)\nsudo usermod -aG vboxsf $(whoami)\n\n# 13. Final Reboot (to load fresh modules and group settings)\nsudo reboot -f\n\n```\nThank you for consulting this guide! If you found it helpful or have ideas for improvement, contributions and feedback are always welcome. Don’t hesitate to suggest changes or share your experiences!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpastelgradient-x%2Fvirtualbox-ga-guide-on-fedora-42/lists"}