Software Configuration
Windows 7 SP1 x64 (guest OS)
VirtualBox-4.2.6-82870-Win
VirtualBox installed at D:\VirtualBox
VM Configuration

Clone VM to rac02
VBoxManage clonevm rac01 –mode machine –name rac02 –register
Clone created new directory rac02 as well as copies for all asm disks (rac02-disk?.vdi)

Remove disk attachment from rac02
VBoxManage storageattach rac02 –storagectl “SATA” –port 1 –device 0 –type hdd –medium none
VBoxManage storageattach rac02 –storagectl “SATA” –port 2 –device 0 –type hdd –medium none
VBoxManage storageattach rac02 –storagectl “SATA” –port 3 –device 0 –type hdd –medium none
VBoxManage storageattach rac02 –storagectl “SATA” –port 4 –device 0 –type hdd –medium none
Remove disk image from VirtualBox media registry
Be sure to change directory to where the disks are located.
VBoxManage closemedium disk rac02-disk1.vdi
VBoxManage closemedium disk rac02-disk2.vdi
VBoxManage closemedium disk rac02-disk3.vdi
VBoxManage closemedium disk rac02-disk4.vdi

Delete rac02 virtual disk image
del rac02-disk*.vdi
Attach asm*.vdi to rac02:
Be sure to change directory to where the disks are located.
VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 1 –device 0 –type hdd –medium asm01.vdi –mtype shareable
VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 2 –device 0 –type hdd –medium asm02.vdi –mtype shareable
VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 3 –device 0 –type hdd –medium asm03.vdi –mtype shareable
VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 4 –device 0 –type hdd –medium asm04.vdi –mtype shareable

