segunda-feira, junho 17, 2013

How to enable raw disk access for VMWare Workstation on Windows 8

If you are trying to run a virtual machine from a physical disk on VMWare Workstation, chances are you will be denied raw disk access with an error message.

The only way I managed to allow VMWare to access the raw partition was to use diskpart.

diskpart is a command-line app which requires administrator privileges.

You will be better off if you take is slow and read diskpart documentation, as it can wipe out your disk partition table. Keep your backups up-to-date. You've been warned.

The process was this:

Start a command line, then type 'diskpart' and press enter.

If you run diskpart from a command line without administrator privileges, you will be prompted for the admin password, and diskpart will run on a separate window.

type 'list disk' and press enter. You should see all disks and will be able to verify which one you want to enable raw disk access.

use the command 'select disk N' where N is the number of the disk.

use the command 'offline' to keep windows disk management's grubby hands out of it.

use the command 'attributes disk clear readonly' to allow the disk to be written to.

And voilá, that should do it. YMMV.

Nenhum comentário: