Creating an iso from the virtual machine











up vote
1
down vote

favorite
1












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










share|improve this question














bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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















up vote
1
down vote

favorite
1












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










share|improve this question














bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





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










share|improve this question













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







linux centos virtualbox opensuse iso






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 4 '14 at 19:41









Harbir

1851614




1851614





bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • 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


















  • 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
















Why not just copy the virtual machine files over?
– Faheem Mitha
May 4 '14 at 20:03




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




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




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










3 Answers
3






active

oldest

votes

















up vote
0
down vote













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.






share|improve this answer




























    up vote
    0
    down vote













    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.






    share|improve this answer




























      up vote
      0
      down vote













      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.






      share|improve this answer





















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "106"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f127841%2fcreating-an-iso-from-the-virtual-machine%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        0
        down vote













        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.






        share|improve this answer

























          up vote
          0
          down vote













          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.






          share|improve this answer























            up vote
            0
            down vote










            up vote
            0
            down vote









            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.






            share|improve this answer












            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.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 23 '14 at 22:59









            SailorCire

            1,8581921




            1,8581921
























                up vote
                0
                down vote













                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.






                share|improve this answer

























                  up vote
                  0
                  down vote













                  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.






                  share|improve this answer























                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    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.






                    share|improve this answer












                    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.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jul 10 at 7:30









                    tonioc

                    1,16968




                    1,16968






















                        up vote
                        0
                        down vote













                        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.






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          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.






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            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.






                            share|improve this answer












                            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.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 17 at 4:31









                            Michael Prokopec

                            1,001116




                            1,001116






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f127841%2fcreating-an-iso-from-the-virtual-machine%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Accessing regular linux commands in Huawei's Dopra Linux

                                Can't connect RFCOMM socket: Host is down

                                Kernel panic - not syncing: Fatal Exception in Interrupt