Raw disk/partition support?

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
ojasparekh
Posts: 1
Joined: 10. Sep 2007, 00:26

Raw disk/partition support?

Post by ojasparekh »

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:

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]$
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
axet
Volunteer
Posts: 93
Joined: 3. Sep 2007, 23:20

Post by axet »

I looking for solution too, any suggestions?
ribes
Posts: 6
Joined: 3. Oct 2007, 02:46

Post by ribes »

Bump. Tearing my hair out on this one too. I bought a larger HD for my mac mini to do this!

Help please.
Deever
Posts: 1
Joined: 30. Mar 2008, 03:13

Post by Deever »

As it seems to me, the problem still exists...
Please help!

Greetings,
/dev
danilop
Posts: 1
Joined: 31. Mar 2008, 15:17

Post by danilop »

I found this issue, too.
Is the raw disk/partition feature in the Mac beta, or not?
Thanks!
billmc
Posts: 4
Joined: 3. Apr 2008, 03:45

Post by billmc »

Folks, I've never used a MAC so I'm not familiar with the OS, but seeing it is -nix based, this might apply. I'm a Linux user. In Linux, in order for the user to be able to access the disk, that user must belong to the group disk.

The command to do this in Linux is (as root ) usermod -a -G disk username

Hope this helps.
Aliby
Posts: 24
Joined: 16. Jul 2007, 10:33
Location: Midrand, South Africa

Post by Aliby »

VirtualBox 1.5.6
Host: Windows XP
Guest: UbuntuStudio 7.10 / Windows XP
m@riposa
Volunteer
Posts: 137
Joined: 29. Nov 2007, 00:11

Post by m@riposa »

If you read the introduction text of the mpkg-file for OS X, you will find that raw disk access is among the features which are currently not yet available in the Mac Beta.
djef
Posts: 1
Joined: 24. Feb 2009, 08:18

Post by djef »

Did this ever get fixed for Mac OS 10.5.x yet? I'm (trying to be) using VirtualBox 2.1.2. VBoxManager seems not to be able to see any of the partitions of my drives, just the GUID_partition_scheme.
Post Reply