VirtualBox Failed to open image due to wrong permissions (VERR_VD_IMAGE_READ_ONLY)

-1

I've been trying to launch a VirtualMachine for a couple hours now and have not seemed to be able to get it to work.

I have very little knowledge of virtualmachines but I've still been stuck on this same issue for a while.

Things I've tried:

  1. Booting VirtualBox in administrator mode
  2. Reinstalling virtualbox in administrator mode
  3. Changing the vhd's permissions
  4. Checking if the vhd was read only (it wasn't)
  5. Ran taskkill /IM vboxsvc.exe /f in console
  6. Checked for newer versions of virtualbox
  7. Recreated the vm multiple times using new and old vhd
  8. Created a new vhd
  9. Deleting the "Empty" attachment

And none of this have given me less issues, however sometimes I have gotten it to boot but then say something along the lines of "Could not boot from the boot medium" or just "FATAL:INT18: BOOT FAILURE" or even just gotten me back to the "Failed to open image due to wrong permissions (VERR_VD_IMAGE_READ_ONLY)"

I really have no clue where to go next but I have attached some screenshots of how everything looks if that's any help. Thanks in advance! https://i.stack.imgur.com/DR3bA.png https://i.stack.imgur.com/et6VF.png

Logs:

00:00:02.613095 BlkCache: Cache commit threshold is 2621440 bytes

00:00:03.038218 PcBios: [SMP] BIOS with 1 CPUs

00:00:03.038236 PcBios: Using the 386+ BIOS image.

00:00:03.038281 PcBios: MPS table at 000e1300

00:00:03.040488 PcBios: fCheckShutdownStatusForSoftReset=true fClearShutdownStatusOnHardReset=true

00:00:03.093940 SUP: seg #0: R 0x00000000 LB 0x00001000

00:00:03.093948 SUP: seg #1: R X 0x00001000 LB 0x0001e000

00:00:03.093952 SUP: seg #2: R 0x0001f000 LB 0x0000d000

00:00:03.093955 SUP: seg #3: RW 0x0002c000 LB 0x00001000

00:00:03.093958 SUP: seg #4: R 0x0002d000 LB 0x00003000

00:00:03.093960 SUP: seg #5: RWX 0x00030000 LB 0x00001000

00:00:03.093963 SUP: seg #6: R 0x00031000 LB 0x00002000

00:00:03.093997 SUP: Loaded VBoxDDR0.r0 (C:\Program Files\Oracle\VirtualBox\VBoxDDR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX using the native ring-0 loader

00:00:03.094002 SUP: windbg> .reload /f C:\Program Files\Oracle\VirtualBox\VBoxDDR0.r0=0xXXXXXXXXXXXXXXXX

00:00:03.094196 CPUM: SetGuestCpuIdFeature: Enabled xAPIC

00:00:03.094356 IOAPIC: Using implementation 2.0! Chipset type ICH9

00:00:03.094397 PIT: mode=3 count=0x10000 (65536) - 18.20 Hz (ch=0)

00:00:03.106463 Shared Folders service loaded

00:00:03.113459 Guest Control service loaded

00:00:03.155868 VGA: Using the 386+ BIOS image.

00:00:03.157211 DrvVD: Flushes will be ignored

00:00:03.157219 DrvVD: Async flushes will be passed to the disk

00:00:03.158568 VD: VDInit finished with VINF_SUCCESS

00:00:03.158856 AIOMgr: Endpoint for file 'D:\disk.vhd' (flags 000c0781) created successfully

00:00:03.159247 VMSetError: F:\tinderbox\win-6.1\src\VBox\Devices\Storage\DrvVD.cpp(5228) int __cdecl drvvdConstruct(struct PDMDRVINS *,struct CFGMNODE *,unsigned int); rc=VERR_VD_IMAGE_READ_ONLY

00:00:03.159266 VMSetError: Failed to open image 'D:\disk.vhd' for writing due to wrong permissions

00:00:03.159280 VD: Opening the disk took 823838 ns

00:00:03.159642 VMSetError: F:\tinderbox\win-6.1\src\VBox\Devices\Storage\DevAHCI.cpp(6027) int __cdecl ahciR3Construct(struct PDMDEVINSR3 *,int,struct CFGMNODE *); rc=VERR_VD_IMAGE_READ_ONLY

00:00:03.159645 VMSetError: AHCI: Failed to attach drive to Port0

00:00:03.159655 PDM: Failed to construct 'ahci'/0! VERR_VD_IMAGE_READ_ONLY (-3205) - Image is read-only.

00:00:03.171207 GIM: HyperV: Resetting MMIO2 regions and MSRs

00:00:03.172037 NEM: Destroying partition 0000000002b3c4e0 with its 1 VCpus...

00:00:03.174204 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to open image 'D:\disk.vhd' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).

00:00:03.174228 AHCI: Failed to attach drive to Port0 (VERR_VD_IMAGE_READ_ONLY)}, preserve=false aResultDetail=-3205

00:00:03.174367 Console: Machine state changed to 'PoweredOff'

00:00:03.176283 Power up failed (vrc=VERR_VD_IMAGE_READ_ONLY, rc=E_FAIL (0X80004005))

00:00:03.676374 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600

00:00:03.676398 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={The console is not powered up}, preserve=false aResultDetail=0

00:00:03.676546 GUI: Aborting startup due to power up progress issue detected...

oracle
virtualbox
vhd
oraclevm

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0