Can I install ubuntu on a Virtualbox image and use it anywhere?











up vote
1
down vote

favorite
2












I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the hardware of the original host?



I am just wondering if it would be smarter to do this or get a live CD and just create snapshots as I add more stuff into it.










share|improve this question




















  • 1




    note: unlike Windows or Mac OS X, Ubuntu, or any other GNU/Linux distribution, can be installed on a removable USB drive. That will yield much, much better performance, and be less of a hassle. also, please accept an answer to this question!
    – strugee
    Nov 17 '13 at 5:23















up vote
1
down vote

favorite
2












I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the hardware of the original host?



I am just wondering if it would be smarter to do this or get a live CD and just create snapshots as I add more stuff into it.










share|improve this question




















  • 1




    note: unlike Windows or Mac OS X, Ubuntu, or any other GNU/Linux distribution, can be installed on a removable USB drive. That will yield much, much better performance, and be less of a hassle. also, please accept an answer to this question!
    – strugee
    Nov 17 '13 at 5:23













up vote
1
down vote

favorite
2









up vote
1
down vote

favorite
2






2





I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the hardware of the original host?



I am just wondering if it would be smarter to do this or get a live CD and just create snapshots as I add more stuff into it.










share|improve this question















I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the hardware of the original host?



I am just wondering if it would be smarter to do this or get a live CD and just create snapshots as I add more stuff into it.







linux ubuntu virtualbox virtual-machine






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 at 15:08









Rui F Ribeiro

38.3k1475126




38.3k1475126










asked Mar 8 '13 at 4:06









user1632018

151116




151116








  • 1




    note: unlike Windows or Mac OS X, Ubuntu, or any other GNU/Linux distribution, can be installed on a removable USB drive. That will yield much, much better performance, and be less of a hassle. also, please accept an answer to this question!
    – strugee
    Nov 17 '13 at 5:23














  • 1




    note: unlike Windows or Mac OS X, Ubuntu, or any other GNU/Linux distribution, can be installed on a removable USB drive. That will yield much, much better performance, and be less of a hassle. also, please accept an answer to this question!
    – strugee
    Nov 17 '13 at 5:23








1




1




note: unlike Windows or Mac OS X, Ubuntu, or any other GNU/Linux distribution, can be installed on a removable USB drive. That will yield much, much better performance, and be less of a hassle. also, please accept an answer to this question!
– strugee
Nov 17 '13 at 5:23




note: unlike Windows or Mac OS X, Ubuntu, or any other GNU/Linux distribution, can be installed on a removable USB drive. That will yield much, much better performance, and be less of a hassle. also, please accept an answer to this question!
– strugee
Nov 17 '13 at 5:23










3 Answers
3






active

oldest

votes

















up vote
1
down vote



accepted










Yes you can do that. All you need to is create a virtual machine, install all the components you need and export it as an appliance. That appliance can then be imported by others in their machine. But, make sure you do not make any advance configuration changes like virtual disk type, as they might cause conflicts and the other user might need to again convert it for their need.



If you are a developer, I'd suggest you look into vagrant. It has all that you need and your collaboration even gets easier.






