I have a few VMs that are stored in the user folder in my Windows10 installation. I have dual boot.
I can run them from Linux only if I start VB as root. Otherwise, permission is denied. Is there a solution, or do I need to run VB always as root in order to use these VMs?
Guest stored on Windows partition
-
multiOS
- Volunteer
- Posts: 1223
- Joined: 14. Sep 2019, 16:51
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux, BSD
- Location: United Kingdom
Re: Guest stored on Windows partition
I believe one answer is to do the same as you would if you wanted to use the same 'user data structure' between two bootable OSs. There are quite a few step-by-step guides on line so I suggest googling "Create a Shared Storage Drive For Dual-Boot Systems" and take your pick.
Once set up you should be able to move all of your VMs, using the VirtualBox Manager, to a new 'VirtualBox VMs' Folder in the new structure. and you can also change that to the Default VM Location in both Windows and Linux. I would also make sure that the same version of VirtualBox is installed on both Windows and Linux installations to avoid any compatibility problems
I do something similar but without the partitioning complexity by running some 'shared' VMs from an external SSD which can also be moved to a different physical PC when necessary.
Once set up you should be able to move all of your VMs, using the VirtualBox Manager, to a new 'VirtualBox VMs' Folder in the new structure. and you can also change that to the Default VM Location in both Windows and Linux. I would also make sure that the same version of VirtualBox is installed on both Windows and Linux installations to avoid any compatibility problems
I do something similar but without the partitioning complexity by running some 'shared' VMs from an external SSD which can also be moved to a different physical PC when necessary.