Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • RHEL 9 in VirtualBox fails to find hard disk

    Posted on

    Hi!

    I am adapting a workflow where I use Packer to generate an OVF image of RHEL 7.9 + extra RPMs to do the same for RHEL 9.2 (with RPMs compiled for it, of course), fully scripted with a kickstart file to run unattended. I run the build on an ESXi server, and the OVF imports fine into another ESXi server, so I know the image itself is correct.

    For local testing, I have been running VirtualBox locally on my machine, and imported the OVF there (this is also something I know is used downstream from us), and this has been working fine. With the RHEL 9.2 OVF, however, the kernel boots up but is unable to find the LVM (I have verified that the rd.lvm.lv parameter is set correctly on the kernel command line). Grub sees the hard disk and boots the kernel, but the kernel cannot find the hard disk.

    I did a side-by-side comparison of the generated .ovf file, and except for the file names and sizes, the VM settings are identical.

    Has anyone seen anything similar and have ideas? I have tried changing the controller type for the imported disk image, but no matter what I set it up as, it cannot find the root file system (it can find a DVD-ROM if I add one, however).

    VirtualBox 7 screenshot, showing grub command line and contents of /dev

    Running the installer in VirtualBox directly generates a VM that works fine, so I know VirtualBox can run RHEL 9.2.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat