So on my Laptop I dual boot Arch Linux and Open BSD 6.9.
What I want to do is to within Arch Linux be able to boot my Open BSD partition using Virtal Box, use the BSD operating system normally in the virtual environment, and then have any changes made during my Virtual Box session to be saved to my disk partition for Open BSD.
So in effect when I actually physically boot into the Open BSD Partition all my 'Virtual Changes' are reflected.
I understand it is possible to do the booting part as described here: Use VirtualBox to boot a physical drive/partition
but at least as far as I can tell the changes are not saved to the physical disk, but instead to a .vmdk.
I have also read this answer: Moving an OS from a virtual box to the hard disk
that seems to suggest that one can make a conversion from a virtal image to a physical one.
A potential solution might be making some bash scripts that perform all this, but before I go down that route I would like to see if there is an integrated solution in Virtal Box proper.
My question is this possible and if so is it adviable? I imagine corrupting data is a big concern, and there are certain things like mounting the host disk parition in virtual environment which are a big no-no.