# Vagrant box rockylinux/8 fails for virtualbox provider with error VBOX\_E\_OBJECT\_NOT\_FOUND

**URL:** <https://forums.rockylinux.org/t/vagrant-box-rockylinux-8-fails-for-virtualbox-provider-with-error-vbox-e-object-not-found/8228>\
**Category:** Rocky Linux Help & Support\
**Created:** [December 12, 2022, 9:01pm UTC](https://forums.rockylinux.org/t/vagrant-box-rockylinux-8-fails-for-virtualbox-provider-with-error-vbox-e-object-not-found/8228 "2022-12-12T21:01:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jdeathe](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jdeathe/32/2558_2.png) [@jdeathe](https://forums.rockylinux.org/u/jdeathe)\
**Post date:** [December 17, 2022, 11:39am UTC](https://forums.rockylinux.org/t/vagrant-box-rockylinux-8-fails-for-virtualbox-provider-with-error-vbox-e-object-not-found/8228/4 "2022-12-17T11:39:27Z")

</div>

To enable UEFI in VirtualBox 7.0 there’s info in the respective manuals:

- [OracleÂ® VM VirtualBox User Manual for Release 7.0 - ChapterÂ&nbsp;3Â&nbsp;Configuring Virtual Machines](https://docs.oracle.com/en/virtualization/virtualbox/7.0/user/BasicConcepts.html#efi)
- [Configuration - VirtualBox Provider | Vagrant | HashiCorp Developer](https://developer.hashicorp.com/vagrant/docs/providers/virtualbox/configuration#vboxmanage-customizations)

To test the supplied fix:

- Create Vagrantfile in working directory:

```auto
Vagrant.configure("2") do |config|
  config.vm.box = "rockylinux/8"
  config.vm.provider "virtualbox" do |domain|
    domain.customize ["modifyvm", :id, "--firmware", "efi"]
  end
end

```

- Create bugfix box metadata file named `box-metadata.json` in working directory:

```auto
{
  "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:

```auto
vagrant box add box-metadata.json

```

- Bring up the box:

```auto
vagrant up

```

- Box runs without error.

```auto
$ vagrant ssh -- "sudo cat /etc/rocky-release"
Rocky Linux release 8.7 (Green Obsidian)

```

Thanks again @label

---

_[View the full topic](https://forums.rockylinux.org/t/vagrant-box-rockylinux-8-fails-for-virtualbox-provider-with-error-vbox-e-object-not-found/8228)._
