Skip to main content

VirtualBox VERR_ACCESS_DENIED [Resolved]

I am trying to install Windows 10 on a partition with this Virtualbox method, where I create a vmdk link to the partition and use it as the drive, run the installer and then reboot.

This worked fine on a device running Mavericks, but on one with El Capitan does not work, and prints out a VERR_ACCESS_DENIED

VBoxManage internalcommands createrawvmdk -filename ~/RawWinDisk.vmdk -rawdisk /dev/disk0 -partitions 1,4

This is supposed to make the vmdk file. I did do a chown to /dev/disk0, disk0s1 and disk0s4. I also tried a chmod -R 777 on them to see if it helped, but it still did not work. Running command as sudo does not work either.


Asked November 28, 2015
Posted Under: Apple
445 views
1 Answers

I think you may be hitting El Capitan's System Integrity Protection [SIP] which is preventing access..

Borrowed from How do I disable System Integrity Protection (SIP) AKA "rootless" on OS X 10.11, El Capitan? ...

Apple's documentation covers disabling SIP, About System Integrity Protection on your Mac.

An article on lifehacker.com lists these steps:

  1. Reboot your Mac into Recovery Mode by restarting your computer and holding down Command+R until the Apple logo appears on your screen.
  2. Click Utilities > Terminal.
  3. In the Terminal window, type in csrutil disable and press Enter.
  4. Restart your Mac.

Answered November 28, 2015
Your Answer