Steps so far:
1) diskutil list
Code: Select all
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 1.0 TB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_CoreStorage Macintosh HD 934.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 65.2 GB disk0s4
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +934.0 GB disk1
Logical Volume on disk0s2
CFB70156-7DA6-4013-BBF9------------------
Unlocked Encrypted
3) sudo chmod 777 /dev/disk0s1
4) sudo chmod 777 /dev/disk0s4
5) sudo VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename win10raw.vmdk -partitions 1,4
I tried to disable csrutil and this had no effect, I tried this both on the latest ver 5.1 and 5.0 of virtualbox.VBoxManage: error: Cannot read the partition information from '/dev/disk0'
VBoxManage: error: The raw disk vmdk file was not created
I have been unable to find a fix via google or searching this forum but I think it has something to do with the way VBoxManage interacts with /dev/disk0. The command
sudo VBoxManage internalcommands listpartitions -rawdisk /dev/disk0
returns nothing, even though the diskutil command returns my disk information no problem. Is this a bug in VBoxManage internalcommands? Or is it because of the way my 2016 MacBook Pro SSD is setup? I do have FileVault enabled. I appreciate any and all inputs.Number Type StartCHS EndCHS Size (MiB) Start (Sect)
-Jonathan