Raw disk/partition support?
Posted: 10. Sep 2007, 00:39
First off thanks for the great product! I've read the documentation but am not sure whether raw disks are supported on an OS X host. Here's the error I encounter:
Since I'm not getting an outright "not supported" error, I figured there might be support. I've also tried with an external firewire disk that wasn't currently mounted which resulted in the same error code.
-Ojas
Code: Select all
[dbook: /Users/ojas]$ diskutil list /dev/disk0
#: type name size identifier
0: GUID_partition_scheme *55.9 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS Macintosh HD 47.0 GB disk0s2
3: Microsoft Basic Data Untitled 8.6 GB disk0s3
/dev/disk1
#: type name size identifier
0: Apple_partition_scheme *55.6 GB disk1
1: Apple_partition_map 31.5 KB disk1s1
2: Apple_HFS ojas 55.6 GB disk1s2
[dbook: /Users/ojas]$ sudo VBoxManage internalcommands createrawvmdk -filename /tmp/raw.vmdk -rawdisk /dev/rdisk0
VirtualBox Command Line Management Interface Version 1.4.1-beta2
(C) 2005-2007 innotek GmbH
All rights reserved.
Error while creating the raw disk VMDK: VERR_INVALID_PARAMETER
[dbook: /Users/ojas]$ sudo VBoxManage internalcommands createrawvmdk -filename /tmp/raw.vmdk -rawdisk /dev/disk0
VirtualBox Command Line Management Interface Version 1.4.1-beta2
(C) 2005-2007 innotek GmbH
All rights reserved.
Error while creating the raw disk VMDK: VERR_INVALID_PARAMETER
[dbook: /Users/ojas]$
-Ojas