LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   VM to ISO file (https://www.linuxquestions.org/questions/linux-general-1/vm-to-iso-file-4175662451/)

sniper8752 10-12-2019 06:53 PM

VM to ISO file
 
Is it possible to convert a VM from VirtualBox, into an ISO format, put it onto a drive, then boot it up? I would assume that re-sizing the drive would not be an issue.
I found this which seems to do the trick, but just want to make sure it will work for what I want it to do. https://askubuntu.com/questions/5569...-from-vdi-file

berndbausch 10-12-2019 07:40 PM

Not sure if this counts as an answer, but I would just try it. Instead if putting it on a drive, try booting a VM from the ISO file.

Here are a few potential problems. The VM can be considered "customized". It has certain drivers for storage and networking, which might not match the machine that you want to boot it on. It has hostname, MAC and IP addresses. It may expect filesystems with certain UUIDs. It may even use CPU instructions, registers or other resources that are only available on the virtual machine's CPU. And more.

Taking an image and starting it on a different system without any other preparation is likely to fail at some point. There are, however, tools that allow you to de-personalize such a disk image, for example virt-sysprep.


All times are GMT -5. The time now is 03:21 PM.