How to convert an existing VirtualBox virtual machine to Image?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
Suppose I install an ISO of Linux Mint as a virtual machine on VirtualBox.
I want to install several programs, such as Terminator, Netbeans, Java, Ruby on Rails, etc.
How can I convert the virtual machine back to ISO so when I install on any other physical computer I have already my programs working as I configured?
linux virtualbox virtual-machine
add a comment |Â
up vote
1
down vote
favorite
Suppose I install an ISO of Linux Mint as a virtual machine on VirtualBox.
I want to install several programs, such as Terminator, Netbeans, Java, Ruby on Rails, etc.
How can I convert the virtual machine back to ISO so when I install on any other physical computer I have already my programs working as I configured?
linux virtualbox virtual-machine
You have not defined wether installing in another computer is physical or another vbox, or how many times you are replicating the image
â Rui F Ribeiro
Jul 28 at 14:07
It's to be installed in a physical computer
â Aleksandrus
Jul 28 at 14:33
If it were several computers, I would point you out to vagrant+packer
â Rui F Ribeiro
Jul 28 at 14:34
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Suppose I install an ISO of Linux Mint as a virtual machine on VirtualBox.
I want to install several programs, such as Terminator, Netbeans, Java, Ruby on Rails, etc.
How can I convert the virtual machine back to ISO so when I install on any other physical computer I have already my programs working as I configured?
linux virtualbox virtual-machine
Suppose I install an ISO of Linux Mint as a virtual machine on VirtualBox.
I want to install several programs, such as Terminator, Netbeans, Java, Ruby on Rails, etc.
How can I convert the virtual machine back to ISO so when I install on any other physical computer I have already my programs working as I configured?
linux virtualbox virtual-machine
edited Jul 28 at 14:33
asked Jul 27 at 15:30
Aleksandrus
16117
16117
You have not defined wether installing in another computer is physical or another vbox, or how many times you are replicating the image
â Rui F Ribeiro
Jul 28 at 14:07
It's to be installed in a physical computer
â Aleksandrus
Jul 28 at 14:33
If it were several computers, I would point you out to vagrant+packer
â Rui F Ribeiro
Jul 28 at 14:34
add a comment |Â
You have not defined wether installing in another computer is physical or another vbox, or how many times you are replicating the image
â Rui F Ribeiro
Jul 28 at 14:07
It's to be installed in a physical computer
â Aleksandrus
Jul 28 at 14:33
If it were several computers, I would point you out to vagrant+packer
â Rui F Ribeiro
Jul 28 at 14:34
You have not defined wether installing in another computer is physical or another vbox, or how many times you are replicating the image
â Rui F Ribeiro
Jul 28 at 14:07
You have not defined wether installing in another computer is physical or another vbox, or how many times you are replicating the image
â Rui F Ribeiro
Jul 28 at 14:07
It's to be installed in a physical computer
â Aleksandrus
Jul 28 at 14:33
It's to be installed in a physical computer
â Aleksandrus
Jul 28 at 14:33
If it were several computers, I would point you out to vagrant+packer
â Rui F Ribeiro
Jul 28 at 14:34
If it were several computers, I would point you out to vagrant+packer
â Rui F Ribeiro
Jul 28 at 14:34
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
I would not do it that way.
Debian, Ubuntu, Mint, etc
If you are using Debian or derivatives (e.g. mint), then have a look at equivs-control. It is a stupidly named tool, to allow you to make your own deb packages, so long as they only have dependencies (it is easier that making more general debs). You then only need to install this one package on all of your machines, and it will the other packages to be installed.
There are also tools to allow you to build Debian based ISO/Usb images, that are same as standard, but some extra packages pre-installed.
Any
- Write a shell script.
- Or use configuration management.
Thanks! I'll take a look at equivs-control
â Aleksandrus
Jul 27 at 16:34
add a comment |Â
up vote
1
down vote
Vagrant
I like using Vagrant to do this type of customization. You can either use the stock CentOS/Ubuntu/Debian box files (.box
) as initial base boxes or you can start with a stock ISO and build your own Vagrant box file using it.
The .box
files that most will typically want to use are here:
- centos/7
- ubuntu/xenial64
- debian/jessie64
- or more...
Example
Now take one of the sample Vagrantfile
s:
$ cat Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
end
or you can use one of mine via my github.com vagrantfiles repo. Now start it up, and SSH into it:
$ vagrant up
$ vagrant ssh
Once in, customize it. Once you're done exit the VM. Now you can package it:
$ vagrant package --base my-centos7
Once this is done, you'll get a .box file. This .box file can be referenced in other Vagrantfile
s for further reuse.
Managing .box
files
If you just want to download a .box
file you can use vagrant
to do this like so:
$ vagrant box add centos/7
See vagrant box
for additional usage details.
References
- Creating a Base Box
- How would I edit Vagrantfile so that Vagrant knows to get the .box file from my host?
- How can I get multiple virtual machines to communicate on the same network using VirtualBox and Ubuntu 16.04?
Did you make an error in paragraph 1? You say start with a stock system, or with a stock system.
â ctrl-alt-delor
Jul 28 at 9:34
@ctrl-alt-delor nope. You can start with the vagrant cloud box files which are stock builds from canonical, CentOS, Debian projects, or build your own using the iso. I'll elaborate that paragraph
â slmâ¦
Jul 28 at 11:57
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I would not do it that way.
Debian, Ubuntu, Mint, etc
If you are using Debian or derivatives (e.g. mint), then have a look at equivs-control. It is a stupidly named tool, to allow you to make your own deb packages, so long as they only have dependencies (it is easier that making more general debs). You then only need to install this one package on all of your machines, and it will the other packages to be installed.
There are also tools to allow you to build Debian based ISO/Usb images, that are same as standard, but some extra packages pre-installed.
Any
- Write a shell script.
- Or use configuration management.
Thanks! I'll take a look at equivs-control
â Aleksandrus
Jul 27 at 16:34
add a comment |Â
up vote
1
down vote
I would not do it that way.
Debian, Ubuntu, Mint, etc
If you are using Debian or derivatives (e.g. mint), then have a look at equivs-control. It is a stupidly named tool, to allow you to make your own deb packages, so long as they only have dependencies (it is easier that making more general debs). You then only need to install this one package on all of your machines, and it will the other packages to be installed.
There are also tools to allow you to build Debian based ISO/Usb images, that are same as standard, but some extra packages pre-installed.
Any
- Write a shell script.
- Or use configuration management.
Thanks! I'll take a look at equivs-control
â Aleksandrus
Jul 27 at 16:34
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I would not do it that way.
Debian, Ubuntu, Mint, etc
If you are using Debian or derivatives (e.g. mint), then have a look at equivs-control. It is a stupidly named tool, to allow you to make your own deb packages, so long as they only have dependencies (it is easier that making more general debs). You then only need to install this one package on all of your machines, and it will the other packages to be installed.
There are also tools to allow you to build Debian based ISO/Usb images, that are same as standard, but some extra packages pre-installed.
Any
- Write a shell script.
- Or use configuration management.
I would not do it that way.
Debian, Ubuntu, Mint, etc
If you are using Debian or derivatives (e.g. mint), then have a look at equivs-control. It is a stupidly named tool, to allow you to make your own deb packages, so long as they only have dependencies (it is easier that making more general debs). You then only need to install this one package on all of your machines, and it will the other packages to be installed.
There are also tools to allow you to build Debian based ISO/Usb images, that are same as standard, but some extra packages pre-installed.
Any
- Write a shell script.
- Or use configuration management.
edited Jul 28 at 9:32
answered Jul 27 at 16:15
ctrl-alt-delor
8,54031946
8,54031946
Thanks! I'll take a look at equivs-control
â Aleksandrus
Jul 27 at 16:34
add a comment |Â
Thanks! I'll take a look at equivs-control
â Aleksandrus
Jul 27 at 16:34
Thanks! I'll take a look at equivs-control
â Aleksandrus
Jul 27 at 16:34
Thanks! I'll take a look at equivs-control
â Aleksandrus
Jul 27 at 16:34
add a comment |Â
up vote
1
down vote
Vagrant
I like using Vagrant to do this type of customization. You can either use the stock CentOS/Ubuntu/Debian box files (.box
) as initial base boxes or you can start with a stock ISO and build your own Vagrant box file using it.
The .box
files that most will typically want to use are here:
- centos/7
- ubuntu/xenial64
- debian/jessie64
- or more...
Example
Now take one of the sample Vagrantfile
s:
$ cat Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
end
or you can use one of mine via my github.com vagrantfiles repo. Now start it up, and SSH into it:
$ vagrant up
$ vagrant ssh
Once in, customize it. Once you're done exit the VM. Now you can package it:
$ vagrant package --base my-centos7
Once this is done, you'll get a .box file. This .box file can be referenced in other Vagrantfile
s for further reuse.
Managing .box
files
If you just want to download a .box
file you can use vagrant
to do this like so:
$ vagrant box add centos/7
See vagrant box
for additional usage details.
References
- Creating a Base Box
- How would I edit Vagrantfile so that Vagrant knows to get the .box file from my host?
- How can I get multiple virtual machines to communicate on the same network using VirtualBox and Ubuntu 16.04?
Did you make an error in paragraph 1? You say start with a stock system, or with a stock system.
â ctrl-alt-delor
Jul 28 at 9:34
@ctrl-alt-delor nope. You can start with the vagrant cloud box files which are stock builds from canonical, CentOS, Debian projects, or build your own using the iso. I'll elaborate that paragraph
â slmâ¦
Jul 28 at 11:57
add a comment |Â
up vote
1
down vote
Vagrant
I like using Vagrant to do this type of customization. You can either use the stock CentOS/Ubuntu/Debian box files (.box
) as initial base boxes or you can start with a stock ISO and build your own Vagrant box file using it.
The .box
files that most will typically want to use are here:
- centos/7
- ubuntu/xenial64
- debian/jessie64
- or more...
Example
Now take one of the sample Vagrantfile
s:
$ cat Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
end
or you can use one of mine via my github.com vagrantfiles repo. Now start it up, and SSH into it:
$ vagrant up
$ vagrant ssh
Once in, customize it. Once you're done exit the VM. Now you can package it:
$ vagrant package --base my-centos7
Once this is done, you'll get a .box file. This .box file can be referenced in other Vagrantfile
s for further reuse.
Managing .box
files
If you just want to download a .box
file you can use vagrant
to do this like so:
$ vagrant box add centos/7
See vagrant box
for additional usage details.
References
- Creating a Base Box
- How would I edit Vagrantfile so that Vagrant knows to get the .box file from my host?
- How can I get multiple virtual machines to communicate on the same network using VirtualBox and Ubuntu 16.04?
Did you make an error in paragraph 1? You say start with a stock system, or with a stock system.
â ctrl-alt-delor
Jul 28 at 9:34
@ctrl-alt-delor nope. You can start with the vagrant cloud box files which are stock builds from canonical, CentOS, Debian projects, or build your own using the iso. I'll elaborate that paragraph
â slmâ¦
Jul 28 at 11:57
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Vagrant
I like using Vagrant to do this type of customization. You can either use the stock CentOS/Ubuntu/Debian box files (.box
) as initial base boxes or you can start with a stock ISO and build your own Vagrant box file using it.
The .box
files that most will typically want to use are here:
- centos/7
- ubuntu/xenial64
- debian/jessie64
- or more...
Example
Now take one of the sample Vagrantfile
s:
$ cat Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
end
or you can use one of mine via my github.com vagrantfiles repo. Now start it up, and SSH into it:
$ vagrant up
$ vagrant ssh
Once in, customize it. Once you're done exit the VM. Now you can package it:
$ vagrant package --base my-centos7
Once this is done, you'll get a .box file. This .box file can be referenced in other Vagrantfile
s for further reuse.
Managing .box
files
If you just want to download a .box
file you can use vagrant
to do this like so:
$ vagrant box add centos/7
See vagrant box
for additional usage details.
References
- Creating a Base Box
- How would I edit Vagrantfile so that Vagrant knows to get the .box file from my host?
- How can I get multiple virtual machines to communicate on the same network using VirtualBox and Ubuntu 16.04?
Vagrant
I like using Vagrant to do this type of customization. You can either use the stock CentOS/Ubuntu/Debian box files (.box
) as initial base boxes or you can start with a stock ISO and build your own Vagrant box file using it.
The .box
files that most will typically want to use are here:
- centos/7
- ubuntu/xenial64
- debian/jessie64
- or more...
Example
Now take one of the sample Vagrantfile
s:
$ cat Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
end
or you can use one of mine via my github.com vagrantfiles repo. Now start it up, and SSH into it:
$ vagrant up
$ vagrant ssh
Once in, customize it. Once you're done exit the VM. Now you can package it:
$ vagrant package --base my-centos7
Once this is done, you'll get a .box file. This .box file can be referenced in other Vagrantfile
s for further reuse.
Managing .box
files
If you just want to download a .box
file you can use vagrant
to do this like so:
$ vagrant box add centos/7
See vagrant box
for additional usage details.
References
- Creating a Base Box
- How would I edit Vagrantfile so that Vagrant knows to get the .box file from my host?
- How can I get multiple virtual machines to communicate on the same network using VirtualBox and Ubuntu 16.04?
edited Jul 28 at 14:55
answered Jul 28 at 0:59
slmâ¦
232k65479649
232k65479649
Did you make an error in paragraph 1? You say start with a stock system, or with a stock system.
â ctrl-alt-delor
Jul 28 at 9:34
@ctrl-alt-delor nope. You can start with the vagrant cloud box files which are stock builds from canonical, CentOS, Debian projects, or build your own using the iso. I'll elaborate that paragraph
â slmâ¦
Jul 28 at 11:57
add a comment |Â
Did you make an error in paragraph 1? You say start with a stock system, or with a stock system.
â ctrl-alt-delor
Jul 28 at 9:34
@ctrl-alt-delor nope. You can start with the vagrant cloud box files which are stock builds from canonical, CentOS, Debian projects, or build your own using the iso. I'll elaborate that paragraph
â slmâ¦
Jul 28 at 11:57
Did you make an error in paragraph 1? You say start with a stock system, or with a stock system.
â ctrl-alt-delor
Jul 28 at 9:34
Did you make an error in paragraph 1? You say start with a stock system, or with a stock system.
â ctrl-alt-delor
Jul 28 at 9:34
@ctrl-alt-delor nope. You can start with the vagrant cloud box files which are stock builds from canonical, CentOS, Debian projects, or build your own using the iso. I'll elaborate that paragraph
â slmâ¦
Jul 28 at 11:57
@ctrl-alt-delor nope. You can start with the vagrant cloud box files which are stock builds from canonical, CentOS, Debian projects, or build your own using the iso. I'll elaborate that paragraph
â slmâ¦
Jul 28 at 11:57
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f458875%2fhow-to-convert-an-existing-virtualbox-virtual-machine-to-image%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You have not defined wether installing in another computer is physical or another vbox, or how many times you are replicating the image
â Rui F Ribeiro
Jul 28 at 14:07
It's to be installed in a physical computer
â Aleksandrus
Jul 28 at 14:33
If it were several computers, I would point you out to vagrant+packer
â Rui F Ribeiro
Jul 28 at 14:34