Create reusable image of customized virtualbox vmdk

This is for discussing general topics about how to use VirtualBox.
Post Reply
undersound
Posts: 4
Joined: 9. Jan 2012, 23:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: ubuntu 10.04 LTS

Create reusable image of customized virtualbox vmdk

Post by undersound »

I am running ubuntu 10.04 LTS in virtualbox. Installed lamp and added some personal tweaks.
Is it now possible to save this customized instance so I can reinstall this later easily.

If so what are the steps to perform to create this image?

Thanks in advance
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Create reusable image of customized virtualbox vmdk

Post by stefan.becker »

Save the vdi file. On a new host create a new guest pointing to this file.
undersound
Posts: 4
Joined: 9. Jan 2012, 23:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: ubuntu 10.04 LTS

Re: Create reusable image of customized virtualbox vmdk

Post by undersound »

Thanks for your reply.

I must be overlooking something or perhaps used the wrong configuration but I only see a vmdk file.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Create reusable image of customized virtualbox vmdk

Post by Perryg »

What Stefan is getting at is to save the folder that has the guest and it control file somewhere. (requires version => 4.0.* of VirtualBox).
undersound
Posts: 4
Joined: 9. Jan 2012, 23:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: ubuntu 10.04 LTS

Re: Create reusable image of customized virtualbox vmdk

Post by undersound »

Found the .vdi file. This is working now.

Thanks both !
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Create reusable image of customized virtualbox vmdk

Post by mpack »

undersound wrote:Found the .vdi file. This is working now!
Be careful. VirtualBox supports both VMDK and VDI disk image formats. We can't tell from here which one you should be using. Only you know how that disk image got there, and what's in it.
undersound
Posts: 4
Joined: 9. Jan 2012, 23:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: ubuntu 10.04 LTS

Re: Create reusable image of customized virtualbox vmdk

Post by undersound »

mpack wrote:Be careful. VirtualBox supports both VMDK and VDI disk image formats. We can't tell from here which one you should be using. Only you know how that disk image got there, and what's in it.
Thanks, will keep that in mind
Post Reply