Creating an iso from the virtual machine
qemu-img
might be what you're looking for. You should be able to convert from a vmdk to a raw disk image.
Then copy your raw disk image (using something like dd
) to your physical drive.
This might not work as expected; however, there is another way using autoYaST where you can copy the configuration of your current machine and you can then take that config and build another one.
Once the new box is finished then just copy the config files for your programs to it.
Related videos on Youtube
Harbir
Updated on September 18, 2022Comments
-
Harbir over 1 year
I have openSuse installed as a virtual machine on Oracle Virtual Box, and I have configured some softwares with the way I require. I need to replicate the similar environment on a new Server (NOT the Virtual Machine). I was thinking if its possible to create an iso image from the virtual machine, that can be used as a bootable image for my server? If there is, then how can be achieved? Thanks
-
Alen Milakovic almost 10 yearsWhy not just copy the virtual machine files over?
-
Harbir almost 10 yearsBecause, I do not want to start as a virtual machine, I want to build the host with all that software configurations. Can this be done with what you are suggesting?
-
user66773 almost 10 yearsThis is not officially supported, but I was curious about this as well and found something that will probably work. The tutorial isn't for virtual box, vmware, but I think you can adjust accordingly. Course if you had to you could always install vmware player and migrate it over, then follow the link below. howtoforge.com/converting-a-vmware-image-to-a-physical-machine
-
-
SeyyedKhandon over 3 yearsHow do you write the whole backup in 1 .iso with rear?
-
tonioc over 3 yearsrear won't write an ISO file, but still can achieve the purpose of clonig the system but OK, that's maybe not the appropriate response if the intended use case is to create a live OS image.
-
SeyyedKhandon over 3 yearsYes it can, I had the problem, and finally the one of core team did a good explanation which is available at unix.stackexchange.com/questions/621749/…
-
Ray Woodcock over 2 yearsI tried something like this. It did not work. Possibly there is an additional step that would prevent the "Missing partition table" error that I got. See raywoodcockslatest.wordpress.com/2021/08/17/linux-v2p/#EFa