I lost my VBOX in a system upgrade, but have the virtual disk archives.
I reinstalled 2.1.4 and can't figure out how to run it.
In the older version, when you set up a virtual disk, you had the option
to create a differencing drive based on another base drive.
That option has disappeared and I can't figure out how to create one.
I've read tutorials on immutable drives. There's much discussion
on whether or not the new data is lost when the machine is closed.
And it's not at all clear to me how to do immutability anyway...
I have a baseline win2k .vdi. I want to create multiple machines
based on this baseline. Is there a tutorial that describes in detail
how I do this in 2.1.4?
Thanks, mike
Create Differencing disk?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Create Differencing disk?
I think you mean "cloning". That function is still available, but due to the added functionality of full compatibility with VHD and VMDK, it might not work as it should. There are some work arounds here, like a normal file copy, then run VBoxManage internalcommands sethduuid <filename> on the copy.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
spamme0
- Posts: 4
- Joined: 31. Mar 2009, 04:06
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: win2k
Re: Create Differencing disk?
Thanks, but cloning is not what I want.
I want a BIG .vdi baseline file and several tiny
differencing disks for different applications based
on the BIG baseline file. I don't have the disk space
to make 'em clones.
This worked great in a previous version, but I can't remember which version.
All you had to do was click the box when creating the virtual disk.
Guess I'll have to try 'em all.
Don't know what the lawyers say, but cloned drives probably demand
individual licenses. If you have only one base windows installation,
one might argue that you need only one license....maybe...
I want a BIG .vdi baseline file and several tiny
differencing disks for different applications based
on the BIG baseline file. I don't have the disk space
to make 'em clones.
This worked great in a previous version, but I can't remember which version.
All you had to do was click the box when creating the virtual disk.
Guess I'll have to try 'em all.
Don't know what the lawyers say, but cloned drives probably demand
individual licenses. If you have only one base windows installation,
one might argue that you need only one license....maybe...
-
marnold
- Posts: 1
- Joined: 5. Apr 2009, 19:37
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 2003 R2, Gentoo, Ubuntu, Red Hat, Fedora, FreeBSD
Re: Create Differencing disk?
I think this is what you want to do....spamme0 wrote:Thanks, but cloning is not what I want.
I want a BIG .vdi baseline file and several tiny
differencing disks for different applications based
on the BIG baseline file. I don't have the disk space
to make 'em clones.
This worked great in a previous version, but I can't remember which version.
All you had to do was click the box when creating the virtual disk.
Guess I'll have to try 'em all.
- Create the base image.
defragment and then zero the free space
If you aren't running the latest version you might be able to compact the VDI using "VBoxManage"
Release the base image and delete from the "Virtual Media Manager" (Select "Keep" so you don't delete the physical file)
"attrib +r <Image VDI>" or "chmod a-r <Image VDI>" depending on window/linux host
Reattach VDI as immutable "VBoxManage openmedium disk <Image VDI> -type immutable"
Branching differencing disks requires a snapshot to be taken of the machine being used as the template and then skipping disk creation during the creation of a new machine wizard. You can attach a disk in the "Settings" dialog which has the option of "Show differencing disks". If you select this option, you will then be able to select the base differencing disk from which you want to branch.
I think this should answer your question.
I think this depends on what you are using the branches for. If you never run them both at the same time (I'm lucky - or unlucky as the case may be - in that I can't cos I don't have the hardwarespamme0 wrote: Don't know what the lawyers say, but cloned drives probably demand
individual licenses. If you have only one base windows installation,
one might argue that you need only one license....maybe...
Hope this helps. I am currently constructing a few blog posts on how to do this and will write it up as a full tutorial for posting here too http://mikesspacewithin.blogspot.com/.
-
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 Differencing disk?
If it's Microsoft you are talking about, then they would probably "demand" individual license fees regardless of the actual legal position.spamme0 wrote:Don't know what the lawyers say, but cloned drives probably demand
individual licenses.
Anyway, I personally don't see a substantial technical difference between a backup image of a physical PC hard drive, and a "clone" of a virtual hard drive. True, if you actually run both images at the same time then you may be in murkier waters... except if both are still on the same physical CPU, its still one CPU, one license... so that angle is debateable too IMHO.
In my case I already had an XP license for my home PC, and I bought a second one to use in VMs. The separate "vm license" giving me what I feel is the moral right to carry VMs between PCs. Having bought two licenses - to be used mostly on one physical PC, I do believe I've paid Microsoft their due!
-
spamme0
- Posts: 4
- Joined: 31. Mar 2009, 04:06
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: win2k
Re: Create Differencing disk?
Thanks, I'll give it a shot.
mike
mike