Hi all,
I tried setting an image to "immutable" but that didn't work:
First I did unregister the image from the VM which was using it, then I
unregistered it from VBoxManage:
--
[EMAIL PROTECTED] ~ $ VBoxManage unregisterimage disk
~/.VirtualBox/VDI/isecom03.vdi
VirtualBox Command Line Management Interface Version 1.3.2
(C) 2005-2007 InnoTek Systemberatung GmbH
All rights reserved.
--
-> works fine
now set the option:
--
[EMAIL PROTECTED] ~ $ VBoxManage modifyvdi ~/.VirtualBox/VDI/isecom03.vdi
-type immutable
VirtualBox Command Line Management Interface Version 1.3.2
(C) 2005-2007 InnoTek Systemberatung GmbH
All rights reserved.
[!] FAILED calling virtualBox->FindVirtualDiskImage(filepath,
vdi.asOutParam()) at line 2131!
[!] Primary RC = 0x80070057
[!] Full error info available = true
[!] Basic error info available = true
[!] Result Code = 0x80070057
[!] Text = {Could not find a registered VDI hard disk with the
file path '/mnt/dev10/vbox/VDI/isecom03.vdi'}
[!] Component = {VirtualBox}
[!] Interface = {IVirtualBox}
[!] IID = {e1d95593-f579-4f47-b489-0b67181014e1}
[!] Callee Name = {IVirtualBox}
[!] Callee IID = {e1d95593-f579-4f47-b489-0b67181014e1}
--
ok so register it again
--
[EMAIL PROTECTED] ~ $ VBoxManage registerimage disk
~/.VirtualBox/VDI/isecom03.vdi
VirtualBox Command Line Management Interface Version 1.3.2
(C) 2005-2007 InnoTek Systemberatung GmbH
All rights reserved.
--
and set the option again:
--
[EMAIL PROTECTED] ~ $ VBoxManage modifyvdi ~/.VirtualBox/VDI/isecom03.vdi
-type immutable
VirtualBox Command Line Management Interface Version 1.3.2
(C) 2005-2007 InnoTek Systemberatung GmbH
All rights reserved.
[!] FAILED calling hardDisk->SetType(HardDiskType::ImmutableHardDisk) at
line 2159!
[!] Primary RC = 0x80004005
[!] Full error info available = true
[!] Basic error info available = true
[!] Result Code = 0x80004005
[!] Text = {You cannot change the type of the registered hard
disk '/mnt/dev10/vbox/VDI/isecom03.vdi'}
[!] Component = {HardDisk}
[!] Interface = {IHardDisk}
[!] IID = {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee Name = {IHardDisk}
[!] Callee IID = {fd443ec1-000f-4f5b-9282-d72760a66916}
--
Now I'm a bit confused. When can I set that how?
cu
Adrian
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users