I got this working by running virtualbox as root:
sudo virtualbox
This gave me a new virtualbox instance but none of my machines were present, I simply had to browse to where my virutal box machines are stored and add in the one I needed and then it allowed me to add the new VMDK image without problem. Booted and could see the real disk like it was installed in the VM!
Using a physical drive on a virtual machine
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Using a physical drive on a virtual machine
On many Linux distributions it should be enough to add your normal user to the "disk" group instead of running Vbox as root.
-
- Posts: 3
- Joined: 5. Oct 2010, 10:23
- Primary OS: Linux other
- VBox Version: PUEL
- Guest OSses: Windows XP, Open Solaris
Re: Using a physical drive on a virtual machine
Did you add the "vboxuser" to your username group?
Re: Using a physical drive on a virtual machine
It seems that your user account also needs to be part of the disk group member:
sudo usermod -a -G disk
sudo usermod -a -G disk