vmware / vmware/photon

Photon OS 3 doesn't work with Vagrant/VirtualBoxAdditions

Open
#892 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

Background: Unlike vmware/photon on vagrantcloud.com I did manage to get a full vagrantized version of Photon (version 1.0) to work including shared folders. Pull silverhighway/photon and take a look.

However I have not been able to do with same with version 2.0 or version 3.0

The installer VBoxLinuxAdditions.run does not detect the Linux headers for the subsequent versions even though they are installed (via tdnf install build-essential or just tdnf install linux-api-headers)

Here is the output

root@photon [ /mnt/cdrom ]# ./VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 6.0.5 Guest Additions for Linux........ VirtualBox Guest Additions installer Removing installed version 6.0.5 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version> VirtualBox Guest Additions: or VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all VirtualBox Guest Additions: Kernel headers not found for target kernel 4.19.29-1.ph3. Please install them and execute /sbin/rcvboxadd setup modprobe vboxguest failed The log file /var/log/vboxadd-setup.log may contain further information. root@photon [ /mnt/cdrom ]# uname -r 4.19.29-1.ph3 root@photon [ /mnt/cdrom ]#

Any ideas? Has anyone managed to get this to work?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on Photon OS 3 with the VBoxLinuxAdditions.run installer and kernel 4.19.29-1.ph3. Read /sbin/rcvboxadd and /var/log/vboxadd-setup.log first, then compare the installed headers with the target kernel. Done means VirtualBox Guest Additions builds and shared folders work on the affected Photon versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
infrastructure, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.