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

  • Why not just copy the virtual machine files over? – Faheem Mitha May 4 '14 at 20:03
  • Because, 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? – Harbir May 4 '14 at 20:25
  • This 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 – user66773 May 4 '14 at 22:18

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.

You could consider using Relax and Recover full backup software which is available for Suse.

  • install it on the VM,
  • perform your full backup on a removable device (USB stick, disk)
  • boot on this device to restore it to your server.

I would use VBoxManage clonehd file.vdi output.iso --format RAW or similar. Then it sould be a matter of just making sure the bootflag is set on the media you used for the iso.

New contributor
Michael Prokopec is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.