1 Base-Image for different VMs?!

This is for discussing general topics about how to use VirtualBox.
Post Reply
bjklkhjfgf
Posts: 2
Joined: 5. Oct 2011, 09:09
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP

1 Base-Image for different VMs?!

Post by bjklkhjfgf »

Hey there.

I'd like to use some Win XP-VMs. I'd be great if I could use 1 "base-image" and "differ-images" (1 per VM) to save storage. Is this possible using vbox?
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: 1 Base-Image for different VMs?!

Post by mpack »

Yes. Probably easiest is to create linked clones of your first running VM. See section 1.12 of the user manual.

And just to eliminate a common misconception: bear in mind that the shared base image must be frozen, you cannot apply OS updates to it later, these would have to be applied to each individual child VM.
bjklkhjfgf
Posts: 2
Joined: 5. Oct 2011, 09:09
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP

Re: 1 Base-Image for different VMs?!

Post by bjklkhjfgf »

It is not? I thought tghis would be realized as some kind of 2-layer-file system. So if a file is not present in the individual image, it will be searched in the base image?!
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: 1 Base-Image for different VMs?!

Post by BillG »

It is a two-layer system. The second layer holds only changes to the base image. That is why you cannot change the base image itself.
Bill
Leak
Posts: 242
Joined: 31. Mar 2009, 13:00
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian Testing, Windows XP, Windows Server 2003/2008 R2

Re: 1 Base-Image for different VMs?!

Post by Leak »

BillG wrote:It is a two-layer system. The second layer holds only changes to the base image. That is why you cannot change the base image itself.
Yeah, it's a two-layer system - but a 2-layer disc-sector-system, not a 2-layer file-system. VirtualBox's VHD files are totally file-system agnostic, otherwise you could only use a handful of file-systems that were supported by VirtualBox...
stinkyfingerjones
Posts: 1
Joined: 15. Oct 2011, 08:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: none

Re: 1 Base-Image for different VMs?!

Post by stinkyfingerjones »

bjklkhjfgf wrote:Hey there.

I'd like to use some Win XP-VMs. I'd be great if I could use 1 "base-image" and "differ-images" (1 per VM) to save storage. Is this possible using vbox?
see http://www.electricmonk.nl/log/2011/09/ ... -on-write/
Post Reply