errors trying to use partitions on windows 7
Posted: 9. Apr 2015, 18:05
I created a solaris guest and subsequently decided to add two partitions of another physical disk to allow me to play with zfs. I used this command --> vboxmanage internalcommands createrawvmdk -filename "c:\users\dennis\virtualbox vms\densol1\disk1.vmdk" -rawdisk "\\.\Physicaldrive1" -partitions "5" and this command --> vboxmanage internalcommands createrawvmdk -filename "c:\users\dennis\virtualbox vms\densol1\disk2.vmdk" -rawdisk "\\.\Physicaldrive1" -partitions "6" to add two partitions to my guest. When I tried to start up the guest I got the following errors: Now I've done some reading about permissions being an issue but I've checked that and all appears fine. I went through the diskpart steps to clear the readonly setting on the physical disk, but it still doesn't work.
00:00:01.572330 VMSetError: Failed to open image 'C:\Users\Dennis\VirtualBox VMs\densol1\disk2.vmdk' for writing due to wrong permissions
00:00:01.572366 VD: Opening the disk took 1986917 ns
00:00:01.572503 VMSetError: F:\tinderbox\win-4.3\src\VBox\Devices\Storage\DrvBlock.cpp(1077) int __cdecl drvblockConstruct(struct PDMDRVINS *,struct CFGMNODE *,unsigned int); rc=VERR_VD_IMAGE_READ_ONLY
00:00:01.572512 VMSetError: Failed to attach driver below us! Image is read-only.
00:00:01.572565 VMSetError: F:\tinderbox\win-4.3\src\VBox\Devices\Storage\DevATA.cpp(7572) int __cdecl ataR3Construct(struct PDMDEVINS *,int,struct CFGMNODE *); rc=VERR_VD_IMAGE_READ_ONLY
00:00:01.572573 VMSetError: PIIX3 cannot attach drive to the Secondary Slave
00:00:01.572602 PDM: Failed to construct 'piix3ide'/0! VERR_VD_IMAGE_READ_ONLY (-3205) - Image is read-only.
00:00:01.646836 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={8ab7c520-2442-4b66-8d74-4ff1e195d2b6} aComponent={Console} aText={Failed to open image 'C:\Users\Dennis\VirtualBox VMs\densol1\disk2.vmdk' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).
00:00:01.646932 Failed to attach driver below us! Image is read-only. (VERR_VD_IMAGE_READ_ONLY).
00:00:01.646933 PIIX3 cannot attach drive to the Secondary Slave (VERR_VD_IMAGE_READ_ONLY)}, preserve=false
00:00:01.688997 Power up failed (vrc=VERR_VD_IMAGE_READ_ONLY, rc=E_FAIL (0X80004005))
00:00:01.780788 UIMachineView::storeGuestSizeHint: Storing guest size-hint for screen 0 as 640x480
00:00:01.572330 VMSetError: Failed to open image 'C:\Users\Dennis\VirtualBox VMs\densol1\disk2.vmdk' for writing due to wrong permissions
00:00:01.572366 VD: Opening the disk took 1986917 ns
00:00:01.572503 VMSetError: F:\tinderbox\win-4.3\src\VBox\Devices\Storage\DrvBlock.cpp(1077) int __cdecl drvblockConstruct(struct PDMDRVINS *,struct CFGMNODE *,unsigned int); rc=VERR_VD_IMAGE_READ_ONLY
00:00:01.572512 VMSetError: Failed to attach driver below us! Image is read-only.
00:00:01.572565 VMSetError: F:\tinderbox\win-4.3\src\VBox\Devices\Storage\DevATA.cpp(7572) int __cdecl ataR3Construct(struct PDMDEVINS *,int,struct CFGMNODE *); rc=VERR_VD_IMAGE_READ_ONLY
00:00:01.572573 VMSetError: PIIX3 cannot attach drive to the Secondary Slave
00:00:01.572602 PDM: Failed to construct 'piix3ide'/0! VERR_VD_IMAGE_READ_ONLY (-3205) - Image is read-only.
00:00:01.646836 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={8ab7c520-2442-4b66-8d74-4ff1e195d2b6} aComponent={Console} aText={Failed to open image 'C:\Users\Dennis\VirtualBox VMs\densol1\disk2.vmdk' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).
00:00:01.646932 Failed to attach driver below us! Image is read-only. (VERR_VD_IMAGE_READ_ONLY).
00:00:01.646933 PIIX3 cannot attach drive to the Secondary Slave (VERR_VD_IMAGE_READ_ONLY)}, preserve=false
00:00:01.688997 Power up failed (vrc=VERR_VD_IMAGE_READ_ONLY, rc=E_FAIL (0X80004005))
00:00:01.780788 UIMachineView::storeGuestSizeHint: Storing guest size-hint for screen 0 as 640x480