Mounting an SD card

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
jnojr
Posts: 28
Joined: 5. Jul 2013, 20:25
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: CentOS 6.5

Mounting an SD card

Post by jnojr »

I have an SD card that contains a Linux install to run a printer. It's going into a secure lab, and so must be virus-scanned first. Yes, it's stupid, but dem's da rules. Because it's a Linux filesystem, my Mac can't read it, so I decided to mount it to a Linux VM. I used

Code: Select all

sudo VBoxManage internalcommands createrawvmdk -filename VirtualBox\ VMs/Debian/xerox.vmdk -rawdisk /dev/disk3
and chowned the resulting xerox.vmdk file to me so I could read it. I grabbed the UUID, created an entry in the .vbox file, and tried to add it to the VM, but am getting

Code: Select all

Failed to open the hard disk /Users/jnojr/VirtualBox VMs/Debian/xerox.vmdk.

Permission problem accessing the file for the medium '/Users/joliver/VirtualBox VMs/Debian/xerox.vmdk' (VERR_ACCESS_DENIED).

Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}
Callee: IVirtualBox {3b2f08eb-b810-4715-bee0-bb06b9880ad2}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Any suggestions appreciated!
Post Reply