share|improve this answer




























    up vote
    1
    down vote













    When you using it on another machine, you must include the virtual disk, snapshot file ... I recommend you use a VirtualBox portable, it includes all of you need and can moving anywhere.
    If you installed VMS as normaly, you need copy all neccesary files and folder






    share|improve this answer




























      up vote
      0
      down vote













      Yes you can run vbox image on any machine. A lot of people work like that now.



      VBox build virtual hardware devices depending on your distribution choise.



      By the way I suggest to NOT use vbox portable and when you bring it to inother machine include virtual disc only. It's really not hard to attach it and as bonus you can set up different resource usage on different machines for the same virtual disc.






      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',
        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%2f67284%2fcan-i-install-ubuntu-on-a-virtualbox-image-and-use-it-anywhere%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
        1
        down vote



        accepted










        Yes you can do that. All you need to is create a virtual machine, install all the components you need and export it as an appliance. That appliance can then be imported by others in their machine. But, make sure you do not make any advance configuration changes like virtual disk type, as they might cause conflicts and the other user might need to again convert it for their need.



        If you are a developer, I'd suggest you look into vagrant. It has all that you need and your collaboration even gets easier.






        share|improve this answer

























          up vote
          1
          down vote



          accepted










          Yes you can do that. All you need to is create a virtual machine, install all the components you need and export it as an appliance. That appliance can then be imported by others in their machine. But, make sure you do not make any advance configuration changes like virtual disk type, as they might cause conflicts and the other user might need to again convert it for their need.



          If you are a developer, I'd suggest you look into vagrant. It has all that you need and your collaboration even gets easier.






          share|improve this answer























            up vote
            1
            down vote



            accepted







            up vote
            1
            down vote



            accepted






            Yes you can do that. All you need to is create a virtual machine, install all the components you need and export it as an appliance. That appliance can then be imported by others in their machine. But, make sure you do not make any advance configuration changes like virtual disk type, as they might cause conflicts and the other user might need to again convert it for their need.



            If you are a developer, I'd suggest you look into vagrant. It has all that you need and your collaboration even gets easier.






            share|improve this answer












            Yes you can do that. All you need to is create a virtual machine, install all the components you need and export it as an appliance. That appliance can then be imported by others in their machine. But, make sure you do not make any advance configuration changes like virtual disk type, as they might cause conflicts and the other user might need to again convert it for their need.



            If you are a developer, I'd suggest you look into vagrant. It has all that you need and your collaboration even gets easier.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 7 '13 at 10:24









            Gaumire

            1,11173




            1,11173
























                up vote
                1
                down vote













                When you using it on another machine, you must include the virtual disk, snapshot file ... I recommend you use a VirtualBox portable, it includes all of you need and can moving anywhere.
                If you installed VMS as normaly, you need copy all neccesary files and folder






                share|improve this answer

























                  up vote
                  1
                  down vote













                  When you using it on another machine, you must include the virtual disk, snapshot file ... I recommend you use a VirtualBox portable, it includes all of you need and can moving anywhere.
                  If you installed VMS as normaly, you need copy all neccesary files and folder






                  share|improve this answer























                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    When you using it on another machine, you must include the virtual disk, snapshot file ... I recommend you use a VirtualBox portable, it includes all of you need and can moving anywhere.
                    If you installed VMS as normaly, you need copy all neccesary files and folder






                    share|improve this answer












                    When you using it on another machine, you must include the virtual disk, snapshot file ... I recommend you use a VirtualBox portable, it includes all of you need and can moving anywhere.
                    If you installed VMS as normaly, you need copy all neccesary files and folder







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 8 '13 at 6:00









                    Narga

                    392




                    392






















                        up vote
                        0
                        down vote













                        Yes you can run vbox image on any machine. A lot of people work like that now.



                        VBox build virtual hardware devices depending on your distribution choise.



                        By the way I suggest to NOT use vbox portable and when you bring it to inother machine include virtual disc only. It's really not hard to attach it and as bonus you can set up different resource usage on different machines for the same virtual disc.






                        share|improve this answer



























                          up vote
                          0
                          down vote













                          Yes you can run vbox image on any machine. A lot of people work like that now.



                          VBox build virtual hardware devices depending on your distribution choise.



                          By the way I suggest to NOT use vbox portable and when you bring it to inother machine include virtual disc only. It's really not hard to attach it and as bonus you can set up different resource usage on different machines for the same virtual disc.






                          share|improve this answer

























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            Yes you can run vbox image on any machine. A lot of people work like that now.



                            VBox build virtual hardware devices depending on your distribution choise.



                            By the way I suggest to NOT use vbox portable and when you bring it to inother machine include virtual disc only. It's really not hard to attach it and as bonus you can set up different resource usage on different machines for the same virtual disc.






                            share|improve this answer














                            Yes you can run vbox image on any machine. A lot of people work like that now.



                            VBox build virtual hardware devices depending on your distribution choise.



                            By the way I suggest to NOT use vbox portable and when you bring it to inother machine include virtual disc only. It's really not hard to attach it and as bonus you can set up different resource usage on different machines for the same virtual disc.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Mar 8 '13 at 6:22

























                            answered Mar 8 '13 at 5:01









                            Ashera

                            82341226




                            82341226






























                                 

                                draft saved


                                draft discarded



















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f67284%2fcan-i-install-ubuntu-on-a-virtualbox-image-and-use-it-anywhere%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

                                サソリ

                                広島県道265号伴広島線

                                Accessing regular linux commands in Huawei's Dopra Linux