0

Is it possible to install Ubuntu from a pre-configured VirtualBox installation?

If so, how can I do it?

  • Maybe, but why? Using the Ubuntu ISO, it generally takes about 20 minutes to install and fully configure an Ubuntu installation. – Charles Green Jan 22 '19 at 15:48
  • That's because I'd like to install some programs first and test them before the installation. And In case everything works as expected, I'd like to use the VirtualBox image, and save me some time. – darksoulsong Jan 22 '19 at 18:56
  • So, you are building a VB, installing programs and testing, and then you want to roll that VB out to your users? – Charles Green Jan 23 '19 at 02:01
  • @CharlesGreen You're almost there. In fact, I want to replace the actual Ubuntu installation I have on my PC by that one I just configured on the Virtual Box. – darksoulsong Jan 23 '19 at 16:07
  • OK - I think this is what you are looking for - I have not used this myself, and according to the launchpad website it is no longer developed or supported. A second program, 'mondorescue' ceased development in 2016. Perhaps clonezilla? – Charles Green Jan 23 '19 at 16:17
  • @CharlesGreen I see. So this has more to do with creating an image from the system than the VirtualBox itself. So all I have to do is configure my ubuntu installation, install all the programs I want, create an image with Clonezilla and restore it to my computer. Is this it? I'm sorry for the noobish question, I really don't know much about this. – darksoulsong Jan 24 '19 at 19:51
  • 1
    I've never done it myself - I find it quite easy to install to virtual devices, and I have create scripts that to the installation of programs that I want to have on the computer. – Charles Green Jan 24 '19 at 19:57

1 Answers1

1

This can be done in at least two manners.

First, assuming that you built and installed your VM on at least one computer, your can Export you VM as an appliance from the first computer, and Import VM from appliance on as many target machine as you wish. This would be quick and painless.

Or

You can create a custom installation ISO, as detained in How to customize the Ubuntu Live CD?

There are undoubtably other methods to do this function. There are nine answers at this link: https://superuser.com/questions/633431/whats-the-recommended-way-to-move-a-virtualbox-vm-to-another-computer

Charles Green
  • 21,339