Raw disk/partition support?

Discussions related to using VirtualBox on Mac OS X hosts.

Raw disk/partition support?

Postby ojasparekh » 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:

Code: Select all   Expand viewCollapse view
[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
ojasparekh
 
Posts: 1
Joined: 10. Sep 2007, 00:26

Postby axet » 7. Nov 2007, 18:02

I looking for solution too, any suggestions?
axet
Volunteer
 
Posts: 93
Joined: 3. Sep 2007, 23:20

Postby ribes » 4. Dec 2007, 19:30

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

Help please.
ribes
 
Posts: 6
Joined: 3. Oct 2007, 02:46

Postby Deever » 30. Mar 2008, 03:16

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

Greetings,
/dev
Deever
 
Posts: 1
Joined: 30. Mar 2008, 03:13

Postby danilop » 31. Mar 2008, 15:23

I found this issue, too.
Is the raw disk/partition feature in the Mac beta, or not?
Thanks!
danilop
 
Posts: 1
Joined: 31. Mar 2008, 15:17

Postby billmc » 3. Apr 2008, 03:56

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.
billmc
 
Posts: 4
Joined: 3. Apr 2008, 03:45

Postby Aliby » 3. Apr 2008, 06:48

VirtualBox 1.5.6
Host: Windows XP
Guest: UbuntuStudio 7.10 / Windows XP
Aliby
 
Posts: 24
Joined: 16. Jul 2007, 10:33
Location: Midrand, South Africa

Postby m@riposa » 3. Apr 2008, 20:58

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.
m@riposa
Volunteer
 
Posts: 137
Joined: 29. Nov 2007, 00:11

Postby djef » 24. Feb 2009, 08:23

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.
djef
 
Posts: 1
Joined: 24. Feb 2009, 08:18


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: Google [Bot] and 10 guests