Hello All,
I have a virtual machine with an immutable disk that I want to reset on every boot. Host OS is Ubuntu 10.04 64bit. The problem is the differencing disk does not reset on each boot. I ran
VBoxManage openmedium disk /opt/local/virtualbox/Disk3.vdi --type immutable
VBoxManage storageattach XP --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium /opt/local/virtualbox/Disk3.vdi
Then, the command
VBoxManage showhdinfo 3c7cec25-c0bc-41c7-9156-8df996079866
gives the output
Oracle VM VirtualBox Command Line Management Interface Version 3.2.2
(C) 2005-2010 Oracle Corporation
All rights reserved.
UUID: 3c7cec25-c0bc-41c7-9156-8df996079866
Accessible: yes
Description:
Logical size: 0 MBytes
Current size on disk: 0 MBytes
Type: normal (differencing)
Storage format: VDI
In use by VMs: XP (UUID: c48d8595-ecdc-4741-6bbc-e3f20685df06)
Location: /opt/local/virtualbox/{3c7cec25-c0bc-41c7-9156-8df996079866}.vdi
Auto-Reset: off
My understanding is that the default behavior is for differencing disks to have autoreset on by default.
I've tried
VBoxManage modifyhd 3c7cec25-c0bc-41c7-9156-8df996079866 --autoreset on
VBoxManage modifyhd --autoreset on 3c7cec25-c0bc-41c7-9156-8df996079866
Yet neither of them change the autoreset bahavior. I have also tried to create a snapshot immediately after attaching the disk to the VM, and marking the new differencing disk's autoreset to on, but showhdinfo always reports that it is off.
Please advise on what I am doing wrong.
Thanks,
Doug