1. Export the (normal) VM I want to clone as immutable. Import it with a new name. Start it, to make sure it still works. Shut it down. In a Command window, run
Code: Select all
VBoxManage modifyhd {6c47 .. 72e1}.vmdk --type immutableCode: Select all
VirtualBox Command Line Management Interface Version 3.1.2
ERROR: Hard disk 'F:\BoxV\DB4P\HardDisks\{6c47 ..f72e1}.vmdk' is attached to 1 virtual machines
Details: code E_FAIL (0x80004005), component Medium, interface IMedium, callee IUnknown
Context: "COMSETTER(Type)(DiskType)" at line 440 of file VBoxManageDisk.cpp2. Do what that message appears to suggest.
- VirtualBox | File | Virtual Media Manager | Highlight the HD | Release | Remove.
In a Command window, execute the VBoxManage modifyhd command. Completes normally.
Return to VirtualBox and the selected VM.
Details | Storage | IDE Controller | (2nd) Add Hard Drive
Click on the HD Icon. It gives me the first HD. [see Note below]
Add a second HD (the one I want). Swap IDE assignments.
Delete the first HD.
Note: My Hard Disk folder contains 15 files, so it was fortunate that the one I had tried to set immutable was the second one, by coincidence of the UUID generator. The fact that the "Add" function does not allow one to choose the file, but simply adds them to the VM in numerical order, is potentially very inconvenient.
In conclusion, I am certain that the process of creating an immutable hard drive is not this difficult, but I have not been able to discern it from either the PDF documentation or from the options presented by the Virtual Media Manager and the VBoxManage command. I have provided the above details in hopes that when the explanation is added to this thread, visitors may find the answer through a search that leads to this thread.
Please provide the details of a simple process for creating an immutable hard drive.
Thanks!