[HashiCorp] Re: VBOX_E_OBJECT_NOT_FOUND for rockylinux/8

After running vagrant init on rockylinux/8, vagrant up fails.

Here is the transcript:

(base) MacBook-Pro-Glen:rocky8 maclach$ vagrant init rockylinux/8
A Vagrantfile has been placed in this directory. You are now
ready to vagrant up your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
[vagrantup.com](http://vagrantup.com/) for more information on using Vagrant.
(base) MacBook-Pro-Glen:rocky8 maclach$ vagrant up
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Importing base box ‘rockylinux/8’…
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: [“import”, “-n”, “/Users/maclach/.vagrant.d/boxes/rockylinux-VAGRANTSLASH-8/7.0.0/virtualbox/box.ovf”]

VBoxManage: error: Appliance read failed
VBoxManage: error: Failed to open OVF file ‘/Users/maclach/.vagrant.d/boxes/rockylinux-VAGRANTSLASH-8/7.0.0/virtualbox/box.ovf’ (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: “RTEXITCODE handleImportAppliance(HandlerArg *)” at line 510 of file VBoxManageAppliance.cpp

I should also note that vagrant init/up works fine for Rocky9 and other distros so I think this may be specific to Rocky8.

1 Like

Hey man! I know this issue is kind of old, but just to registry some solution here.


  • Create Vagrantfile in working directory:
Vagrant.configure("2") do |config|
  config.vm.box = "rockylinux/8"
  config.vm.provider "virtualbox" do |domain|
    domain.customize ["modifyvm", :id, "--firmware", "efi"]
  • Create bugfix box metadata file named box-metadata.json in working directory:
  "name" : "rockylinux/8",
  "description" : "Rocky Linux 8 7.0.0 Bugfix",
  "versions" : [
      "version" : "7.0.1-20221213.0",
      "providers" : [
          "name" : "virtualbox",
          "url" : "http://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-Vagrant-Vbox-8.7-20221213.0.x86_64.box"
  • Add bugfix box:
vagrant box add box-metadata.json
  • Bring up the box:
vagrant up
  • Box runs without error.
$ vagrant ssh -- "sudo cat /etc/rocky-release"
Rocky Linux release 8.7 (Green Obsidian)


Some guys on RockyLinux Forum had discussed this and resolved the issue