I am running Fedora on a VirtualBox. Sometimes to allow for performing some real hardware testing, I need to run my development environment on a physical machine. So I need the hard disk of the virtual machine (the .vdi file) to be interchangeably working on both the virtual machine itself and my physical PC by booting a bootable image, mounting the vdi file, and then chrooting to it.
I thought this was easy to achieve but it seems not. I hope to find an answer here.